From: Adam D <em...@gm...> - 2006-11-20 23:00:55
|
Rob MacGregor wrote: > On 11/20/06, Adam D <em...@gm...> wrote: >> 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. > > poll pop.isp1.net user UserA password PassA to LocalA smtphost localhost > poll pop.isp2.net user UserB password PassB to LocalB smtphost example1.com > > And so on. See the section on "Delivery Control Options", also listed > under the user options. > LOL, that is why I have not been able to find it. I have been looking in the 'set..' settings (found none) and server settings and would not think they would have been in the user settings. So adding smtphost at the end of each user I can have multiple smtp host configs all in the same /etc/fetchmailrc file :) thus much easier to maintain :). Thank you Rob for your help now I can go back to the man page and look more into user settings. -Adam |