Routing the world

Routing & IT System Administration

SMTP session monitoring on Plesk 9 with Qmail

leave a comment »

This command is usefull when you try to see how many smtp sessions and who is connected in Plesk 9 using Qmail.

cat /usr/local/psa/var/log/maillog |grep -I smtp_auth |grep -I user |awk '{print $11}' |sort |uniq -c |sort -n

You can cut this sentence to obtain more detailed information. The result of this command is the number of active smtp connections.

Advertisements

Written by Root

May 6, 2009 at 10:30

Posted in Plesk

Tagged with

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: