On Friday 21 June 2002 1:30 pm, [EMAIL PROTECTED] wrote:
> Folks,

Hi Patrick

>
> Sorry to disturbe you all with this fetchmail problems again, but I'm new
> at fetchmail. The situation now is that fetchmail connects to our pop3
> server at our isp and retrieves all our mail and delivers all the mail in
> the admin inbox. How can I forward all the other mails to the correct
> persons?? Many thanx in advance,
>
>
> Patrick
>

Here's my /root/.fetchmailrc  It collects multi-drop emails from two ISP's 
and delivers to local users.  I do some local domain shuffling to prevent 
exim from sending the emails straight back out again.

The local user name is taken from the user part of the email address, with 
any unmatched emails going to pat.  You could set  it to bounce these instead 
if you want.

BTW, with this config, fetchmail runs in deamon mode, and is started by my 
ip-up script and killed by my ip-down script.

__BEGIN__
set logfile "/var/log/fetchmail.log"
set postmaster "pat"
set nobouncemail
set no spambounce
set properties ""
set daemon 360
poll pop.freeserve.co.uk with proto POP3 and options no dns no envelope
        aka stainburn.com 
        localdomains local.stainburn.com 
        user 'isp1-username' there with password 'isp2password' to 'pat' * here 
options 
        smtpaddress local.stainburn.com
poll pop3.blueyonder.co.uk with proto POP3 and options no dns no envelope
        aka stainburn.com 
        localdomains local.stainburn.com 
        user 'isp2-username' there with password 'isp2password' to 'pat' * here 
options 
        smtpaddress local.stainburn.com
__END__

Hope this helps

Gary
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list

-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to