Jump to content

Openemm Change Queuelifetime: Difference between revisions

From TetraWiki
 
(2 intermediate revisions by the same user not shown)
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
[[Category:Openemm]]

Latest revision as of 08:43, 11 September 2012

Change queue lifetime[edit]

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