If you're interested in SMTP logging, then install the daemontools package
(http://cr.yp.to/daemontools.html) and use multilog.  I get a nice log
file about smtpd transfers that looks like this:

@400000003a8d22e52bcff334 tcpserver: status: 0/20
@400000003a8d233c035c7364 tcpserver: status: 1/20
@400000003a8d233c03651e24 tcpserver: pid 4370 from 1.2.3.4
@400000003a8d233c083a0694 tcpserver: ok 4370 :4.3.2.1:25
:209.218.8.60::4
429
@400000003a8d233d01161d44 tcpserver: end 4370 status 0
@400000003a8d233d0117905c tcpserver: status: 0/20

It's a nice little package, but as with the previous note, you should be
careful with logging if you have a large site.  There is a thing as *too*
much information!  =)

Anyhow, hope this helps.

Cheers,

Tren.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- Tren Blackburn - Owner                mailto:[EMAIL PROTECTED]  =
= End of Time Networks                  http://www.theendoftime.net  -
- (403) 269-2122                                                     =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

On Fri, 16 Feb 2001, Ari Pollak wrote:

> That's your tcp server's fault. If you think about it, qmail logging
> every SMTP access would be kinda dumb on semi-large sites - the logs
> would fill up incredibly fast. Xinetd allows you to log certain
> information about each service, Inetd is pretty bad about that, and I
> don't know about tcpserver.
>
> On Fri, Feb 16, 2001 at 07:11:26AM +0000, Peter Brezny wrote:
> > Ok, I've figured out how i broke the roaming users, but i still don't
> > understand why i never see any log messages with smtp in them, ever.  I get
> > delivery notices, but what exactly does qmail-smtpd do, and why don't i see
> > anything in the logs when i telnet to port 25 ?
> >
> > Thanks for your help.
> >
> > pb
> >
> > Peter Brezny writes:
> >
> > > My roaming users were working perfectly earlier today, then to try and
> > > solve another problem, i reinstalled vpopmail, an identical reinstall over
> > > the old system, and now my roaming users have stopped working.
> > >
> > > I'm stuck and my boss wants this working tomorrow morning.
> > >
> > > vpopmail-4.9.8.tar.gz
> > > qmail-1.03.tar.gz
> > >
> > > are the two programs i've reinstalled over their previous install.  The
> > > only thing this appeared to overwrite is the rcpthosts file in
> > > /var/qmail/controll, which i've restored to its original condition.
> > >
> > > now when a domain hosted on this machine tries to send mail outside of the
> > > server (freebsd42) i get the famous.
> > >
> > > '553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)',
> > > Port: 25,
> > >
> > > Here's the amazingly simple startup file i'm using (i had all kinds of
> > > problems with supervise, or so i thought it was supervise until now).
> > >
> > > #!/bin/sh
> > >
> > > # Using splogger to send the log through syslog.
> > > # Using qmail-local to deliver messages to ~/Maildir by default.
> > >
> > > exec env - PATH="/var/qmail/bin:$PATH" \
> > > qmail-start ./Maildir splogger qmail&
> > >
> > > # vchkpw and qmail-pop3d server config
> > > /usr/local/bin/tcpserver -H -R 0 pop3 \
> > > /var/qmail/bin/qmail-popup sysadmin-inc.com \
> > > /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &
> > >
> > > # config for tcpserver to enable roaming users
> > > /usr/local/bin/tcpserver -H -R -x /home/vpopmail/etc/tcp.smtp.cdb \
> > > -c20 -u81 -g81 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 | \
> > > /var/qmail/bin/splogger &
> > >
> > > what's more, i am yet to see any logging with any reference to smtp or
> > > qmail-smtp, even when i telnet to port 25 on the box.
> > >
> > >
> > > any help on these issues is greatly appreciated.
> > >
> > > Peter Brezny
> > > SysAdmin Services Inc.
> >
> >
> >
> > Peter Brezny
> > SysAdmin Services Inc.
>
> --
>    ___   ___
>   / _ | / _ \   Ari Pollak - [EMAIL PROTECTED] - www.compwiz.nu
>  / __ |/ ___/  ICQ #749825 - AOL IM: aripollak
> /_/ |_/_/     I'm not paranoid! Which of my enemies told you this?
>

Reply via email to