Re: fetchmail not fetchaing spam



David Bolt wrote:
1) Header of a spam mail:
Return-Path: <mate-sedrob@>

How did That's not good.

I know. Others will be interested in how it should look. I am aware of
that already. ;-)

2) log error:
Jul 28 20:17:42 penne postfix/smtpd[8750]: warning: Illegal address
syntax from localhost[127.0.0.1] in MAIL command: <mate-sedrob@>

And here's the log entry produced by your local server doing the Right
Thing (TM) and rejecting the broken mail sender address.

Yes and no. What if I WANT to recieve it? Could I edit postfix that way
that it accepts enything from localhost?

Is there anything I can do to retrieve that mail with fetchmail so that
it will be killed?

I don't know about using fetchmail to retrieve it. Your local server is
correctly rejecting the mail as the return path should be valid but, for
this mail, it isn't. Unfortunately, because they are rejected, fetchmail
doesn't mark them as received and so they sit there "forever", or until
you either manually delete the bad mail, or your host deletes them.

And that is my problem.

As a temporary measure, what you could do with is something that will
log in to the mailbox, delete the bad mails and then let fetchmail do
its job.

That is what I do now, but that is not an option.

What you could really do with is for your mail host to fix their
server(s) so it/they reject such obviously bad mail.

As that is out of my hands, I would love to see if there is an option on
my side.

houghi
--
Remind me to write an article on the compulsive reading of news. The
theme will be that most neuroses can be traced to the unhealthy habit
of wallowing in the troubles of five billion strangers. -- Heinlein
.



Relevant Pages

  • Re: fetchmail not fetchaing spam
    ... 220-By sending mail to this server ... Connection closed by foreign host. ... And here's the log entry produced by your local server doing the Right ... I don't know about using fetchmail to retrieve it. ...
    (alt.os.linux.suse)
  • Re: fetchmail not fetchaing spam
    ... Thing and rejecting the broken mail sender address. ... possibly just tell you to tell your mail host that their server is ... Unfortunately, because they are rejected, fetchmail ...
    (alt.os.linux.suse)
  • Re: Mail Server hit hard
    ... > Here is a copy of a log entry. ... > different relay so rejecting all is a job. ... use hotmail for email replies ...
    (comp.os.linux.security)