Marco Leeflang wrote:
>
> I setup qmail with several virtual domains and it works great for
> several months.
> every time the linux-box connect to my isp, the isp try to deliver mail
> waiting in the popbox.
> qmail deliver this mail to the users in the virtual domains.
> right now i want to force retreiving mail from my isp by using
> fetchmail.
>
> i can retreive the mail from my isp but all mail is delivered to
> root@localhost, thats not wat i want.
>
> Someone experience with qmail/fetchmail combination or another tool to
> retreive mail from isp's en local deliver to de virtual domains.
>
> greetings,
> marco leeflang
Thanks to all, it works now the way i want it.
i have a single pop account where all mail for 2 domains are collected
where each domain has about 300 email-addresses
normally when i connect to the isp, the isp put all mail waiting in the
pop-box to port 25 so i never had to retreive mail by myself.
but if a connection is up and mail is sitting in the isp popbox it takes
a long time until this mail is sent by the isp, so i want fetchmail to
collect this mail
i put fetchmail in multidrop mode to collect all mail from the isp and
deliver it to qmail who takes care of delivering it to the right local
pop-box.
/etc/fetchmail.conf :
defaults
forcecr
fetchall
set
invisible
poll pop3.demon.nl proto pop3 timeout 50 localdomains domain1.nl
domain2.nl user username password topsecret is *
here
i run fetchmail from cron :
fetchmail -n -f /etc/fetchmail.conf
thanks to all to put me in the right direction
greetings
marco leeflang