You need to run newaliases command to rebuild the index. http://www.postfix.org/aliases.5.html On 19/07/2013 3:47 AM, <co...@esid.gecgr.co.cu> wrote:
> Hi > > All day I receive an email from external account u...@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 multip...@mydomain.com' >> > /etc/posftix/encabezados > > postmap /etc/postfix/encabezados >> /etc/postfix/main.cf > > > with procmail > > :0 c > * ^From.*u...@external.com > ! p...@mydomain.com ma...@mydomain.com > > none of the 2 runs > > How I can fix? > > regards > > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmas...@lists.debian.org > Archive: > http://lists.debian.org/8a9befc82d5593f98418359cd108c59b.squirrel@192.168.13.16 > >