Quick&Easy - Mail Server Howto

015-BSD

Lo scopo di questo howto è descrivere molto semplicemente (copia/incolla) l'implementazione di un servizio di posta
che consenta agli utenti del sistema di accedere alla propria mailbox tramite interfaccia web oppure attraverso i protocolli POP3 e IMAP.
Per l'implementazione del servizio, abbiamo selezionato alcuni strumenti facendo attenzione in prevalenza alla sicurezza e stabilità.
Questo documento fa riferimento alla installazione dei pacchetti in ambiente FreeBSD.

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

Contenuti:

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

Lo Scenario:

In questo esempio il mailserver si occupa di gestire e filtrare la posta relativa ad un dominio virtuale di un piccolo ufficio.
La macchina server è fisicamente connessa alle reti tramite due schede, una in comunicazione diretta con la rete interna 192.168.2.,
l'altra alla rete esterna tramite indirizzo ip statico/pubblico fornito dall'ISP, a tal proposito si consiglia la lettura di PF: Esempio: Firewall per Piccole situazioni.

192.168.2.1 rl0 [ BSD ] rl1 xxx.xxx.xxx.xxx -------- ( Internet )

top
--------------------------------------------------------------------------------------------------------------------------------------------------------------------

Sistema:

FreeBSD 6.2-STABLE (PIII 933, ram 256, HD 80Gb, 2 realtech8139)

top
--------------------------------------------------------------------------------------------------------------------------------------------------------------------

Obbiettivo:

Gli obbiettivi sono:

top
--------------------------------------------------------------------------------------------------------------------------------------------------------------------

Il Software utilizzato:

djbdns-1.05_10 A collection of secure and reliable DNS tools (daemontools-0.76_9 Service monitoring and logging utilities by djb ucspi-tcp-0.88_1 Command-line tools for building TCP client-server application)
qmail-1.03_3 A secure, reliable, efficient, simple, and fast MTA
qmail-tls This patch implements RFC2487 in qmail. This means you can get SSL or TLS encrypted and authenticated SMTP between the MTAs and between MTA and an MUA like Netscape4.5 TM. The code is considered experimental.
vpopmail-5.4.6_1 Easy virtual domain and authentication package for use with
simscan-1.1 Fast Content/Anti-virus Scanner for qmail Written in C
p5-Mail-SpamAssassin A highly efficient mail filter for identifying spam
Clamav-0.85 Command line virus scanner written entirely in C
apache+mod_ssl-1.3.33+2.8.22 The Apache 1.3 webserver with SSL/TLS functionality
qmailadmin-1.2.0_2,1 CGI program for administering Qmail with vchkpw/vpopmail
courier-imap-4.0.2,1 MAP (and POP3) server that provides access to Maildir mail
courier-authlib-0.55_1 Authentication library used by courier ports
Squirrelmail-1.4.9 A webmail system which accesses mail over imap

top
--------------------------------------------------------------------------------------------------------------------------------------------------------------------

Partenza:

djbdns:

# cd /usr/ports/dns/djbdns && make install clean

Vengono installate come dipendenze anche le daemontools e ezmlm, seguire dunque djbdns how-to.
In particolare la sezione 5.2 root server privati.

qmail:
qmail è un Internet Mail Transfer Agent (MTA) per sistemi UNIX-like.
qmail usa il Simple Mail Transfer Protocol (SMTP) per scambiare messaggi con gli altri MTA su altri sistemi.
qmail-tls: Questa patch implementa RFC2487 in qmail. Questo permette di avere un SMTP criptato e autenticato SSL o TLS tra MTA e tra MTA e MUA come Mozilla Thunderbird.
Per ulteriori approfondimenti http://www.lifewithqmail.org/.
La pagina ufficiale di qmail, http://cr.yp.to/qmail.html descrive più approfonditamente i vantaggi di qmail.

Installazione:

# cd /usr/ports/mail/qmail-tls && make config

Selezionare le opzioni di configurazione:

