Dnia 19.03.2024 o godz. 07:10:53 Fourhundred Thecat via Postfix-users pisze:
> 
> On the server, I have one unix user, and multiple aliases defined in
> /etc/aliases, so that I can use different email addresses for different
> purposes.
> 
> All these aliases are delivered to the users home / maildir.
> 
> Now I would like to have yet another alias/email address, but instead of
> having the emails delivered to my main user, I would like to just
> collect the emails in some maildir.
> 
> I just need to collect these emails for archival purposes, separately
> from my main account.

With a unix user, I am normally using filtering tools called from within
local(8), like good old procmail :), to do such things. It's very easy to
write a procmail rule that filters out all messages containing a particular
header (for example "To:" your particular alias) to a separate maildir.

I'm sure there are newer tools with the same functioality as procmail
available.
-- 
Regards,
   Jaroslaw Rafa
   r...@rafa.eu.org
--
"In a million years, when kids go to school, they're gonna know: once there
was a Hushpuppy, and she lived with her daddy in the Bathtub."
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to