Jump to content

Openemm Change Queuelifetime: Difference between revisions

From TetraWiki
Line 3: Line 3:
If mails are not flowing, check mail logs. If the majority mails are getting deferred, then reduce the queue lifetime.
If mails are not flowing, check mail logs. If the majority mails are getting deferred, then reduce the queue lifetime.


===Add 'OTimeout' at the end===
'''Add 'OTimeout' at the end'''


  vim /home/openemm/bin/mailer.sh - (line 60)
  vim /home/openemm/bin/mailer.sh - (line 60)
  $sm -q1m -NNEVER -OQueueDirectory=$BASE/var/spool/QUEUE -OPidFile=$run/sendmail-openemm-queue.pid -OTimeout.queuereturn=360m
  $sm -q1m -NNEVER -OQueueDirectory=$BASE/var/spool/QUEUE -OPidFile=$run/sendmail-openemm-queue.pid -OTimeout.queuereturn=360m

Revision as of 08:40, 11 September 2012

Change queue lifetime

If mails are not flowing, check mail logs. If the majority mails are getting deferred, then reduce the queue lifetime.

Add 'OTimeout' at the end

vim /home/openemm/bin/mailer.sh - (line 60)
$sm -q1m -NNEVER -OQueueDirectory=$BASE/var/spool/QUEUE -OPidFile=$run/sendmail-openemm-queue.pid -OTimeout.queuereturn=360m