Is there any way for maildrop to have access to the original recipient (i.e 
the original "MAIL TO:" command) when that address is just an alias?

For instance if I have "user1: user" in the my /etc/courier/aliases file then 
when maildrop delivers the mail $RECIPIENT is set to "user", not "user1".  
What I'd like is a way to know who the original recipient was.  I am doing 
this now by creating an actual "user1" account which then writes a header 
with the original recipient and then forwards to "user".  But it would be 
nice to do this at the "user" account and just use aliases for all the others 
who need to deliver here.  (I also tried a filter which looked at 
/(To\CC):.*user1/ but, of course, that misses BCC addresses.)

Thanks!

Jeff Jansen



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to