Greg Wildman on Wed, 3 May 2000 22:15:40 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: GLUG: fetchmail


Koot wrote:
> 
> Hi
> 
> I use fetchmail to fetch the mail of the users on my local LAN.
> Fetching mail for every user is not a problem, but one of the mail boxes
> is a forwarding pop3 mail box for a registered domain.
> 
> Reading the fetchmail man pages it appears as if the mail fetched from
> this mail box will be delivered to port 25, and thus evoke sendmail and
> sendmail will do the rest (drop the mail in the different users mail
> boxes). This is however not happening.
> The user that starts fetchmail receives all the mail, regardless of whom
> it is addressed to.
> The man page mentions that sendmail can be used as a MDA, but adding the
> arguments/switches as mentioned results in fetchmail giving a parse
> error.
> 
> Using procmail as a MDA is also not working as expected.
> If I send mail to more than one person at the domain, then the first
> person will get both e-mails, the second person will not receive this
> mail (that is using procmail as a MDA).
> 
> How do I fix this? Or where will I get more help?

I run fetchmail with the following in my fetchmailrc file to have
delivery to multiple users.

set logfile "/root/fetchmail.log"
set postmaster "postmaster"
set bouncemail
set properties ""
poll jhb-pop01.iafrica.com with proto POP3
       user "xyz" there with password "abc" is username1 here options
fetchall warnings 3600
poll mail.techno.co.za with proto POP3
       user "lmnop" there with password "qrstu" is username2 here
options fetchall warnings 3600

Obviously substitute username1 and username2 for real user accounts.

-- 
Greg Wildman
Information Technology & Networking Services
Tel: (011) 787-1450
Fax: (011) 787-9837