You need to run newaliases command to rebuild the index.
http://www.postfix.org/aliases.5.html
Hi
All day I receive an email from external account user@external.com it
reaches a user of my local domain isabel@mydomain, need to automatically
be forwarded to other users on my domain and maria pepe.
I use Debian 6 and postfix 2.7
I tried aliases and postfix, also with procmail something like this
echo multiples: pepe maria >> /etc/aliases
postalias /etc/aliases
echo '/^From:.user@external\.com/i REDIRECT multiples@mydomain.com' >>
/etc/posftix/encabezados
postmap /etc/postfix/encabezados >> /etc/postfix/main.cf
with procmail
:0 c
* ^From.*user@external.com
! pepe@mydomain.com maria@mydomain.com
none of the 2 runs
How I can fix?
regards
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 8a9befc82d5593f98418359cd108c59b.squirrel@192.168.13.16" target="_blank">http://lists.debian.org/[🔎] 8a9befc82d5593f98418359cd108c59b.squirrel@192.168.13.16