fetchmail-friends
[Top] [All Lists]

Re: [fetchmail] Help: Posfix and Fetchmail

2003-11-04 05:45:05
From: "Sothun Thay" <sthay(_at_)mopf(_dot_)gov(_dot_)tp>

I have Linux box (RH8.0) with Fetchmail-6.2.5+INET6 and Postfix-1.1.11 on
the same box.

Postfix is configured to forward (relayhost = [172.20.44.10]) all out
going/incomming messages to my EMWAC (W2K [172.20.44.10]) for further both
local/Internet delivery. And it works perfectly these day.

Recently I decided to install Fetchmail on the same box as postfix. It job
is supposed to download messages from the remote ISP POP3, and forward
messges to Postfix, and consequently forward to my EMWAC (W2K) machine. The
thing is that after fetchmail completed downloading, it seems that it tried
to look for a LOCAL user where it can drop messages (but I dont have one in
this box; except the postmaster "sthay").

For further observation, I am herewith attaching .fetchmailrc, fetchmail
log, and main.cf files for your detail.

Your advice would be very much appreciated.

Sot


###################################
.fetchmailrc

set postmaster sthay
poll mail.connect.ie with proto POP3
user mopf there with password 123456 is * here
options fetchall

Pretty standard multi-drop config - looks fine.

###################################
[root(_at_)ml3000 root]# fetchmail -v
fetchmail: 6.2.5 querying mail.connect.ie (protocol POP3) at Tue, 04 Nov
2003 16
:08:43 +0900 (TPT): poll started
fetchmail: POP3< +OK ready
<---SNIP--->
reading message mopf(_at_)mail(_dot_)connect(_dot_)ie:1 of 1 32222 octets)
fetchmail: SMTP> MAIL
FROM:<sentto-4106743-2355-1067924998-jdongail=mopf.gov.tp@
returns.groups.yahoo.com> BODY=7BIT SIZE=32222
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> RCPT TO:<sthay(_at_)localhost>
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 End data with <CR><LF>.<CR><LF>
#*******************.*****************.******************.******************
****
*.**************fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 Ok: queued as 981FD107B0E
 not flushed
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Pop server at ook.connect.ie signing off.
fetchmail: 6.2.5 querying mail.connect.ie (protocol POP3) at Tue, 04 Nov
2003 16
:09:33 +0900 (TPT): poll completed
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 Bye
fetchmail: normal termination, status 0

Email collected and handed over to the local mail server. I guess the problem is the "@localhost". Try setting smtpaddress to your local domain name.

Alternatively, you may want to see if postfix supports the ability to forward all email to a remote host. Certainly sendmail can do this with the MAIL_HUB, LOCAL_RELAY and SMART_HOST options. The postfix mailing list (see http://www.postfix.org/lists.html) may be able to help with that, if nobody else on this list can.


 Please DO NOT send me ANY email directly unless it's a privacy issue.
      Reply-to mangled to assist those who don't read the above.
--
Rob  |  What part of "no" was it you didn't understand?

_________________________________________________________________
On the move? Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile


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