Hi,

Patrick Marquetecken wrote:

On Thu, 2005-01-27 at 10:34 +0100, Patrick Marquetecken wrote:


Hi,

I'm a bit stuck with procmail, i have one email account and several mail
aliasses at my ISP.
I use fetchmail in a cron on user level to get my emails.
I whan't now mails that are for a mail alias (other to address) deliverd
to another local .maildir. The problem is that they are pickup by the
fetchmail script of my main user. I don't know of it is possible with
procmail to point to a different home/.maildir but even then the uid
would
be worng of that email.
Whats the best way to deliver those emails?

TIA


Well, best way is in fact procmail. On the account that receives the emails you can do:

:0
* [EMAIL PROTECTED]
! [EMAIL PROTECTED]

:0 [EMAIL PROTECTED]
! [EMAIL PROTECTED]

And so on. Then your MTA will do the job of delivering the mail to the other users, invoking their own procmail and so on. I use Postfix so I can share my config with you if you wish.

AFAIK, this won't work for BCCs since the address that was BCCed doesn't end up in the mail headers.

HTH,
Chris


-- [email protected] mailing list



Reply via email to