7 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Vacation and virt...
FromSent OnAttachments
Jesper LangkjærFeb 23, 2006 11:11 pm 
Larry MooreFeb 24, 2006 1:02 am 
Jesper LangkjærFeb 26, 2006 11:12 pm 
Jeff JansenFeb 27, 2006 5:25 am 
Jesper LangkjærFeb 27, 2006 11:44 pm 
Jeff JansenFeb 28, 2006 2:26 am 
Bryan IrvineJun 22, 2006 12:51 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Vacation and virtual mailboxesActions...
From:Jeff Jansen (ivb_@sil.org)
Date:Feb 28, 2006 2:26:43 am
List:net.sourceforge.lists.courier-users

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

Jesper Langkjær wrote:

It's an mailaliases. The mail are sent to user1@companyB and then delivered to user2, when the mail(vacation messages) are returned it seems like it comes from user2@companyA and not user1@companyB as it should.

I think this is your problem. The mail *is* being delivered to user2@companyA, hence the reply comes from that account. By the time mail gets to maildrop, the $RECIPIENT is user2@companyA 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 user2@companyA. 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

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