View Single Post

  #1 (permalink)  
Old 01-25-2006
Des
 
Posts: n/a
Default Fetchmail and local_recipients

I'm trying to setup a mail server to use Web-Cyradm. Ie.
Postfix/Cyrus/MySQL support for virtual domains. However, I have run
into an issue as a result of using fetchmail running on the same
machine as postfix.

On my Suse 9.3 box, there are many, many aliases defined that
correspond to the various facilities installed on the box. E.g. 'ftp',
'newsadm', 'squid' etc, etc.

What happens is that each of these aliases is taking precedence over
the virtual domains defined via Web-cyradm. E.g I send a mail to
squid@My.VirtualDomain.com and it ends up being sent to the root
account on the box. It seems that because fetchmail is posting from
the same box, postfix is testing the recipient against local users -
appearing in /etc/aliases - and concluding that 'squid' is local
(/etc/aliases routes 'squid' to 'root')

Is there strategy for configuring fetchmail and/or postfix such that
postfix treats the fetchmail traffic as though it was truly remote.

Maybe I have to reduce the aliases list. But what happens when the
facilities try to post stuff - it won't go to root?

--
Cheers, Des
Reply With Quote