From: Adam D <em...@gm...> - 2006-11-20 21:48:05
|
Rob MacGregor wrote: > On 11/18/06, Adam D <em...@gm...> wrote: >> I have been using fetchmail for many years on one system for one domain but I am now making the mail server host multi domains but would like to bind a separate fetchmail process to diff virtual postfix smtp server processes on Linux. >> >> ex. >> bind fetchmail for smtp bound on eth0 (localhost) >> bind seperate fetchmail-1 for smtp bound on eth0:0 (example1.com) >> bind seperate fetchmail-2 for smtp bound on eth0:1 (example2.com) > > As per the man page, simply specify different smtphost values in each > config file. > > I've been using this for some time and it works just fine. > I have been reading over fetchamil and smtp and the man page over the weekend and today and sadly I am not understanding how to assign a particular smtp server to the fetchmail config. Here is my scenario: I am running fetchmail as an init daemon and right now the config file resides in /etc as fetchmailrc. I am creating postfix to run multiple domains each on its own smtp server accepting mail on a different ethernet address. What I would like to have are separate fetchmail configs for each postfix domain and the mail being retrieved belonging to that particular domain. Rob, In the beginning of your fetchmailrc file do you state what server to bind to? -Adam |