[X] SMTP_AUTH_PATCH Provide SMTP Authentication
[X] QMAILQUEUE_PATCH run a QMAILQUEUE program
[ ] BIG_TODO_PATCH enable big_todo qmail patch
[ ] BIG_CONCURRENCY_PATCH use a concurrency greater than 240
[X] OUTGOINGIP_PATCH set the IP address to send messages
[X] LOCALTIME_PATCH emit dates in the local timezone
[ ] QMTPC_PATCH send email using qmtp protocol
[ ] MAILDIRQUOTA_PATCH Maildir++ support
[X] BLOCKEXEC_PATCH block many windows viruses/worms
[X] DISCBOUNCES_PATCH discard double-bounces
[ ] SPF_PATCH Implement SPF checker
[ ] EXTTODO_PATCH extern high-perform. todo processing
[X] TLS_DEBUG enable additional debug information
[ ] RCDLINK create rc.d/qmail.sh

# make install
# make disable-sendmail
# make enable-qmail
# make clean

Inserire le righe:
#qmail_enable="YES"
qmail_smtp_enable="YES"
sendmail_enable="NONE"
nel file/etc/rc.conf.

mailer.conf:
# cp /var/qmail/doc/mailer.conf.sample /etc/mail/mailer.conf

# Configuration for mailwrapper is kept in /etc/mail/mailer.conf.
# Replace that file with this one to enable qmail under a sendmail
# disguise. Very useful.

sendmail /var/qmail/bin/sendmail
send-mail /var/qmail/bin/sendmail
mailq /var/qmail/bin/qmail-qread
#newaliases /var/qmail/bin/newaliases
hoststat /var/qmail/bin/qmail-tcpto
purgestat /var/qmail/bin/qmail-tcpok

newaliases è nella nostra configurazione volutamente remmato, l'implementazione di questa funzione richiede l'installazione della patch fastforward, non ancora disponibile nell'albero dei ports.

Creare le direcrory services, i file di run e i programmare i log:
Copiare il file qmail_ready.tgz nella directory /var/qmail e lanciare il comando tar zxvpPf qmail_ready.tgz (script by Cristiano Deana)

Correggere il file /qmail-smtpd/run
# vi /var/qmail/supervise/qmail-smtpd/run

#!/bin/sh
IP="0"
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" ]; then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi
if [ ! -f /var/qmail/control/rcpthosts ]; then
echo "No /var/qmail/control/rcpthosts!"
echo "Refusing to start SMTP listener because it'll create an open relay"
exit 1
fi
exec /usr/local/bin/softlimit -m 200000000 \
/usr/local/bin/tcpserver -v -p -R -H -l "$LOCAL" -x /usr/local/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" $IP smtp /usr/local/bin/rblsmtpd -r relays.ordb.org -r list.dsbl.org \
-r combined.njabl.org -r bl.spamcop.net -r dul.dnsbl.sorbs.net -r sbl-xbl.spamhaus.org \
-r rbl.maps.vix.com -r relays.orbs.org /var/qmail/bin/qmail-smtpd nome.dominio.xxx \
/usr/local/vpopmail/bin/vchkpw /usr/bin/true 2>&1

Configurare qmail:

creare il file /var/qmail/control/me
creare il file /var/qmail/control/locals
creare il file /var/qmail/control/queuelifetime
creare il file /var/qmail/control/concurrencyincoming
creare il file /var/qmail/control/defaultdelivery

Controllo Default Usato da Scopo
badmailfrom none qmail-smtpd blacklisted per indirizzo (From)
bouncefrom MAILER-DAEMON qmail-send username del mittente del bounce
bouncehost me qmail-send hostname del mittente del bounce
concurrencylocal 10 qmail-send max numero di consegne simultanee locali
concurrencyremote 20 qmail-send max numero di consegne simultanee remote
defaultdomain me qmail-inject nome predefinito del dominio
defaulthost me qmail-inject nome predefinito dell'host
databytes 0 qmail-smtpd max numero di bytes per messaggio (0=no limit)
doublebouncehost me qmail-send host name del mittente del doppio bounce
doublebounceto postmaster qmail-send user che riceve il doppio bounce
envnoathost me qmail-send dominio predefinitp per gli indirizzi senza "@"
helohost me qmail-remote host name usato nel comando SMTP HELO
idhost me qmail-inject host name per Message-ID
localiphost me qmail-smtpd nome sostituito per l'IP locale
locals me qmail-send domini per i quali effetturare la consegna in locale
me FQDN of system various predefinito per molti file di controllo
morercpthosts none qmail-smtpd database rcpthosts secondario
percenthack none qmail-send domini che possono usare "%"-style relaying
plusdomain me qmail-inject domini sostituiti per i "+" finali
qmqpservers none qmail-qmqpc indirizzo IP del server QMQP
queuelifetime 604800 qmail-send secondi che un messaggio può rimanere in coda
rcpthosts none qmail-smtpd domini per i quali accettiamo la posta
smtpgreeting me qmail-smtpd Messaggio di benvenuto dell'SMTP
smtproutes none qmail-remote Route SMTP artificiali
timeoutconnect 60 qmail-remote attesa, in secondi, per una connessione SMTP
timeoutremote 1200 qmail-remote attesa, in secondi, per il server remoto
timeoutsmtpd 1200 qmail-smtpd attesa, in secondi, per un client SMTP
virtualdomains none qmail-send domini virtuali ed utenti

Linkare le directory di qmail con la directory /var/service per l'utilizzo delle daemontools:

# ln -s /var/qmail/supervise/qmail-smtpd /var/service/qmail-smtpd
# ln -s /var/qmail/supervise/qmail-send /var/service/qmail-send
# ln -s /var/qmail/supervise/qmail-pop3d /var/service/qmail-pop3d

simscan:
# cd /usr/ports/mail/simscan && make config
Selezionare le opzioni di configurazione:

[X] CLAMAV Support for ClamAV Virus Scanning
[X] SPAMD Support for SpamAssassin Spam Filtering
[X] USER Turn On Per User SpamAssassin (required SPAMD)
[X] DOMAIN Turn On Per Domain Based Checking
[X] ATTACH Turn On Attachment Scanning (required CLAMAV)
[X] DROPMSG Drop Message in Case of Virus Found
[X] HEADERS Add a Received Line With Versions of Scanners

# make install clean

vpopmail:

# cd /usr/ports/mail/vpopmail && make install clean

creare il dominio
# /usr/local/vpopmail/bin/vadddomain nomedominio

La password di postmaster verrà richiesta in qmailadmin.

simscan & vpopmail:

Creare e compilare il file /usr/local/vpopmail/etc/tcp.smtp
# vi /usr/local/vpopmail/etc/tcp.smtp

127.:allow,RELAYCLIENT=""
192.168.2.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/simscan"
:allow,QMAILQUEUE="/var/qmail/bin/simscan"

Il file tcp.smtp deve essere compilato in tcp.smtp.cdb in questo modo:
# cd /usr/local/vpopmail/etc/
# /usr/local/bin/tcprules tcp.smtp.cdb tempfile < tcp.smtp

clamav:

# cd /usr/ports/security/clamav && make install clean

Controllare che clamav giri con utente simscan:

# grep User /usr/local/etc/clamd.conf
# User clamav
User simscan

Per utilizzare clamav con le daemontools far girare clamav in foreground:
# vi /usr/local/etc/clamd.conf

# Don't fork into background.
# Default: disabled
Foreground

Simscan deve poter scrivere nelle directory di clamav quindi aggiungere simscan nel gruppo di clamav
# vi /etc/group

clamav:*:106:simscan

Cambiare i permessi ai file di clamav:
# chmod 775 /var/run/clamav/ /var/log/clamav/

Inserire le righe:
# clamav_clamd_enable="YES" #under daemontools
clamav_freshclam_enable="YES"
nel file/etc/rc.conf.

clamav&daemontools:

Creare la directory /usr/local/etc/clamav/
# mkdir /usr/local/etc/clamav/
# vi /usr/local/etc/clamav/run

#!/bin/sh
exec /usr/local/sbin/clamd 2>&1

# vi /usr/local/sbin/etc/clamav/log/run

#!/bin/sh
exec /usr/local/bin/setuidgid clamav /usr/local/bin/multilog t n30 s2500000 /var/log/clamav

Creare la cartella /var/log/clamav e assegnare l'utente e gruppo clamav.

Legare la directory alla directory /etc/servce
# ln -s /usr/local/etc/clamav/ /var/service/clamav

simscan & clamav & spamassassin & trophie:

Creare il file /var/qmail/simcontrol:
# vi /var/qmail/control/simcontrol

:clam=yes,spam=yes,trophie=no,spam_hits=15.1

