Andre Oppermann <[EMAIL PROTECTED]> writes:

> Feel free to roll your own patch which send's all it's stuff to syslog.

No need if you use tcpd in inetd:

In /etc/inetd.conf have something like this:

  smtp    stream  tcp     nowait.200  qmaild  /usr/sbin/tcpd smtp

and then in /etc/hosts.allow, have this silliness:

  smtp: localhost: setenv RELAYCLIENT:twist { { /usr/bin/tcp-env /usr/sbin/qmail-smtpd 
1>&3;} 2>&1|splogger qmail;} 3>&1
  smtp: ALL: twist { { /usr/bin/tcp-env /usr/sbin/qmail-smtpd 1>&3;} 2>&1|splogger 
qmail;} 3>&1

You'll need to add any other hosts you need to do relaying to the first line.

Yet another example of qmail not needing a patch :-)

Cheers, Phil.

Reply via email to