-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jesper Langkjær wrote:
> It's an mailaliases. The mail are sent to [EMAIL PROTECTED] and then
> delivered to user2, when the mail(vacation messages) are returned it
> seems like it comes from [EMAIL PROTECTED] and not [EMAIL PROTECTED] as it
> should.

I think this is your problem.  The mail *is* being delivered to
[EMAIL PROTECTED], hence the reply comes from that account.  By the time
mail gets to maildrop, the $RECIPIENT is [EMAIL PROTECTED] because that's
where it's going to be delivered.  Maildrop has no idea what the
original address was.  Courier expands the alias when the message
arrives.  After that, as far as anyone is concerned, it's as if the mail
had come in for [EMAIL PROTECTED]  The original "RCPT TO:" recipient is
long gone.

To get around this I think you'll either need to use separate vacation
messages for each user which have the "From:" header already included in
the message, or you'll have to have some way for maildrop to know who
the original recipient was and use that to set the header.  It may be
that maildrop can access that information somehow, but I don't know.
Google or someone else on the list may be able to help you there.

HTH

Jeff Jansen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEBCVHZxtYeNk78A8RApPnAJ0SSd4ex77DjLrXqBi4ZJtXbWmvewCglRqw
vN5IIrFZo5DPUqVFCEfFRTk=
=j1A2
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to