From: Andrew N. G. <an...@gr...> - 2007-02-08 22:26:18
|
I have fetchmail configured and working great. It fetches the mail from a pop catch all and sends it out via SMTP to our exchange server The issue I have is with a couple of mailing lists that are delivered via BCC I would like anything sent to "nca...@li..." to be delivered to user ES...@po.... I also would like to not have to set up another pop account. Also, I am new to fetchmail. does anyone see any glarring problems with my set up. poissonlaw.com and poissonpoissonbower.com are the same DNS entry. I am using Keep until I finish testing and getting everything to work. thanks for your help, Andrew Here is my fetchmailrc set postmaster AN...@po... set no bouncemail poll mail.poissonlaw.com with proto pop3 localdomains poissonlaw.com poissonpoissonbower.com: user ********** pass ********* to * smtphost 10.5.*.* smtpaddress poissonlaw.com keep set logfile /root/fetchmaillog |
From: Rob M. <rob...@gm...> - 2007-02-09 01:13:57
|
On 2/8/07, Andrew N. Gray <an...@gr...> wrote: > I have fetchmail configured and working great. It fetches the mail > from a pop catch all and sends it out via SMTP to our exchange server > > The issue I have is with a couple of mailing lists that are delivered > via BCC > > I would like anything sent to "nca...@li..." to be > delivered to user ES...@po.... I also would like to not have > to set up another pop account. You'll probably have to configure your SMTP server to handle this, I don't think you can do this with fetchmail. > Also, I am new to fetchmail. does anyone see any glarring problems > with my set up. poissonlaw.com and poissonpoissonbower.com are the > same DNS entry. I am using Keep until I finish testing and getting > everything to work. One warning - your config seems to suggest you're running it as root. Recent versions of fetchmail will warn you about doing this and future versions may refuse to run as root. Create an unpriviledged user for fetchmail and run it under this account instead. -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche |
From: Rob M. <rob...@gm...> - 2007-02-09 15:51:50
|
Keep the traffic on the list. On 2/9/07, Andrew N. Gray <an...@gr...> wrote: > thanks for the info about the unprivileged user. > > I am running the service as a daemon on gentoo, is there are > preferred way to start fetchmail as an unprivileged user using the > init.d/fetchmail script. Well, that's a Gentoo issue, not a Fetchmail one :) However, a few seconds on the Gentoo site suggest you need to look at "start-stop-daemon". The option is probably going to be "--user <myuser>". -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche |
From: Matthias A. <mat...@gm...> - 2007-02-10 03:29:22
|
"Andrew N. Gray" <an...@gr...> writes: > I have fetchmail configured and working great. It fetches the mail > from a pop catch all and sends it out via SMTP to our exchange server > > The issue I have is with a couple of mailing lists that are delivered > via BCC So you call that "working great"? I wouldn't. fetchmail can only handle this if the catchall account conforms to http://home.pages.de/~mandree/mail/multidrop - else you need to take any "mailbox fetching" (thus, fetchmail) out of the loop and do direct SMTP. That's beyond this list's scope, pointers are Postfix and perhaps Exim. -- Matthias Andree |
From: Andrew N. G. <an...@gr...> - 2007-02-12 07:57:24
|
I would say working great, when compared to the pop3 connector for exchange which is a complete PITA. It also allows me to forward the mail via SMTP into the exchange server so the exchange will respect the spam headers from Spam Assassin. I have the exchange box firewalled off and only accepting traffic from the internal linux box running fetchmail I guess the Microsoft pop connector does not let you filter the mail in exchange because the "Intelligent Message Filter" in exchange only works on SMTP traffic not pop connector traffic. Over all using fetchmail is a huge improvement and I can have it check my mail box once every 5 minutes instead of every 15 minutes which is the min for exchange. I probably will end up creating a mail box for each user on the mail server and dropping the catch all. I would eliminate exchange completely if our CRM would work with IMAP. Don't get started on the CRM though. :) A couple more questions: if I want to check 20 pop accounts, should I run fetchmail in daemon mode or via a cron. Is there a way to get it to pause for a time between each poll? Thanks for all the help with everything, Andrew On Feb 9, 2007, at 9:27 PM, Matthias Andree wrote: > "Andrew N. Gray" <an...@gr...> writes: > >> I have fetchmail configured and working great. It fetches the mail >> from a pop catch all and sends it out via SMTP to our exchange server >> >> The issue I have is with a couple of mailing lists that are delivered >> via BCC > > So you call that "working great"? I wouldn't. > > fetchmail can only handle this if the catchall account conforms to > http://home.pages.de/~mandree/mail/multidrop - else you need to > take any > "mailbox fetching" (thus, fetchmail) out of the loop and do direct > SMTP. That's beyond this list's scope, pointers are Postfix and > perhaps > Exim. > > -- > Matthias Andree |
From: Rob M. <rob...@gm...> - 2007-02-12 16:09:00
|
> if I want to check 20 pop accounts, should I run fetchmail in daemon > mode or via a cron. I'd generally recommend daemon mode. > Is there a way to get it to pause for a time > between each poll? That's the way daemon mode works - to start it in daemon mode you MUST give it an interval (in seconds) between polls. The man page does tell you about this ;) -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche |
From: Matthias A. <mat...@gm...> - 2007-02-17 21:29:28
|
"Andrew N. Gray" <an...@gr...> writes: > I would say working great, when compared to the pop3 connector for > exchange which is a complete PITA. If Exchange works as "well" as Outlook 11 does, then "complete PITA" is an euphemism. > A couple more questions: > > if I want to check 20 pop accounts, should I run fetchmail in daemon > mode or via a cron. Is there a way to get it to pause for a time > between each poll? Functionally, the cron approach is a tad more robust, but can also emit more warnings, since it stores less state information internally. For the pausing, check something like postconnect "sleep 21" after each poll statement. See the fetchmail and sleep manual pages. -- Matthias Andree |