[asterisk-bugs] [Mantis 0012632]: Mantis sends email with invalid envelope sender

noreply at bugs.digium.com noreply at bugs.digium.com
Tue May 13 12:09:06 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12632 
====================================================================== 
Reported By:                lmamane
Assigned To:                bbryant
====================================================================== 
Project:                    Mantis
Issue ID:                   12632
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             05-12-2008 17:42 CDT
Last Modified:              05-13-2008 12:09 CDT
====================================================================== 
Summary:                    Mantis sends email with invalid envelope sender
Description: 
Email sent by Mantis, e.g. because a user is monitoring a bug, comes with
(at the SMTP envelope level) sender apache at carolina.digium.com, which is
not a valid email address (no MX entry for the domain and no SMTP server
listening on this address). Some email systems refuse mail with a sender
that does not take mail back (verification through callback).

Please use a valid sender. It can be empty, for example. Or
bugs at digium.com, like it was in early 2007.
====================================================================== 

---------------------------------------------------------------------- 
 lmamane - 05-13-08 12:09  
---------------------------------------------------------------------- 
No, still not. The SMTP sender is still apache at carolina.digium.com, the
"From" header is noreply-bugs at digium.com. The headers show that
carolina.digium.com uses Exim as its mailer. Here is (adapted) what I did
on one of my servers to address a similar problem:

untrusted_set_sender = ${if eq {${sender_ident}}{apache}
{noreply-bugs at digium.com}{}}

in the "main" (first) section of the configuration file.

This allows the "apache" UNIX user to send mail with an SMTP sender of
noreply-bugs at digium.com, for example by using the "-f" command-line option.
Exim will still add a header "Sender: apache at carolina.digium.com", that is
good and well and should (in my opinion) not be disabled. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-13-08 12:09  lmamane        Note Added: 0086790                          
======================================================================




More information about the asterisk-bugs mailing list