procmail
[Top] [All Lists]

Re: bouncing emails

2004-10-08 03:03:43
Hello:
        In case anybody uses this, I just noticed there is an error, the e-mail 
address was not being included in the Diagnostic Code line of the 
message/delivery-status:

<!SNIP!>

               printf "\n--%s\nContent-Type: message/delivery-status\n\n" 
"${MIMEBREAK}";\
               printf "Reporting-MTA: dns; %s\n" "${MYHOST}";\
               printf "Received-From-MTA: DNS; %s\n" "${MSGMX}";\
               printf "Arrival-Date: %s\n\n" "${MSGDATE}";\
               printf "Final-Recipient: RFC822; %s\n" "${MSGTO}";\
               printf "Action: failed\nStatus: 5.1.1\n";\
               printf "Diagnostic-Code: SMTP; 550 unknown user <%s>\n";\

It should be:
        printf "Diagnostic-Code: SMTP; 550 unknown user <%s>\n" "${MSGTO}";\

(Notice the ${MSGTO} as the second argument to printf().)

        -dZ.

-- 
:[ DZ vs. THE WORLD]==- -- -  -

Hating anything, everything and everyone since 1996.
-- 



____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>