Hi,
I am using fetchmail and qmail for dwnloading mails from my ISP account
for one of my senior's accounts.
But the mails are not getting delivered and bounced to wrong people.
I asked the qmail list about this and they pointed out the following.
I also went thru' fetchmail manual but could find the exact solution.
I am also including my error message and configuration file below.
Please check them for me.
The message from qmail list is,
| Fetchmail is assuming the envelope is recorded in the 'To:' line:
| To: pcipl(_at_)giaspn01(_dot_)vsnl(_dot_)net(_dot_)in
| But, that's forgable: any MTA/MUA can create/change that line.
| I note your installation is using qmail, so it did record a
| Delivered-To line.
| Delivered-To: shanky123(_dot_)pn1(_at_)pn123(_dot_)vsnl(_dot_)net(_dot_)in
| However, that's not a standard RFC822 header, so you have to tell
| fetchmail to also consider this header. See that manpage for
| details.
My config files are given below.
Thanks a lot in advance and bye.
With warm regards,
-Payal
# cat /etc/ppp/ip-up.local
#!/bin/sh
sleep 5
/usr/bin/fetchmail -f /root/.fetchmailrc
To be safe my locals file is,
# cat /var/qmail/control/locals
linux
localhost
localhost.localdomain
localhost.linux
linux.local
# cat /root/.fetchmailrc
# cat .fetchmailrc
set postmaster "postmaster"
set nobouncemail
set nospambounce
set properties ""
poll giaspn01.vsnl.net.in with proto POP3
user shanky123 with password xxxx is shanky123 here
forcecr to * here
Bounce Message is,
--------------
MESSAGE NUMBER 140874
--------------
Received: (qmail 2397 invoked for bounce); 25 Jul 2003 02:08:40 -0000
Date: 25 Jul 2003 02:08:40 -0000
From: MAILER-DAEMON(_at_)linux(_dot_)local
To: mofoman(_at_)aol(_dot_)com
To: mofoman(_at_)aol(_dot_)com
Subject: failure notice
Hi. This is the qmail-send program at linux.local.
I'm afraid I wasn't able to deliver your message to the following
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<pcipl(_at_)localhost>:
Sorry, no mailbox here by that name. (#5.1.1)
--- Below this line is a copy of the message.
Return-Path: <mofoman(_at_)aol(_dot_)com>
Received: (qmail 2394 invoked by uid 0); 25 Jul 2003 02:08:40 -0000
Received: from unknown (HELO localhost) (127.0.0.1)
by localhost with SMTP; 25 Jul 2003 02:08:40 -0000
X-UIDL: L[E!!hG="!^l~"!&L[!!
Delivered-To: shanky123(_dot_)pn1(_at_)pn123(_dot_)vsnl(_dot_)net(_dot_)in
Received: from giaspn01.vsnl.net.in [203.200.235.205]
by localhost with POP3 (fetchmail-6.2.1)
for pcipl(_at_)localhost (multi-drop); Fri, 25 Jul 2003 07:38:40 +0530
(IST)
Received: from giaspn01.vsnl.net.in [203.200.235.205]
by localhost with POP3 (fetchmail-6.2.1)
for pcipl(_at_)localhost (multi-drop); Fri, 25 Jul 2003 07:38:40 +0530
(IST)
Received: from BA191200.user.veloxzone.com.br (unknown [200.149.191.200])
by pn123.vsnl.net.in (Postfix) with SMTP
id C7D69982D; Sat, 19 Jul 2003 02:25:14 +0530 (IST)
Received: from (HELO mk6rhj) [55.129.73.32] by BA191200.user.veloxzone.com.br id
MM3fyL46Yj4p; Fri, 18 Jul 2003 19:50:45 -0200
Message-ID: <ai3ppt-r7m9cq2(_at_)l8px(_dot_)u1zkv(_dot_)fab>
From: "Katy Esposito" <mofoman(_at_)aol(_dot_)com>
Reply-To: "Katy Esposito" <mofoman(_at_)aol(_dot_)com>
To: pcipl(_at_)giaspn01(_dot_)vsnl(_dot_)net(_dot_)in
Subject: Low rates!!!!
Date: Fri, 18 Jul 03 19:50:45 GMT
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="5C_2.9.C7..3FEA_C.266"
X-Priority: 3
X-MSMail-Priority: Normal
Status: O
X-Status:
X-Keywords:
X-UID: 215
--
"Visit GNU/Linux Success Stories"
http://payal.staticky.com
Guest-Book Section Updated.