Tom Hendrikx:
> We're currently in the process of parsing postfix logs into something
> that is suitable for end users. After covering lots of basic errors, we
> are working through some edge cases. Since we use customer provided data
> for relaying mail, there is a possibility that something gets
> mis-configured and we get 'too many hops' and related issues.
> 
> However, it seems that the error message is only sent in the smtp dialog
> (554 5.4.0 Error: too many hops), postfix logging does not show
> anything. All I get in non-verbose logging is:
> 
> Sep 18 12:38:58 test postfix-inbound/smtpd[29852]: connect from
> localhost[127.0.0.1]
> Sep 18 12:39:05 test postfix-inbound/smtpd[29852]: 3hzHmT118bz317f:
> client=localhost[127.0.0.1]
> Sep 18 12:39:17 test postfix-inbound/smtpd[29852]: disconnect from
> localhost[127.0.0.1]
> 
> Is there a way to detect a 'too many hops' issue from the logging,
> preferably without changing postfix verbosity?

Does the SMTP client log the rejected command (like Postfix does)?
If not, which program should be changed?

        Wietse

Reply via email to