Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Alex on December 14, 2000, 01:08:19 PM

Title: Muti-fetch instead of multi-drop.....
Post by: Alex on December 14, 2000, 01:08:19 PM
Hi,

can any1 please help me to modify fetchmail on the e-smith server. I want fetchmail to fetch mail from account1@isp.com and put into the user1 mailbox on the e-smith server, then fetch mail from account2@isp.com and put into the user2 mailbox, and so forth. Some sort of multi-fetch instead of multi-drop. I already took a look at the fetchmail template, but I do NOT really understand how to do it. Can someone point me to the correct direction ?

Any help would be appreciated...


Alex
Title: RE: Muti-fetch instead of multi-drop.....
Post by: Grethus Bode on December 14, 2000, 01:40:56 PM
poll pop.server1.com    
 protocol POP3
    checkalias
    localdomains yourdomain
       username you password yourpass to * here
           smtphost localhost
           smtpaddress yourdomain
           fetchall
           forcecr
poll pop.server2.com
  protocol POP3
    username you2 password yourpass2 to you@yourdomain here
     fetchall

The 1st pop is to fetch to the corresponding names on the local server
the 2de pop is collecting mail and directing it to a specific mail adress.

In the man for fetchmail are other examples.

I did encounter problems with the 4.0.1 update in collecting mail for the seccond pop adress, but I think it is not a script problem.

I hope it works for you, it worked for me in the 4.0 version.