I would like to suggest that mailbot support additional command line options for delivery status notifications. I suggest "-a action" sets the action field and "-S status" sets the status field, so for example one could return DSNs signifying that the message was undeliverable like this:
mailbot -m dsn_template -M $TO -A 'From: $TO' -a failed -S 5.3.0 /usr/local/bin/sendmail -f '$TO'
Justification:
For more than a year now I have been giving everybody a different email address and using maildrop to filter all the addresses that start receiving spam into another folder. Now I get so much spam I don't carefully read the subjects in that folder, so I thought it was wise to send DSNs to those sending messages to a blocked address telling them to resend the message to a valid address. Currently, I do this with mailbot, but it says the message was delivered, which is not the message I want to convey.
This is tangentially related to the above, but is there anyway I can send a message with an empty FROM envelope header, i.e. using (mailbot /usr/local/bin/sendmail -f '')? when I do this, courier rejects my message, saying "550 relaying mail to <domain I'm sending to> is not allowed". I can send mail from localhost with any forged FROM envelope header from any real domain. So I thought it might have something to do with DNS lookups. But I tried disabling all of those to no avail. Any pointers?
-- \\ Devin Bayer <[EMAIL PROTECTED]>
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
