On Monday 08 Aug 2005 11:08 am, Ramang G wrote:
> Hi All,
>
> Forwarding is enabled in my pop server all the mails
> to my domain will come to this pop emial ID
> [EMAIL PROTECTED] Using fetchmail I will download all
> the mails to my local server, Please tell me how will
> I distribute the mails to the local users.
i assume you are using postfix.
your internet domain is xyz.com
your local machine is xyz.web
your fetchmailrc will be:
poll xyz.com proto POP3 no dns envelope Envelope-To
timeout 90
user [EMAIL PROTECTED] password xxx to * here
in postfix main.cf put these lines:
canonical_maps = hash:/etc/postfix/canonical
virtual_alias_maps = hash:/etc/postfix/virtual
in /etc/postfix/canonical put this line
(.*) [EMAIL PROTECTED]
and in /etc/postfix/virtual put this line:
(.*)@xyz.com $1
compile canonical and virtual and restart postfix. Postfix will now
deliver all mail addressed to [EMAIL PROTECTED] to [EMAIL PROTECTED] When
testing this out, make sure you run fetchmail with --keep option so
that no mail is lost
--
regards
kg
http://www.livejournal.com/users/lawgon
tally ho! http://avsap.org.in
ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!
--
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers