Networking Forums

Networking Forums > Computer Networking > Linux Networking > fetchmail multidrop

Reply
Thread Tools Display Modes

fetchmail multidrop

 
 
Fred Stuurman
Guest
Posts: n/a

 
      12-29-2003, 12:59 PM
Hello,
I am trying to set up fetchmail to receive mails from an external
domain www.2edalton.nl to my linux redhat 7.3 server locally and want
the mail be split to the existing users on the linux server.
All the mails are received but deliverd to the postmaster.
I have tried a lot of combinations for the .fetchmailrc config file.
This is what I think should work:

poll mail.2edalton.nl
localdomains node11500.a2000.nl:
user <userid> pass <secret> to * here

I have created some users on the node11500 machine and they can
receive mail from outside and I can send mail with pine to each other,
so that makes me think sendmail is functioning ok.

If I execute the fetchmail -a -k -v -v command I see the following:
fetchmail: About to rewrite To: (E-Mail Removed)
Rewritten version is To: (E-Mail Removed)

fetchmail: no local matches, forwarding to postmaster
fetchmail: forwarding to localhost

The user fred is there and has got mail from outside.

Can someone pinpoint me to the right combination of keywords?
Thanks and kind regards Fred Stuurman.
 
Reply With Quote
 
 
 
 
hhh
Guest
Posts: n/a

 
      12-29-2003, 01:06 PM
Fred Stuurman wrote:

> Hello,
> I am trying to set up fetchmail to receive mails from an external
> domain www.2edalton.nl to my linux redhat 7.3 server locally and want
> the mail be split to the existing users on the linux server.
> All the mails are received but deliverd to the postmaster.
> I have tried a lot of combinations for the .fetchmailrc config file.
> This is what I think should work:
>
> poll mail.2edalton.nl
> localdomains node11500.a2000.nl:
> user <userid> pass <secret> to * here
>


change your command line in
user <user> pass <secret> to <linux-user> here

for multiple users something like:
user <user> pass <secret> to <boxuser>=<linux-user>
<next-boxuser>=<next-linux-user> etc..

hh

 
Reply With Quote
 
Fred Stuurman
Guest
Posts: n/a

 
      12-29-2003, 06:54 PM
Thanks hh,
I tried but no difference, it refuses to match the remote user to the
local user.

Regards Fred

On Mon, 29 Dec 2003 15:06:45 +0100, hhh <(E-Mail Removed)> wrote:

>Fred Stuurman wrote:
>
>> Hello,
>> I am trying to set up fetchmail to receive mails from an external
>> domain www.2edalton.nl to my linux redhat 7.3 server locally and want
>> the mail be split to the existing users on the linux server.
>> All the mails are received but deliverd to the postmaster.
>> I have tried a lot of combinations for the .fetchmailrc config file.
>> This is what I think should work:
>>
>> poll mail.2edalton.nl
>> localdomains node11500.a2000.nl:
>> user <userid> pass <secret> to * here
>>

>
>change your command line in
>user <user> pass <secret> to <linux-user> here
>
>for multiple users something like:
>user <user> pass <secret> to <boxuser>=<linux-user>
><next-boxuser>=<next-linux-user> etc..
>
>hh


 
Reply With Quote
 
Carles Arjona
Guest
Posts: n/a

 
      12-30-2003, 12:23 AM
Fred Stuurman <(E-Mail Removed)> wrote in
news:(E-Mail Removed):

[Top-posting fixed]

> On Mon, 29 Dec 2003 15:06:45 +0100, hhh <(E-Mail Removed)> wrote:
>
>>Fred Stuurman wrote:

<snip>
>>> I have tried a lot of combinations for the .fetchmailrc config file.
>>> This is what I think should work:
>>>
>>> poll mail.2edalton.nl
>>> localdomains node11500.a2000.nl:
>>> user <userid> pass <secret> to * here

>>
>>change your command line in
>>user <user> pass <secret> to <linux-user> here
>>
>>for multiple users something like:
>>user <user> pass <secret> to <boxuser>=<linux-user>
>><next-boxuser>=<next-linux-user> etc..

>
> I tried but no difference, it refuses to match the remote user to the
> local user.


See the M1 question in the fetchmail FAQ
http://www.catb.org/~esr/fetchmail/fetchmail-FAQ.html

M1. I've declared local names, but all my multidrop mail is going to root
anyway.

PS: Please, learn to post:
http://www.allmyfaqs.com/faq.pl?How_to_post