quindi lanciare
# /var/qmail/bin/simscanmk
Per creare il file cdb usato da simscan.
I cambiamenti prenderanno effetto da subito.

Spamassassin:

# cd /usr/ports/mail/p5-Mail-SpamAssassin && make config

[ ] AS_ROOT Run spamd as root (recommended)
[ ] DOMAINKEYS DomainKeys support
[ ] DKIM DomainKeys Identified Mail
[X] SSL Build with SSL support for spamd/spamc
[X] GNUPG Install GnuPG (for sa-update)
[ ] MYSQL Add MySQL support
[ ] PGSQL Add PostreSQL support
[X] RAZOR Add Vipul's Razor support
[ ] SPF_QUERY Add SPF query support
[ ] RELAY_COUNTRY Relay country support
[X] TOOLS Install SpamAssassin tools

# make install clean

Inserire la riga spamd_enable="YES" nel file/etc/rc.conf

Compilare il file local.cf di spamassassin

# vi /usr/local/etc/mail/spamassassin/local.cf

rewrite_header Subject *****SPAM*****
trusted_networks 192.168.2
trusted_networks 127.
required_score 5.0
use_bayes 1
bayes_auto_learn 1
skip_rbl_checks 0
rbl_timeout 3
score RCVD_IN_BL_SPAMCOP_NET 3

 

Spamassassin&vpopmail:

Specificare l'utente di utilizzo di spamassassin e l'utilizzo delle configurazioni di vpopmail in: /usr/local/etc/rc.d/sa-spamd.sh aggiungere alla riga:
command_args="-d -u vpopmail -v -r ${pidfile}"

-d, --daemonize Detach from starting process and run in background (daemonize).
-u username, --username=username
Run as the named user.
If this option is not set, the default behaviour is to setuid() to the user running "spamc", if "spamd" is running as root.
-v, --vpopmail Enable vpopmail config. If specified with with -u set to the vpopmail user, this allows spamd to
lookup/create user_prefs in the vpopmail user's own maildir.
This option is useful for vpopmail virtual users who do not have an entry in the system /etc/passwd file.
-r pidfile, --pidfile=pidfile

Write the process ID of the spamd parent to the file specified by pidfile.
The file will be unlinked when the parent exits.
Note that when running with the -u option, the file must be writable by that user.

courier-imap:

# cd /usr/ports/mail/courier-imap/ && make config

[X] OPENSSL Build with OpenSSL support
[ ] FAM Build in fam support for IDLE command
[ ] DRAC Build in DRAC support
[ ] TRASHQUOTA Include deleted mails in the quota
[ ] GDBM Use gdbm db instead of system bdb
[X] IPV6 Build with IPv6 support
[ ] AUTH_LDAP LDAP support
[ ] AUTH_MYSQL MySQL support
[ ] AUTH_PGSQL PostgreSQL support
[ ] AUTH_USERDB Userdb support
[X] AUTH_VCHKPW Vpopmail/vchkpw support

# make install clean

Inserire le righe
courier_authdaemond_enable="YES"
courier_imap_imapd_enable="YES"
nel file/etc/rc.conf.

apache:

Installazione da ports:
# cd /usr/ports/www/apache13-modssl && make install clean

Per l'avvio di apache13 compilare il file /etc/hosts segnalando il nome macchina e relativo indirizzo ip.

Inserire la riga apache_enable="YES" nel file/etc/rc.conf.

qmailadmin:

Installazione da ports:
# cd /usr/ports/mail/qmailadmin && make install clean

Spostare il contenuto delle 2 directory create dall'installazione:
# mv /usr/local/www/cgi-bin.default/qmailadmin/ /usr/local/www/cgi-bin
# mv /usr/local/data.default/qmailadmin/ /usr/local/www/data

Per praticità aggiungere al file /usr/local/etc/apache/httpd.conf le seguenti righe:


##qmailadmin##
scriptAlias /admin-posta /usr/local/www/cgi-bin/qmailadmin/qmailadmin
<Directory "/usr/local/www/cgi-bin/qmailadmin/qmailadmin">
AllowOverride AuthConfig
Options ExecCGI
Order allow,deny
Allow from all
</Directory>

In questo modo la chiamata al server apache sarà di questo tipo:
http://nome.dominio.xxx/admin-posta/

Aggiungere tramite interfaccia web i nuovi account di posta.

Squirrelmail:

# cd /usr/ports/mail/squirrelmail && make install clean

La chiamata al server apache sarà di questo tipo:
http://nome.dominio.xxx/squirrelmail/

Ezmlm:

Interessante è l'utilizzo di ezmlm come mailing list aziendale, per comunicazioni interne.

# cd /usr/local/etc/ezmlm/
# cp ezmlmglrc.sample ezmlmglrc
# cp ezmlmrc.sample ezmlmrc
# cp ezmlmsubrc.sample ezmlmsubrc

Creare ora la mailing list e aggiungere gli utenti tramite qmailadmin.

top
--------------------------------------------------------------------------------------------------------------------------------------------------------------------

Cartelle e file:

La cartella /var/service/:

# ls -la /var/service/

total 4
drwxr-xr-x 2 root wheel 512 Oct 31 22:26 .
drwxr-xr-x 26 root wheel 512 Feb 7 17:35 ..
lrwxr-xr-x 1 root wheel 22 Oct 31 21:47 clamav -> /usr/local/etc/clamav/
lrwxr-xr-x 1 root wheel 23 Oct 31 22:23 dnscache -> /usr/local/etc/dnscache
lrwxr-xr-x 1 root wheel 33 Oct 31 21:43 qmail-pop3d -> /var/qmail/supervise/qmail-pop3d/
lrwxr-xr-x 1 root wheel 32 Oct 31 21:43 qmail-send -> /var/qmail/supervise/qmail-send/
lrwxr-xr-x 1 root wheel 33 Oct 31 21:43 qmail-smtpd -> /var/qmail/supervise/qmail-smtpd/
lrwxr-xr-x 1 root wheel 23 Oct 31 22:26 tinydns -> /usr/local/etc/tinydns/

 

La cartella /var/qmail/control:

# ls -la /var/qmail/control/

total 26
drwxr-xr-x 2 root qmail 512 Feb 7 15:53 .
drwxr-xr-x 14 root qmail 512 Jan 15 17:31 ..
-rw-r--r-- 1 root qmail 3 Jan 15 17:17 concurrencyincoming
-rw-r--r-- 1 root qmail 10 Oct 31 18:11 defaultdelivery
-rw-r--r-- 1 root qmail 15 Oct 31 23:01 defaultdomain
-rw-r--r-- 1 root qmail 23 Oct 31 18:16 locals
-rw------- 1 root qmail 0 Oct 31 18:16 locals.lock
-rw-r--r-- 1 root qmail 23 Oct 31 18:07 me
-rw-r--r-- 1 root qmail 8 Feb 7 15:53 queuelifetime
-rw-r--r-- 1 root qmail 15 Oct 31 18:16 rcpthosts
-rw------- 1 root qmail 0 Oct 31 18:16 rcpthosts.lock
-rw-r----- 1 qmaild qmail 2034 Oct 31 16:17 servercert.pem
-rw-r--r-- 1 root qmail 45 Jan 15 17:37 simcontrol
-rw-r--r-- 1 root qmail 12 Nov 2 16:43 smtproutes
-rw-r--r-- 1 root qmail 30 Oct 31 18:16 virtualdomains
-rw------- 1 root qmail 0 Oct 31 18:16 virtualdomains.lock

Il file /etc/rc.conf:

# -- sysinstall generated deltas -- # Tue Oct 31 16:21:04 2006
# Created: Tue Oct 31 16:21:04 2006
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter="xxx.xxx.xxx.xxx"
gateway_enable="YES"
hostname="nome.dominio.xxx"
ifconfig_rl0="inet 192.168.2.1 netmask 255.255.255.0"
ifconfig_rl1="inet "ip publico/statico" netmask xxx.xxx.xxx.xxx "
inetd_enable="YES"
keymap="it.iso"
moused_enable="NO"
sshd_enable="YES"
usbd_enable="YES"
pf_enable="YES" # Enable PF (load module if required)
pf_rules="/etc/pf.conf" # rules definition file for pf
pf_flags="" # additional flags for pfctl startup
pflog_enable="YES" # start pflogd(8)
pflog_logfile="/var/log/pflog" # where pflogd should store the logfile
pflog_flags="" # additional flags for pflogd startup
svscan_enable="YES"
dhcpd_enable="YES"
sendmail_enable="NONE"
qmail_enable="YES"
qmail_smtp_enable="YES"
courier_authdaemond_enable="YES"
courier_imap_imapd_enable="YES"
spamd_enable="YES"
proftpd_enable="YES"
courier_imap_imapd="YES"
#clamav_clamd_enable="YES" #under daemontools
clamav_freshclam_enable="YES"
squid_enable=yes # eventuale proxy server
proftpd_enable="YES" # eventuale server FTP
ftpproxy_flags=""
apache_enable="YES"
samba_enable="YES"
#snort_enable="YES" #installazione IDS consigliata

