fetchmail-friends
[Top] [All Lists]

Re: [fetchmail] Multi-drop distribution to external server

2003-01-31 04:55:19
Boris 'pi' Piwinger wrote:

I could not solve the following problem:
I have a multi-drop *(_at_)multidrop(_dot_)example(_dot_) I want to
redistribute them by user name. The account has user
multiuser(_at_)mail(_dot_)provider(_dot_)example with password ***.

There are two addresses I want to handle:

user1(_at_)multidrop(_dot_)example -> user1(_at_)external(_dot_)example
user2(_at_)multidrop(_dot_)example -> user2(_at_)external(_dot_)example
(external.example is *not* the machine running fetchmail!)

All other mails should go to user2(_at_)external(_dot_)example(_dot_)

So this is in my .fetchmailrc:
poll mail.provider.example aka provider.example localdomains
multidrop.example: username multiuser password *** to
'user1'='user1(_at_)external(_dot_)example'
'user2'='user2(_at_)external(_dot_)example'

I call this by:
fetchmail --postmaster user2(_at_)external(_dot_)example
mail.provider.example

I did some trial and error. Here is a solution which *seems*
to work: Remove "localdomains multidrop.example"

I really think the explanation in the man page is not
understandable and should have an example involving the name
of the multidrop, various users and various delivery options.

pi


<Prev in Thread] Current Thread [Next in Thread>