--
Regards,

Carles Arjona (E-Mail Removed) ( nospammer IS my real username ).
 
Reply With Quote
 
Fred Stuurman
Guest
Posts: n/a

 
      12-30-2003, 12:05 PM
On Tue, 30 Dec 2003 01:23:38 +0000, Carles Arjona
<(E-Mail Removed)> wrote:

>Fred Stuurman <(E-Mail Removed)> wrote in
>news:(E-Mail Removed) :
>
>[Top-posting fixed]
>
>> On Mon, 29 Dec 2003 15:06:45 +0100, hhh <(E-Mail Removed)> wrote:
>>
>>>Fred Stuurman wrote:

><snip>
>>>> I have tried a lot of combinations for the .fetchmailrc config file.
>>>> This is what I think should work:
>>>>
>>>> poll mail.2edalton.nl
>>>> localdomains node11500.a2000.nl:
>>>> user <userid> pass <secret> to * here
>>>
>>>change your command line in
>>>user <user> pass <secret> to <linux-user> here
>>>
>>>for multiple users something like:
>>>user <user> pass <secret> to <boxuser>=<linux-user>
>>><next-boxuser>=<next-linux-user> etc..

>>
>> I tried but no difference, it refuses to match the remote user to the
>> local user.

>
>See the M1 question in the fetchmail FAQ
>http://www.catb.org/~esr/fetchmail/fetchmail-FAQ.html
>
>M1. I've declared local names, but all my multidrop mail is going to root
>anyway.
>
>PS: Please, learn to post:
>http://www.allmyfaqs.com/faq.pl?How_to_post


Carles,
Thanks for pointing me to the faq, I have missed that one and it
solved an error but the final result is the same.

Here is the .fetchmailrc which I have now:
poll mail.2edalton.nl
aka falcon.graficom.com localhost
localdomains node11500.a2000.nl localhost:
no dns
user <user> pass <password>
to info=info
fred=fred
rene=rene
pieter=pieter here

Here are the messages from fetchmail:
fetchmail: reading message 1 of 26 (1117 header octets)
fetchmail: About to rewrite Return-path: <(E-Mail Removed)>
Rewritten version is Return-path: <(E-Mail Removed)>

fetchmail: analyzing Received line:
Received: from [65.54.245.137] (helo=hotmail.com)
by falcon.graficom.com with esmtp (Exim 4.14)
id 1AWb6b-0000dq-JM
for (E-Mail Removed); Wed, 17 Dec 2003 13:48:45 +0100
fetchmail: line accepted, falcon.graficom.com is an alias of the
mailserver
fetchmail: found Received address `(E-Mail Removed)'
fetchmail: About to rewrite From: "Arjen/Jolanda Geukema/Logtens"
<(E-Mail Removed)>
Rewritten version is From: "Arjen/Jolanda Geukema/Logtens"
<(E-Mail Removed)>

fetchmail: About to rewrite To: (E-Mail Removed)
Rewritten version is To: (E-Mail Removed)

fetchmail: About to rewrite Bcc:
Rewritten version is Bcc:

fetchmail: no local matches, forwarding to postmaster

Kind regards Fred.
 
Reply With Quote
 
hhh
Guest
Posts: n/a

 
      12-31-2003, 11:09 AM
Fred Stuurman wrote:
<<skip>>

> Here is the .fetchmailrc which I have now:
> poll mail.2edalton.nl
> aka falcon.graficom.com localhost
> localdomains node11500.a2000.nl localhost:
> no dns
> user <user> pass <password>
> to info=info
> fred=fred
> rene=rene
> pieter=pieter here
>


<<skip>>

> fetchmail: found Received address `(E-Mail Removed)'
> fetchmail: About to rewrite From: "Arjen/Jolanda Geukema/Logtens"
> <(E-Mail Removed)>
> Rewritten version is From: "Arjen/Jolanda Geukema/Logtens"
> <(E-Mail Removed)>


This mail was send to (E-Mail Removed). IMO after 'aka' there should be
'2edalton.nl; thats in fact the domain name of your mail address. If more are
used add them too. Skip all entries you have now after 'aka'.
The line with localdomains makes no sense to me. Do not know the meaning. Try
without this line.
I also presume that info, fred, rene and pieter are names of users on your
linux server.

hh

 
Reply With Quote
 
Fred Stuurman
Guest
Posts: n/a

 
      01-06-2004, 08:49 AM
