[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vps-mail] reject code in procmail
- Subject: [vps-mail] reject code in procmail
- From: Tim Gorter <email@xxxxxxxxxxxxxxxx>
- Date: Wed, 20 Aug 2003 18:59:46 +0200
Hello all,
Just looking at what can be done with procmail and EXITCODE
as one can set EXITCODE=67 on specific case and cause email to bounce
as user unknown, or EXITCODE=77 permission denied, one can cause a
good amount of email just to bounce nicely it seems.
This being the case (please correct me if I am wrong)
is there an EXITCODE for SPAM, i.e. could one be created on a VPS1 (or
VPS2) for a response code saying it is rejected as it looks like SPAM.
i.e. if I set EXITCODE=67 the response looks like the standard..
QUOTE
The original message was received at Wed, 20 Aug 2003 16:48:50 GMT
from user@localhost
----- The following addresses had permanent fatal errors -----
email@xxxxxxxxxxxxxxxx
(reason: User unknown)
----- Transcript of session follows -----
550 5.1.1 email@xxxxxxxxxxxxxxxxxxx User unknown
UNQUOTE
Now if within Sendmail we could assign EXITCODE=79 (for example) to
----- The following addresses had permanent fatal errors -----
email@xxxxxxxxxxxxxxxx
(reason: Reject as email looks like SPAM)
It would be nice..... any comments?
current exitcodes that I can find are at /usr/include/sysexits.h
cheers,
tim.
---------------------------------------------------
Teletechnics Afield
Tel +34 65 22 60 777 Fax +34 63 73 01 920
mailto:email@xxxxxxxxxxxxxxxx http://www.teletechnics.com
currently in: Barceloneta, Spain
======================================================================
Technical questions regarding this list may be sent to
<vps-mail-owner@xxxxxxxxxxxx>. You may request an automated help
response by sending an email with the word 'help' (w/o quotes) in the
BODY of the message (subject is ignored) to <vps-mail-request@xxxxxxxxxxxx>.
======================================================================
Main Index |
Thread Index