MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: Email error:R=defer_router defer (-1): All deliveries are handled by MailScanner  (Read 3541 times)

0 Members and 1 Guest are viewing this topic.

Offline Manish

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
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  :)
   
« Last Edit: June 18, 2016, 04:45:03 PM by Manish »

MilesWeb Hosting Forum