fetchmail-friends
[Top] [All Lists]

Re: [fetchmail]Rejecting large messages when using "sendmail" for delivery

2005-06-28 07:37:29
On 28/06/05, Ed W <lists(_at_)wildgooses(_dot_)com> wrote:
I have postfix installed locally and was finding problems with feeding
mail in via SMTP to do with some spam messages being bounced when I
really want them accepted and filtered locally as spam.  So I am now
doing delivery via the "sendmail" commandline app.

Why not look at the anti-spam codes?

I could use the "-l" option, but this seems to leave the mail on the
server and send warnings to the recipient.  This is supposed to be used
in an ISP type environment, so really I would prefer to bounce the
message back to the orig sender and hence get them to resend it in a
smaller format.

Looking at the man page, under the "-l option":

Combined with --flush, it can be used to delete oversized messages
waiting on a server. In daemon mode, oversize notifications are mailed
to the calling user (see the --warnings option).

So, you could probably find a way to script the bounce message, but it
may be easier to educate (with a large stick possibly) the people
sending the stupid sized emails :-)

-- 
                 Please keep list traffic on the list.
Rob MacGregor
      Whoever fights monsters should see to it that in the process he 
        doesn't become a monster.                  Friedrich Nietzsche