fetchmail-friends
[Top] [All Lists]

Re: [fetchmail]Single user, multiple IMAP accounts w/ IDLE

2004-03-07 14:31:03
So, set up 3 accounts that have identical fetchmail setups except for
the remote mailbox they parse.  Have each pass mail to your local SMTP
server and let it handle delivery.

I'm against setting up another two accounts just to retrieve e-mail
though, it seems rather unnecessary.  I might just run fetchmail
normally, but run it from a script that loops with a delay, so if
fetchmail dies it'll get reloaded again.  I think this would be the
easiest, rather than having to create an entire new local user account
every time I want to check a new mailbox...

Trying to pass directly to the LDA actually only complicates things
IMO.

I don't think there's any other way I can do it.  I want mail from each
account in a specific folder, and (especially for spam) the headers give
no indication which account it was received through.  So at the moment I
pass all incoming mail through a script, which adds an X-Account header
to the message, and then passes it through to procmail for sorting as
appropriate (which in turn runs dmail.)  It's a bit messy, but it does
work very well.

Cheers,
Adam.