Koozali.org: home of the SME Server

qmail logfilter ??

Offline kdeiss

  • 3
  • +0/-0
qmail logfilter ??
« on: September 30, 2007, 11:55:00 PM »
I tried diferent things to make qmail logging more verbose. Especially I'am interested in smtp debugging. I was able to do that for qsmtpd but not for qmail-send. I found that there exist an external tool which does exactly what I'am looking for:

qmail-logfilter-v.2.04  (http://www1.freewebs.com/istewart/qmail-logfilter.html)

But don't have an idea how to integrate it into sme cause the startup / run script is diferent (or I didn't understand it well). Any suggests, or  other ways to debug outgoing smtp traffic ??

thanks  in advance

klaus


Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: qmail logfilter ??
« Reply #1 on: October 01, 2007, 12:02:27 AM »
I tried diferent things to make qmail logging more verbose. Especially I'am interested in smtp debugging. ...

Why do you want qmail logging to be more verbose? Exactly what smtp debugging are you interested in seeing?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: qmail logfilter ??
« Reply #2 on: October 01, 2007, 12:05:04 AM »
I tried diferent things to make qmail logging more verbose. Especially I'am interested in smtp debugging. I was able to do that for qsmtpd but not for qmail-send. I found that there exist an external tool which does exactly what I'am looking for:

qmail-logfilter-v.2.04  (http://www1.freewebs.com/istewart/qmail-logfilter.html)

You misunderstand. qmail-logfilter is not for use with qmail-send, but for use with qmail-smtpd running under tcpserver. SME server does not use qmail-smtpd.

Offline kdeiss

  • 3
  • +0/-0
Re: qmail logfilter ??
« Reply #3 on: October 01, 2007, 08:07:23 AM »
@CharlieBrady
Thanks for your answer.
I would like to log the SMTP conversation. I have some very special problems with an old exchange server (5.5 under nt 4.0) and I would like to see whats going on exactly .....

Do you know annother possibility ???

Thanks

Klaus

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: qmail logfilter ??
« Reply #4 on: October 01, 2007, 03:34:16 PM »
I would like to log the SMTP conversation. I have some very special problems with an old exchange server (5.5 under nt 4.0) and I would like to see whats going on exactly .....

You can capture the whole conversation using network packet capture, without modifying any software.

But I don't understand why you want to log the SMTP conversation - qmail logs quite clearly what response it gets from a peer server it tries to deliver to.

What "very special problems" do you have?

Offline kdeiss

  • 3
  • +0/-0
Re: qmail logfilter ??
« Reply #5 on: October 01, 2007, 07:19:23 PM »
@CharlieBrady

Thanks again for your pacience and answer.

It is very special cause we are using the following scenario: Multiple pop3 accounts from different domains. 3 local domains, some external domains with other mta's - and the reqirement to deliver mail to these domains without sending back the mail to the internet via the smarthost.

I solved nearly all requirements with  the SME Server, but sometimes when SME/Qmail should deliver to that old exchange mta we can't find the e-mail (inside the exchange server). Please believe me that it would be very very usefull for me to have a look to smtp conversation ....

I already wrote some scripts to isolate the problem, isolating msg ids and so on, I think it's more easy to look at the conversation and you do have all information at one view.


> network packet capture

you mean something like ethereal ? There is no way to do it a bit more comfortable ?


thx


Klaus Deiss