[otrs] Outbound email queue

972 views
Skip to first unread message

John Meyer

unread,
Feb 12, 2016, 5:38:48 PM2/12/16
to ot...@otrs.org
Hello,

I am using OTRS with SMTPTLS to send all email to an outbound mail relay (postfix) and this is working perfectly. However, I am unable to locate where the logs are being stored.

Also, if by some chance my outbound relay isn’t operating as expected, OTRS does not appear to be queueing the emails the way I would expect (like postfix does).

What is OTRS using to send mail? Can I make it use postfix? OS is Debian.

--
John
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

David Boyes

unread,
Feb 12, 2016, 7:13:26 PM2/12/16
to User questions and discussions about OTRS.


I am using OTRS with SMTPTLS to send all email to an outbound mail relay (postfix) and this is working perfectly.  However, I am unable to locate where the logs are being stored.

Normally, /var/log/mail, or wherever syslog puts the mail.* entries. See /etc/syslog.conf.

Also, if by some chance my outbound relay isn’t operating as expected, OTRS does not appear to be queueing the emails the way I would expect (like postfix does).

Working as designed. A MTA does queuing, not the application.


What is OTRS using to send mail?  Can I make it use postfix?  OS is Debian.

Consider using something a little less weird than postfix (exim comes to mind) but yes, that's the desired setup. 





John Meyer

unread,
Feb 12, 2016, 7:30:38 PM2/12/16
to ot...@otrs.org
Postfix and I usually get along very well, I'd like to continue using it if at all possible.


If I send an email from the command line, such as "echo test | mail em...@address.com<mailto:%20e...@address.com>" that email is sent by postfix and is seen in /var/log/mail.log, however no emails from OTRS are logged here; but they do go through the mail relay. The question is, how is OTRS sending the mail?


If I remove the sendmail settings from the OTRS web interface will it then simply send via the configured MTA, Postfix?


Thanks,

John Meyer


------ Original message------

From: David Boyes

Date: Fri, Feb 12, 2016 7:14 PM

To: User questions and discussions about OTRS.;

Subject:Re: [otrs] Outbound email queue
______________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r).
For Information please see http://www.spammertrap.com/
______________________________________________________________________

John Meyer

unread,
Feb 12, 2016, 8:01:09 PM2/12/16
to ot...@otrs.org
Verified. Instead of using SMTPTLS in sendmail settings page, I just used “sendmail”. This now works exactly as expected, which is:

1. All outgoing emails are sent to mail relay via postfix

2. All outgoing emails are logged in /var/log/mail.log

3. If mail relay is inoperable, emails queue via postfix

It is still a mystery to me how the mails are being sent when SMTPTLS is in use. Either way, just using the system’s configured MTA is preferable.

Thanks anyone who read.

--
John

From: John Meyer<mailto:John....@secnap.com>
Sent: Friday, February 12, 2016 7:30 PM
To: ot...@otrs.org<mailto:ot...@otrs.org>
Subject: Re: [otrs] Outbound email queue


Postfix and I usually get along very well, I'd like to continue using it if at all possible.


If I send an email from the command line, such as "echo test | mail em...@address.com<mailto:%20e...@address.com>" that email is sent by postfix and is seen in /var/log/mail.log, however no emails from OTRS are logged here; but they do go through the mail relay. The question is, how is OTRS sending the mail?


If I remove the sendmail settings from the OTRS web interface will it then simply send via the configured MTA, Postfix?


Thanks,

John Meyer


------ Original message------

From: David Boyes

Date: Fri, Feb 12, 2016 7:14 PM

To: User questions and discussions about OTRS.;

Subject:Re: [otrs] Outbound email queue



I am using OTRS with SMTPTLS to send all email to an outbound mail relay (postfix) and this is working perfectly. However, I am unable to locate where the logs are being stored.

Normally, /var/log/mail, or wherever syslog puts the mail.* entries. See /etc/syslog.conf.

Also, if by some chance my outbound relay isn’t operating as expected, OTRS does not appear to be queueing the emails the way I would expect (like postfix does).

Working as designed. A MTA does queuing, not the application.


What is OTRS using to send mail? Can I make it use postfix? OS is Debian.

Consider using something a little less weird than postfix (exim comes to mind) but yes, that's the desired setup.

See https://otrs.github.io/doc/manual/admin/3.2/en/html/email-settings.html for details for at least one version.




David Boyes

unread,
Feb 12, 2016, 8:12:30 PM2/12/16
to User questions and discussions about OTRS.
On Feb 12, 2016, at 7:30 PM, John Meyer <John....@secnap.com> wrote:
> Postfix and I usually get along very well, I'd like to continue using it if at all possible.

It has its quirks for very large configurations, but if it works for you, go for it.

> If I remove the sendmail settings from the OTRS web interface will it then simply send via the configured MTA, Postfix?

Yes. Every UNIX mail system emulates the Berkeley sendmail conventions for compatibility.

David Boyes

unread,
Feb 12, 2016, 8:16:12 PM2/12/16
to User questions and discussions about OTRS.


> On Feb 12, 2016, at 8:00 PM, John Meyer <John....@secnap.com> wrote:
> It is still a mystery to me how the mails are being sent when SMTPTLS is in use. Either way, just using the system’s configured MTA is preferable.

Directly connect to the SMTPTLS port and build the protocol stream directly. It's mostly there for Windows installs where there is no system-wide MTA.
Reply all
Reply to author
Forward
0 new messages