Skip to Navigation

Chapter 7. Sending/Receiving emails

7.1. Sending emails

7.1.1. Via Sendmail (default)

OTRS can send out emails via Sendmail (e.g. Sendmail, Postfix, Qmail or Exim). The default configuration to use Sendmail should work out of the box.

You can configure the sendmail settings via the graphical configuration frontend (Framework::Core::Sendmail) or via Kernel/Config.pm:


    # SendmailModule
    # (Where is sendmail located and some options.
    # See 'man sendmail' for details.)
    $Self->{'SendmailModule'} = 'Kernel::System::Email::Sendmail';
    $Self->{'SendmailModule::CMD'} = '/usr/sbin/sendmail -t -i -f ';

7.1.2. Via SMTP relay/smarthost

OTRS can send emails via SMTP ( Simple Mail Transfer Protocol / RFC 821). These settings will be needed generally on non-unix platforms (e.g. win32).

The sendmail settings for a smarthost can be configured either via the graphical administration frontend (Framework::Core::Sendmail) or via Kernel/Config.pm:


    # SendmailModule
    $Self->{"SendmailModule"} = "Kernel::System::Email::SMTP";
    $Self->{"SendmailModule::Host"} = "mail.example.com";
    $Self->{"SendmailModule::AuthUser"} = "";
    $Self->{"SendmailModule::AuthPassword"} = "";