Email error:R=defer_router defer (-1): All deliveries are handled by MailScanner

Started by Manish, June 18, 2016, 11:05:19 AM

Previous topic - Next topic

Manish

Hello,

If you face issue with emails getting stucked in mail queue on cpanel server and receive error "All deliveries are handled by MailScanner" when you run mail queue manually then there is issue with the MailScanner installed on the server.

Following steps will fix the Mailscanner issue and can be run in SSH at any time without harm:


       
  • /scripts/buildeximconf
  • service exim restart
  • /usr/mscpanel/mscheck.pl
When you run above commands on the server result should be as below.


Quote[root@~]# /scripts/buildeximconf
Configuration file passes test!  New configuration file was installed.
/etc/exim.pl.local installed!
SPF is disabled in exim or unavailable, enabling SPF for SpamAssassin
Mail Scanner exim.conf updating...`/etc/exim.conf' -> `/etc/exim_outgoing.conf'
Done
Refreshing SMTP Mail protection.
SMTP Mail protection has been disabled.  All users may make outbound smtp connections.


Quote[root@~]# service exim restart
Shutting down exim:                                        [  OK  ]
Shutting down spamd:                                       [  OK  ]
Starting exim:                                             [  OK  ]
Starting exim-outgoing:                                    [  OK  ]
Starting spamd:                                            [  OK  ]


Quote[root@~]#/usr/mscpanel/mscheck.pl
Generating exim split spool directories...
Updating MailScanner.conf with sensible values...
Shutting down MailScanner daemons:
         MailScanner:
         Waiting for MailScanner to stop..
Starting MailScanner daemons: OK


Once you done this your emails should be working fine.

That's All  :)