Re: Serialmail and SMTP after POP
Frank Tegtmeyer <[email protected]> 05 Jun 2003 12:56:15 +0200
| Newsgroups | gmane.mail.serialmail |
|---|---|
| Message-ID | <[email protected]> |
"Torsten Albrecht" <[email protected]> writes: > Can i handle that with QMail and serialmail ??? You may use this before the serialmail command: #!/usr/bin/python servers = ( ('my.pop.server', 'my_login', 'my_pass'), ('additional.pop.server', 'login2', 'pass2') ) import poplib for server in servers: p = poplib.POP3(server[0]) p.user(server[1]) p.pass_(server[2]) p.quit() You may add as many accounts you want. I got his snippet while asking a similar question in the getmail list :) Regards, Frank