On Mon, 19 Jan 2004, Gerardo Gregory wrote:
> Is there any dosumented source for the courieresmtpd error codes (i.e.
> 517, 417, 500, 550, etc.) ?
>
> I am writing a shell script to parse my logs for 5xx errors and would
> like to see all the possible errors that could be genrated by couriersmtpd.
The problem is, the error messages after the numbers come from all
different hosts around the Internet, wherever you're sending the message
to (yes, this is the ones in your logs). The SMTP error codes can, I
believe, be found in the SMTP RFCs (2821 and 2822 I believe). The only
way I can see to deal with the other messages is to make sometihng which
parses what you've got in your logs, and e-mails anything unrecognised to
you. Then every time you receive one of these, you can add something to
parse it. They probably don't change *that* much, and you ought to have
most of them in a few months, especially if you use regexes for things
like 'spam' and 'virus'.
--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:�+61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users