Menu

#220 email alerts broken w/ remote SMTP server

BASE
closed-fixed
Interface (166)
5
2009-11-20
2009-07-21
Anonymous
No

Setting $action_email_smtp_host to a remote host & sending an alert to a user generates the following error message in $action_email_smtp_host 's mailserver logs. As you can see, the PEAR Mail factory is connecting and identifying itself as "localhost" which is invalid in this configuration.

Jul 20 13:13:43 mail postfix/smtpd[65228]: NOQUEUE: reject: RCPT from base.machine.local.domain[10.1.2.3]: 554 5.7.1 <localhost>: Helo command rejected: SEE RFC2821 SECTION 3.6; from=<action_email_from@local.domain> to=<user@remote.domain> proto=ESMTP helo=<localhost>

I've attached a diff that fixes the issue in my environment, including a config option, with documentation that gets passed down into sent_email in much the same way as the other action_email_smtp options.

Discussion

  • Nobody/Anonymous

    Proposed fix - 'diff -rc base-1.4.3.1 base-1.4.3.1_FIX/'

     
  • Juergen Leising

    Juergen Leising - 2009-07-30

    Hello,

    I have applied your patch. It seems to work. I have also added a file docs/README.email_quirks that contains some hints about how to configure the email feature.

    If anybody has some ideas what else could be noted about email, proposals are welcome.

    Thank you very much for reporting and for your patch.

    Bye, bye

    Juergen

     
  • Randal Rioux

    Randal Rioux - 2009-11-20

    Looks like Juergen applied this patch in July. Closing ticket.

     
  • Randal Rioux

    Randal Rioux - 2009-11-20
    • assigned_to: nobody --> rrioux
    • status: open --> closed-fixed