fetchmail-friends
[Top] [All Lists]

Re: [fetchmail] fetchmail: no local matches, forwarding to

2003-11-23 13:27:49
This is almost the exact same problem I was having.

Your sendmail looks like it is behaving properly, but fetchmail is refusing to believe that the user robert(_at_)harpham(_dot_)eclipse(_dot_)co(_dot_)uk is either a local user or a user in a domain that is handled on this box.

My remote domain is birchwoode.demon.co.uk and my local domain is pmac-g5.norton.co.uk and the users are all named the same on both domains. birchwoode.demon.co.uk is a multidrop (catch-all) area. So I wanted mail send to user(_at_)birchwoode(_dot_)demon(_dot_)co(_dot_)uk to be delivered to user(_at_)pmac-g5(_dot_)norton(_dot_)co(_dot_)uk on my local machine.

I solved the problem with some help from this list and my fetchmailrc looks like this:

[pmac-g5:~] geoff% sudo cat !$
sudo cat /etc/mail/fetchmailrc
set daemon 120
poll pop3.demon.co.uk proto pop3
   aka demon.net
   aka mailstore
   no dns
localdomains pmac-g5.norton.co.uk birchwoode.demon.co.uk localhost:
user "birchwoode" pass "XXXXXXX" to * here
fetchall
[pmac-g5:~] geoff%

So, looking at your -v -v output, which is exactly what I was seeing, I would recommend adding a localdomains line with the all the domains that you want fetchmail to consider local and handle the mail for.

Good luck!
Geoff.

On 23 Nov 2003, at 19:18, Robert Harpham wrote:

Hi

my problem is as folows, i have a catch all account setup with my ISP i
want to recive it with fetchmail and do a multidrop with it into my mta
which is sendmail. but i am getting the folowing errors when running
fetchmail.

About to rewrite To: <robert(_at_)harpham(_dot_)eclipse(_dot_)co(_dot_)uk>
Rewritten version is To: <robert(_at_)harpham(_dot_)eclipse(_dot_)co(_dot_)uk>

fetchmail: no local matches, forwarding to robert
fetchmail: SMTP< 220 server.network ESMTP Sendmail 8.12.10/8.12.10; Sun, 23
Nov 2003 17:23:15 GMT

it seems that sendmail is not seeing my local users properly, i can send e-mail to and from my local users with in sendmail localy tho and also send it out to the outside world just cant seem to get fetchmail and sendmail to
work properly.

here is my full config files as folows.

Fetchmail
poll mail.eclipse.co.uk
proto pop3
no dns
envelope "Delivered-To:"
user "robert(_at_)harpham(_dot_)eclipse(_dot_)co(_dot_)uk"
pass "******"
is *
keep
fetchall
no ssl

full putput from fetchmail -v -v
robert(_at_)server:~$ fetchmail -v -v
fetchmail: 6.2.4 querying mail.eclipse.co.uk (protocol POP3) at Sun Nov 23
17:23:07 2003: poll started
fetchmail: POP3< +OK POP3 Ready serpens.eclipse.net.uk
fetchmail: POP3> CAPA
fetchmail: POP3< -ERR Command must be one of USER, PASS or QUIT
fetchmail: Command must be one of USER, PASS or QUIT
fetchmail: Repoll immediately on
robert(_at_)harpham(_dot_)eclipse(_dot_)co(_dot_)uk@mail.eclipse.co.uk
fetchmail: POP3< +OK POP3 Ready pyxis.eclipse.net.uk
fetchmail: POP3> USER robert(_at_)harpham(_dot_)eclipse(_dot_)co(_dot_)uk
fetchmail: POP3< +OK USER robert(_at_)harpham(_dot_)eclipse(_dot_)co(_dot_)uk 
set
fetchmail: POP3> PASS *
fetchmail: POP3< +OK You are so in
fetchmail: selecting or re-polling default folder
fetchmail: POP3> STAT
fetchmail: POP3< +OK 2 3517
2 messages for robert(_at_)harpham(_dot_)eclipse(_dot_)co(_dot_)uk at 
mail.eclipse.co.uk (3517
octets).
fetchmail: POP3> LIST
fetchmail: POP3< +OK POP3 clients that break here, they violate STD53.
fetchmail: POP3< 1 1768
fetchmail: POP3< 2 1749
fetchmail: POP3< .
fetchmail: POP3> RETR 1
fetchmail: POP3< +OK 1768 octets follow.
reading message robert(_at_)harpham(_dot_)eclipse(_dot_)co(_dot_)uk@mail.eclipse.co.uk:1 of 2 (1768
octets)
About to rewrite Return-Path: <robert(_at_)fenlanarena(_dot_)co(_dot_)uk>
Rewritten version is Return-Path: <robert(_at_)fenlanarena(_dot_)co(_dot_)uk>

