Guees I got my hoemwork cut out for me, eh?
Appreciate the RFC references. I have begun to notice though different usages of the same code by remote MTA's.
best regards,
Gerardo Gregory
Systems Administrator wrote:
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'.
-- Gerardo A. Gregory Manager Network Administration and Security 402-970-1463 (Direct) 402-850-4008 (Cell) ------------------------------------------------ Affinitas - Latin for "Relationship" Helping Businesses Acquire, Retain, and Cultivate Customers Visit us at http://www.affinitas.net
------------------------------------------------------- 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