hhh wrote:
> Fred Stuurman wrote:
> <<skip>>
>
>>Here is the .fetchmailrc which I have now:
>>poll mail.2edalton.nl
>>aka falcon.graficom.com localhost
>>localdomains node11500.a2000.nl localhost:
>>no dns
>>user <user> pass <password>
>>to info=info
>>fred=fred
>>rene=rene
>>pieter=pieter here
>>

>
>
> <<skip>>
>
>>fetchmail: found Received address `(E-Mail Removed)'
>>fetchmail: About to rewrite From: "Arjen/Jolanda Geukema/Logtens"
>><(E-Mail Removed)>
>>Rewritten version is From: "Arjen/Jolanda Geukema/Logtens"
>><(E-Mail Removed)>

>
>
> This mail was send to (E-Mail Removed). IMO after 'aka' there should be
> '2edalton.nl; thats in fact the domain name of your mail address. If more are
> used add them too. Skip all entries you have now after 'aka'.
> The line with localdomains makes no sense to me. Do not know the meaning. Try
> without this line.
> I also presume that info, fred, rene and pieter are names of users on your
> linux server.
>
> hh
>


HH,
yes that did the trick, maybe you can explain to me why AKA should be
used instead of localdomains keyword.
in the manual it says:
AKA = Specify alternate DNS names of mailserver

I thought that localdomains was telling fetchmail which domains he
should treat as local. 2edalton.nl is the remote host so I put it after
localdomains.
Thanks and kind regards Fred Stuurman.

 
Reply With Quote
 
Carles Arjona
Guest
Posts: n/a

 
      01-06-2004, 11:14 PM
Fred Stuurman <(E-Mail Removed)> wrote in
news:(E-Mail Removed):

> hhh wrote:

<snip>
>> This mail was send to (E-Mail Removed). IMO after 'aka' there
>> should be '2edalton.nl; thats in fact the domain name of your

<snip>

> yes that did the trick, maybe you can explain to me why AKA should
> be used instead of localdomains keyword.
> in the manual it says:
> AKA = Specify alternate DNS names of mailserver


As far as I know, 'localdomains mydomain.com' allows to consider any
*.mydomain.com host as local. 'aka' allows to declare a list of
individual DNS aliases for a server: 'aka host1.mydomain.com
host2.mydomain.com' . More info: man fetchmail

> I thought that localdomains was telling fetchmail which domains he
> should treat as local. 2edalton.nl is the remote host so I put it
> after localdomains.


Please, consider reading again your previous postings. None of your
previous .fetchmailrc files posted before hhh's
<(E-Mail Removed)> contained neither 'localdomains
2edalton.nl' nor 'aka 2edalton.nl'

Your might try yourself if 'localdomains 2edalton.nl' does work also
for you.

--
Regards,

Carles Arjona (E-Mail Removed) ( nospammer IS my real username )
 
Reply With Quote
 
hhh
Guest
Posts: n/a

 
      01-07-2004, 04:46 PM
Fred Stuurman wrote:

> > <<skip>>

> HH,
> yes that did the trick, maybe you can explain to me why AKA should be
> used instead of localdomains keyword.
> in the manual it says:
> AKA = Specify alternate DNS names of mailserver


Out mail is send to your mail account (f.e. (E-Mail Removed)). The (pop) mailserver
is named in the DNS at the Internet as '2edalton.nl'. That is the part after the @
sign.
For example:
After a take over of an ISP by another ISP the mail systems can be integrated,
which means that at that time al accounts can receive mail with different mail
domains (f.e. as has been happend with planet.nl and wxs.nl).
Accounts of the former wxs.nl ISP now receive mail on both <account>@planet.nl and
<account>@wxs.nl. All mail to this accoutn will be stored in the same pop box. In
this case both domains are listed after aka (planet.nl and wxs.nl) and all mail
fetched by fetchmail (no matter the domain) is send to the local user <account>.

Thus aka is a list of all names a mail server is named in the DNS.

hhh

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fetchmail K Wall Linux Networking 0 06-10-2005 03:45 AM
Fetchmail help Khris W Linux Networking 3 01-20-2005 01:54 PM
IMAP with fetchmail Christian Linux Networking 2 07-03-2004 08:41 PM
Fetchmail Thanks Greg Gailer Linux Networking 0 05-23-2004 09:51 AM
Fetchmail Franky Ronaldy Linux Networking 1 08-21-2003 07:08 AM



1 2 3 4 5 6 7 8 9 10 11