[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] How can I direct mail on Qube3 base on Envelope-to address
- Subject: Re: [cobalt-users] How can I direct mail on Qube3 base on Envelope-to address
- From: Parker Morse <morse@xxxxxxxxxxx>
- Date: Tue Nov 26 14:00:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
On Saturday, November 23, 2002, at 08:13 AM, Steve Root wrote:
Envelope-to: ouruser@ourdomain
To: <them@xxxxxxxxxxxxxxx>
The qube sends this email to the catchall account (in our case 'admin'),
not the 'ouruser' account. I think the qube is only reading the 'to'
address, and on the Envelope-to address.
I'd like email to go directly to the 'ouruser' account, can anyone tell
me how to do it please?
Does the "Envelope-to:" line really lack the trailing TLD (.com?) or is
that just how you wrote it?
It sounds like you could be doing this with a procmail rule. Since you
know a unique line from the header, you could probably put this in
/etc/procmailrc. This is UNTESTED; hopefully one of our better-practiced
procmail users will correct me if I've really screwed up.
:0h:
* ^Envelope-to: ouruser@ourdomain
/var/spool/mail/ouruser
This amounts to giving up on convincing your Qube's sendmail to deliver
using the envelope-to address, and hardwiring delivery to that address at
the MDA level. This might cause a problem if you had a message for
"ouruser" and another user which included that Envelope-to line; I think
"ouruser" could get both copies of the message. So test it!
pjm