The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SpamAssassin Delays Sending Email

Discussion in 'E-mail Discussions' started by epanagio, Nov 13, 2016.

Tags:
  1. epanagio

    epanagio Well-Known Member

    Joined:
    May 26, 2012
    Messages:
    50
    Likes Received:
    1
    Trophy Points:
    58
    cPanel Access Level:
    Website Owner
    I am sending emails using php and there is a delay in the sending of the emails. The form "hangs" for about 20 seconds and then it sends the email. If I disable SpamAssassin, poof! the emails get delivered immediately.

    In the SpamAssassin configuration I added the domain name and user ID of the sender and the return path but it hasn't helped.

    Any suggestions?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,029
    Likes Received:
    1,277
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    This is by design if your hosting provider has enabled outbound SpamAssassin filtering. As of cPanel version 58, the system now performs spam filter scans in the background for email that a user or script pipes to sendmail or Exim. This prevents PHP timeouts when a script sends mail.

    Thank you.
     
Loading...

Share This Page