Sam wrote:
>You need to specify your email address with the -M option, when using replydsn.

Thanks Sam - now I understand - now that I see what it looks like I will stick 
with reply :-) my original thought was that by sending in dsn format I might 
avoid bounces - but it's not as human readable so I'll stick with the default 
reply.

Thank you again Sam, for the help and the mail system! 

Cheers,

Mitch.


To any other readers: 

I made one more set of revisions... reading 
http://tools.ietf.org/html/rfc2076#section-3.5 I found that Errors-To is 
"Non-standard, discouraged."

Return-Path: seems to be the way to go

http://tools.ietf.org/html/rfc4021#section-2.1.22 notes it should be an address 
enclosed in <>

As this is for autoreplies, I want to do what I can to avoid a bounce war. My 
maildrop watches for my X-Loop header (and aborts if it's there) just in case 
the Return-Path isn't respected.

After reading, I will change to

Return-Path: <nobody@nowhere>

If this is wrong I guess I could make the domain the real user name, and ensure 
every user-domain as a nobody alias to deliver the mail to null. But unless you 
say that's important ?

If that's not required though I think this is it.

Here's my current script, called as noted in my earlier summation.

Happy Vacationing.

#!/bin/sh
#this is called from maildroprc
#The -D 1 means one reply per day.
#The -d sets the location of the DB to store email addresses and dates 
#Adding "X-Auto-Response-Suppress: All" should stop any auto response from MS 
Exchange
#Adding "Precedence: junk" although non-standard should be harmless and may 
reduce auto-responses
$MAILBOT -N -D 1 -d $Maildir/BB-autoreply -t $Maildir/BB-autoreply.txt -A"From: 
$Name <$Email>" -s"AUTO-REPLY: ($RAWSUBJECT)" -A"Return-Path: <nobody@nowhere>" 
-A"Precedence: junk" -A"X-Auto-Response-Suppress: All" -A"X-Loop: $BADLOOP" 
/usr/local/bin/sendmail -f '' </dev/stdin

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to