About to rewrite From: "Robert Harpham" 
<robert(_at_)fenlanarena(_dot_)co(_dot_)uk>
Rewritten version is From: "Robert Harpham" 
<robert(_at_)fenlanarena(_dot_)co(_dot_)uk>

About to rewrite To: <robert(_at_)harpham(_dot_)eclipse(_dot_)co(_dot_)uk>
Rewritten version is To: <robert(_at_)harpham(_dot_)eclipse(_dot_)co(_dot_)uk>

fetchmail: no local matches, forwarding to robert
fetchmail: SMTP< 220 server.network ESMTP Sendmail 8.12.10/8.12.10; Sun, 23
Nov 2003 17:23:15 GMT
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-server.network Hello localhost [127.0.0.1], pleased to
meet you
fetchmail: SMTP< 250-ENHANCEDSTATUSCODES
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-8BITMIME
fetchmail: SMTP< 250-SIZE
fetchmail: SMTP< 250-DSN
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250-DELIVERBY
fetchmail: SMTP< 250 HELP
fetchmail: forwarding to localhost
fetchmail: SMTP> MAIL FROM:<robert(_at_)fenlanarena(_dot_)co(_dot_)uk> BODY=7BIT SIZE=1768
fetchmail: SMTP< 250 2.1.0 <robert(_at_)fenlanarena(_dot_)co(_dot_)uk>... 
Sender ok
fetchmail: SMTP> RCPT TO:<robert(_at_)localhost>
fetchmail: SMTP< 250 2.1.5 <robert(_at_)localhost>... Recipient ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Enter mail, end with "." on a line by itself
#**fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 2.0.0 hANHNFFI000658 Message accepted for delivery
not flushed
fetchmail: POP3> RETR 2
fetchmail: POP3< +OK 1749 octets follow.
reading message robert(_at_)harpham(_dot_)eclipse(_dot_)co(_dot_)uk@mail.eclipse.co.uk:2 of 2 (1749
octets)
About to rewrite Return-Path: <robert(_at_)fenlanarena(_dot_)co(_dot_)uk>
Rewritten version is Return-Path: <robert(_at_)fenlanarena(_dot_)co(_dot_)uk>


About to rewrite From: "Robert Harpham" 
<robert(_at_)fenlanarena(_dot_)co(_dot_)uk>
Rewritten version is From: "Robert Harpham" 
<robert(_at_)fenlanarena(_dot_)co(_dot_)uk>

About to rewrite To: <root(_at_)harpham(_dot_)eclipse(_dot_)co(_dot_)uk>
Rewritten version is To: <root(_at_)harpham(_dot_)eclipse(_dot_)co(_dot_)uk>

fetchmail: no local matches, forwarding to robert
fetchmail: forwarding to localhost
fetchmail: SMTP> MAIL FROM:<robert(_at_)fenlanarena(_dot_)co(_dot_)uk> BODY=7BIT SIZE=1749
fetchmail: SMTP< 250 2.1.0 <robert(_at_)fenlanarena(_dot_)co(_dot_)uk>... 
Sender ok
fetchmail: SMTP> RCPT TO:<robert(_at_)localhost>
fetchmail: SMTP< 250 2.1.5 <robert(_at_)localhost>... Recipient ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Enter mail, end with "." on a line by itself
#**fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 2.0.0 hANHNFFJ000658 Message accepted for delivery
not flushed
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Bye-bye.
fetchmail: 6.2.4 querying mail.eclipse.co.uk (protocol POP3) at Sun Nov 23
17:23:16 2003: poll completed
fetchmail: not swapping UID lists, no UIDs seen this query
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 2.0.0 server.network closing connection
fetchmail: Deleting fetchids file.
fetchmail: normal termination, status 0
fetchmail: Deleting fetchids file.
robert(_at_)server:~$


any help would be very welcome
many thanks
kudos



_______________________________________________
Fetchmail-friends mailing list
Fetchmail-friends(_at_)lists(_dot_)ccil(_dot_)org
http://lists.ccil.org/mailman/listinfo/fetchmail-friends



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