Fetchmail

Ecco un esempio di fetchmailrc per migrare il contenuto di una mailbox POP3 verso il server SMTP locale:

poll pop.remote.host proto pop3 username "login1" password "secret1" is "name1@domain.com" here no rewrite fetchall
poll pop.remote.host proto pop3 username "login2" password "secret2" is "name2@domain.com" here no rewrite fetchall

Proteggere il file con chmod 600 ed eseguire con:

fetchmail -v -v -f fetchmailrc

In questo modo fetchmail gira in modo single-drop, cioè tutti i messaggi prelevati da un account POP sono destinati ad un'unica mailbox e non si deve cercare di desumere destinatari diversi dagli header del messaggio.

doc/appunti/linux/sa/fetchmail.txt · Last modified: 2010/05/19 13:22 by niccolo
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki