On Tue, Jun 13, 2000 at 05:10:01PM -0700, Michael Boyiazis wrote:
> /usr/local/bin/tcpserver -c 550 -x /etc/security/tcprules/inbound.cdb \
> -u qmaild -g nofiles 0 smtp /var/qmail/bin/qmail-smtpd &
  ********************

At least this is wrong!
You have to put "uid" and "gid" there not "username and "groupname".
tcpserver does:
    case 'u': scan_ulong(optarg,&uid); break;
    case 'g': scan_ulong(optarg,&gid); break;

You may also want to start tcpserver with the "-v" flag and add a
    2>&1 | /var/qmail/bin/splogger smtpd
in front of the ampersand '&' in the above line.
This will result in logging lines like

Jun 15 14:46:17 NNNNNN smtpd: 961073177.826729 tcpserver: pid 43703 from XXX.221.183.47
Jun 15 14:46:17 NNNNNN smtpd: 961073177.832567 tcpserver: ok 43703 
XXXXXX.space.net:195.30.XXX.XXX:25 www.gmx.net:XXX.221.183.47::49075
Jun 15 14:46:17 NNNNNN smtpd: 961073177.881973 tcpserver: end 43703
status 0

and assist you in troubleshooting. If there is a deny entry you will see
a "deny" instead of the "ok".

        \Maex

-- 
SpaceNet GmbH             |   http://www.Space.Net/   | Stress is when you wake
Research & Development    | mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0    | realize you haven't
D-80807 Muenchen          |  Fax: +49 (89) 32356-299  | fallen asleep yet.

Reply via email to