Jump to content

Openemm Change Queuelifetime: Difference between revisions

From TetraWiki
 
Line 7: Line 7:
  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