top
--------------------------------------------------------------------------------------------------------------------------------------------------------------------

ps -aux | grep:

# ps -aux | grep super
root 68953 0.0 0.2 1264 508 ?? I 1:40AM 0:00.00 supervise qmail-smtpd
root 68954 0.0 0.2 1264 508 ?? I 1:40AM 0:00.00 supervise log
root 68955 0.0 0.2 1264 508 ?? I 1:40AM 0:00.00 supervise qmail-send
root 68956 0.0 0.2 1264 508 ?? I 1:40AM 0:00.00 supervise log
root 68957 0.0 0.2 1264 508 ?? I 1:40AM 0:00.00 supervise qmail-pop3d
root 68958 0.0 0.2 1264 508 ?? I 1:40AM 0:00.00 supervise log
root 68966 0.0 0.2 1264 508 ?? I 1:40AM 0:00.00 supervise dnscache
root 68967 0.0 0.2 1264 508 ?? I 1:40AM 0:00.00 supervise log
root 68970 0.0 0.2 1264 508 ?? I 1:40AM 0:00.00 supervise tinydns
root 68971 0.0 0.2 1264 508 ?? I 1:40AM 0:00.00 supervise log
root 68983 0.0 0.2 1264 520 ?? S 1:40AM 0:00.48 supervise clamav
root 68984 0.0 0.2 1264 520 ?? S 1:40AM 0:00.47 supervise log
root 70205 0.0 1.6 6212 3980 p0 RV 1:49AM 0:00.00 grep super (csh)

# ps -auxww | grep qmail
root 68953 0.0 0.2 1264 508 ?? I 1:40AM 0:00.00 supervise qmail-smtpd
root 68955 0.0 0.2 1264 508 ?? I 1:40AM 0:00.00 supervise qmail-send
root 68957 0.0 0.2 1264 508 ?? I 1:40AM 0:00.00 supervise qmail-pop3d
qmaill 68959 0.0 0.2 1276 476 ?? I 1:40AM 0:00.02 /usr/local/bin/multilog t s2500000 /var/log/qmail/qmail-smtpd
qmails 68963 0.0 0.2 1328 616 ?? I 1:40AM 0:00.04 qmail-send
root 68964 0.0 0.3 1324 720 ?? I 1:40AM 0:00.01 /usr/local/bin/tcpserver -v -H -R 0 pop3 /var/qmail/bin/qmail-popup pop3.nome.dominio.xxx /usr/local/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
qmaill 68965 0.0 0.2 1276 476 ?? I 1:40AM 0:00.02 /usr/local/bin/multilog t s2500000 /var/log/qmail/qmail-send
qmaill 68972 0.0 0.2 1276 476 ?? I 1:40AM 0:00.01 /usr/local/bin/multilog t n30 s2500000 /var/log/qmail/qmail-pop3d
root 68977 0.0 0.2 1284 544 ?? I 1:40AM 0:00.01 qmail-lspawn ./Maildir/
qmailr 68978 0.0 0.2 1284 512 ?? I 1:40AM 0:00.00 qmail-rspawn
qmailq 68979 0.0 0.2 1280 568 ?? I 1:40AM 0:00.01 qmail-clean
root 70468 0.0 0.3 1600 884 p0 S+ 1:51AM 0:00.00 grep qmail

top
--------------------------------------------------------------------------------------------------------------------------------------------------------------------

www.freebsd.org - "the power to serve"
www.gufi.org - Gruppo Utenti Freebsd Italia irc:azzurra.org - /j #freebsd-it
www.015-bsd.org - Gruppo Utenti Freebsd Biella - irc:azzurra.org - /j #biella-bsd