Hi all,
I have a local postfix configuration where lan users point to for send
mails. 
If the recipient are inside virtual_alias_maps, postfix deliver email
inside maildir, otherwise it forward it through relay_host. 
All works but like now I have to setup postfix for accept email, created
by an automatic software, for:
real_user+some_random_and_always_change_i...@mydomain.com

When the software send this email postfix, seeing that the recipient
aren't in its virtual_alias_maps, forward it to the relay_host. 
But I need that this email will be stored like as if I sent it to
real_u...@mydomain.com

Is there a solution?
Thanks

Configuration:

biff = no
append_dot_mydomain = no
myhostname = linuxmail.myserver.local
mydestination = localhost, linuxmail.myserver.local
home_mailbox = mail/
mail_spool_directory = /home/
virtual_alias_maps = hash:/etc/postfix/virtual_domains
transport_maps = hash:/etc/postfix/transport

virtual_domains:
us...@mydomain.com                 us...@localhost

transport:
us...@mydomain.com  smtp:[192.168.X.Y]

Reply via email to