Hi, 

Last week I posted an initial version of this message through SecurePoint (one of the 
qmail list archives). However the post (nor any reply) doesn't appear in the main 
archive. So I suppose that it's lost. Excuseme if you have received it previously.

Qmail use the address #@[] as the envelope sender address for double bounces. The 
messages with this 
sender address are rejected by Microsoft Exchange IMS with this error (from qmail 
logs): 

Connected_to_NNN.NNN.NNN.NNN_but_sender_was_rejected.
/Remote_host_said:_553_malformed_address:_<#@[]>/ 

I have read the RFC821 (SMTP) and it seems to me that this address is ilegal. I quote 
an excerpt from the
address syntax (in BNF notation): 

 <mailbox> ::= <local-part> "@" <domain>
 <domain>  ::= <element> | <element> "." <domain>
 <element> ::= <name> | "#" <number> | "[" <dotnum> "]"
 <dotnum>  ::= <snum> "." <snum> "." <snum> "." <snum>
 <snum>    ::= one, two, or three digits representing a
               decimal integer value in the range 0 
               through 255

So I think that between square brackets MUST be a IP address and null string is 
invalid. Is it correct?

Since double bounces are "internal" notifications (from MTA to mail manager), should I 
change the sender address for double bounces in source code? Is there another 
recommended address for this use? Could I use the empty address as with simple 
bounces? 

Furthermore I tried another solution. I forward double bounces but changing the 
envelope sender with this .qmail file:

| qmail-inject -f"<>" postmaster@exchange-server

However, if this forwarding fails, this configuration could produce a mail loop. Any 
suggestions?

Thanks in advance for your help, 

    David Jorrin.

PD: I will be grateful if you would send me a copy of your replies to my address.

= = =

David Jorrin <[EMAIL PROTECTED]>>

----------------------------------------------------------------
Get your free email from AltaVista at http://altavista.iname.com

Reply via email to