From: Matthias A. <mat...@gm...> - 2006-09-22 00:13:28
|
"Andrea Bencini" <and...@ti...> writes: >> what exactly was unclear about "Multiple servers may be listed:" in said >> section? > > The section that I read was "Configuration examples". > The examples are clear, but I did'nt find the answer to my question. If your original question was "how to duplicate messages for two accounts", fetchmail doesn't directly support that, since it's built around the idea of a local fully-fledged mail server that can do alias expansion. For anything that is remotely sendmail compatible (i. e. most mailers except qmail), writing something like this line into /etc/aliases or /etc/mail/aliases (check your manuals, details differ!) would work after running "sendmail -bi" or whatever else your system requires to rebuild the alias database: locallist: localuser1 localuser2 Alternatively, but not recommended, you can trick it into doing that by using an program that can deliver to multiple recipients at the same time, for instance: mda "/usr/sbin/sendmail -i -f %F -- localuser1 localuser2" Syntax is crucial for the MDA option, do NOT add single quotes here, and don't forget the -i. Note that most filtering MDAs do not support multiple recipients on the command line, so you'd need to spell this out in the configuration file. -- Matthias Andree |