Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    May 2006
    Location
    Johannesburg, South Africa
    Posts
    881

    Default how to tell Exim to resend emails due to greylisting on other server?

    Hi All,

    Another ISP who many of our clients send email to their clients has implemented greylisting and now a lot of mail from our servers to their server(s) gets dropped.

    Is there a way to tell cPanel / Exim to resend an email which was dropped due to greylisting on the other server?
    • cPanel :: Fantastico :: RVSkin :: WHM :: ModernBill
    • Reseller Hosting :: SSL Certificates :: Domain Registrations :: Affiliate Program
    • Blog Hosting :: CMS Hosting :: Forum Hosting :: E-Commerce Hosting
    SoftDux- The Leaders in Software
    Use the coupon: cpanel-06 to get 20% off our packages

  2. #2
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,554
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by SoftDux View Post
    Hi All,

    Another ISP who many of our clients send email to their clients has implemented greylisting and now a lot of mail from our servers to their server(s) gets dropped.

    Is there a way to tell cPanel / Exim to resend an email which was dropped due to greylisting on the other server?
    My understanding is that Exim will keep the message in queue and should automatically retry delivery at a later time.

    Have you checked the Exim mail queue to see if the messages exist there?

    Reference menu path and documentation: WHM: Main >> Email >> Mail Queue Manager

  3. #3
    Member
    Join Date
    May 2006
    Location
    Johannesburg, South Africa
    Posts
    881

    Default

    Quote Originally Posted by cPanelDon View Post
    My understanding is that Exim will keep the message in queue and should automatically retry delivery at a later time.

    Have you checked the Exim mail queue to see if the messages exist there?
    It's not there now, and by the time I got the support ticket from this client it wasn't there either.

    The logs show me this:

    Code:
    root@mercury:[~]$ grep linhof@x.x.x /var/log/exim_*
    /var/log/exim_mainlog:2010-09-06 16:26:01 1Oscdv-000522-Rv == linhof@x.x.x R=lookuphost T=remote_smtp defer (-44): SMTP error from remote mail server after RCPT TO:<linhof@x.x.x> <mailto:linhof@x.x.x> : host mx-mweb.smp.x.x.x [196.x.x.x]: 451 Temporary Policy Rejection - Please try later
    /var/log/exim_mainlog:2010-09-06 16:50:00 1Oscdv-000522-Rv => linhof@x.x.x R=lookuphost T=remote_smtp H=mx-mweb.smp.x.x.x [196.x.x.x]
    But I don't see anywhere that it retries(d) the sending

    How / where do I verify that Exim is setup to resend the email?
    Last edited by cPanelDon; 09-09-2010 at 02:57 PM. Reason: s/QUOTE/CODE/g
    • cPanel :: Fantastico :: RVSkin :: WHM :: ModernBill
    • Reseller Hosting :: SSL Certificates :: Domain Registrations :: Affiliate Program
    • Blog Hosting :: CMS Hosting :: Forum Hosting :: E-Commerce Hosting
    SoftDux- The Leaders in Software
    Use the coupon: cpanel-06 to get 20% off our packages

  4. #4
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,554
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by SoftDux View Post
    It's not there now, and by the time I got the support ticket from this client it wasn't there either.

    The logs show me this:

    Code:
    root@mercury:[~]$ grep linhof@x.x.x /var/log/exim_*
    /var/log/exim_mainlog:2010-09-06 16:26:01 1Oscdv-000522-Rv == linhof@x.x.x R=lookuphost T=remote_smtp defer (-44): SMTP error from remote mail server after RCPT TO:<linhof@x.x.x> <mailto:linhof@x.x.x> : host mx-mweb.smp.x.x.x [196.x.x.x]: 451 Temporary Policy Rejection - Please try later
    /var/log/exim_mainlog:2010-09-06 16:50:00 1Oscdv-000522-Rv => linhof@x.x.x R=lookuphost T=remote_smtp H=mx-mweb.smp.x.x.x [196.x.x.x]
    But I don't see anywhere that it retries(d) the sending

    How / where do I verify that Exim is setup to resend the email?
    I would try using "exigrep" to locate all available log detail from Exim; "exigrep" should output detail of all log messages that are related to a given message ID, including if the message was queued or if delivery was reattempted later.

    In the following examples please ensure to replace "$MessageID" with the actual message ID, such as "1Oscdv-000522-Rv":
    • For RHEL/CentOS Linux:
      Code:
      # exigrep -I -l $MessageID /var/log/exim_*
    • For FreeBSD:
      Code:
      # exigrep -I -l $MessageID /var/log/exim/*

  5. #5
    Registered User
    Join Date
    Aug 2011
    Posts
    4

    Default Re: how to tell Exim to resend emails due to greylisting on other server?

    Not coping with greylisting on outgoing mail seems to be a common problem on cPanel systems with multiple-CPUs. There are also threads at http://forums.cpanel.net/f5/retry-em...tml#post534081 and a long unresolved one at http://forums.cpanel.net/f5/your-use...hoo-59708.html.

    Quote Originally Posted by SoftDux View Post
    It's not there now, and by the time I got the support ticket from this client it wasn't there either.

    [...]

    But I don't see anywhere that it retries(d) the sending

    How / where do I verify that Exim is setup to resend the email?
    Firstly, try running "exim -brt yahoo.co.uk". It should return the relevant retry configuration, typically showing Fixed retry intervals for the first 2 hours, then Geometric, and then Fixed again for up to 4 days. If not, it's possible some exim configuration files have been removed.

    Secondly, if that's OK, what's the usual load on the server? More than 3? If so, Exim's queue runner may be aborting because of cPanel's default deliver_queue_load_max = 3 (the Exim default is unset). To fix that, please see the thread at http://forums.cpanel.net/f5/exim-con...elp-34796.html or Exim and greylisting | GreenNet. Go to "WHM" > "Exim Configuration Editor" > "Advanced Mode" and insert "deliver_queue_load_max = 20" (you might want to modify it according to load or 5*nCPU on your system).

Similar Threads & Tags
Similar threads

  1. My Exim greylisting solution
    By tprice42 in forum E-mail Discussions
    Replies: 41
    Last Post: 06-22-2011, 06:07 PM
  2. cant delete Inbox on Horde due to so many emails there
    By flowpena in forum E-mail Discussions
    Replies: 0
    Last Post: 10-04-2010, 11:36 PM
  3. Exim queue runner and retry times - greylisting
    By internetfab in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-27-2008, 09:02 AM
  4. cPanel/Exim dealing with other servers that implement greylisting
    By ichthus in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 03-04-2006, 08:15 PM
  5. Command to resend exim mail queue
    By bibink in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-25-2005, 05:27 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube