Re: [flalug] Postfix/fetchmail troubles

From: Steve Litt (slitt@troubleshooters.com)
Date: Mon Nov 28 2005 - 21:44:26 EST


On Monday 28 November 2005 05:08 pm, jeff wrote:
> On Monday 28 November 2005 04:10 pm, Chad Perrin wrote:
> > Are you sure that spamassassin isn't configured in such a way that it is
> > causing the emails to be lost? If that's the case, looking at fetchmail
> > probably won't help much. It's not clear to me, from your explanation
> > of what's happening, where exactly it's getting lost.
> >
> > > What is wrong with the configuration that local mail works until
> > > fetchmail gets mail from the ISP? And why is fetchmail unable to find
> > > the user accounts?
> >
> > I think [I|we] would need to see your .fetchmailrc before any definitive
> > answers could be offered. If you post it to the list, make sure you
> > don't forget to obscure any passwords that might appear in the file.
>
> OK, but I don't think that mine is any different than yours.
> ***********
> # Configuration created Mon Nov 28 10:38:59 2005 by fetchmailconf
> set postmaster "jeff"
> set bouncemail
> set no spambounce
> set properties ""
> poll pop-server.tampabay.rr.com with proto POP3
> user 'jdavis70' there with password 'bar' is 'jeff' here
> *************
>
> > set daemon [n]
>
> In my case I don't need that line. I have a script that runs as each user
> in sequence from a cron job. Or at least it will once I get this fixed. ;)
>
> If it helps, here is the error that I get when fetchmail runs:
> **************
> 1 message for jdavis70 at pop-server.tampabay.rr.com (1384 octets).
> reading message jdavis70@pop-server.tampabay.rr.com:1 of 1 (1384
> octets) .fetchmail: SMTP error: 504 <jeff@localhost>: Recipient address
> rejected: need fully-qualified address
> fetchmail: mail from FETCHMAIL-DAEMON@localhost.localdomain bounced to
> jdavis70@tampabay.rr.com
> fetchmail: can't even send to jeff!
> flushed
> *************
>
> Why is jeff@localhost a bad address only when fetchmail runs?
>
> Jeff

Hi Jeff,

This is a wild and crazy guess, but try running fetchmail like this:

fetchmail -d60 -m "/usr/bin/procmail -d %T"

Running it like that sends the mail back to procmail instead of sending it to
your machine's (possibly ill configured) smtp server.

For more info, see here:

http://www.troubleshooters.com/lpm/200402/200402.htm

SteveT

Steve Litt
Founder and acting president: GoLUG
http://www.golug.org



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:18:27 EDT