> >ps aux | egrep -ic "smtpd"
>
>57
57 doesn't sound likes it's maxed. if you have 50, command will show 51,
100 shows 101. but 57 sounds like a lot anyway.
> >and compare that number with what is in master.cf
>
>Which number in master.cf?the max smtpd processes are on the first line:
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (50)
# ==========================================================================
smtp inet n - n - - smtpd
these commands will show you the IP and PTRs that are connecting today:
awk '/smtpd.* connect from/{ print $8}' /var/log/maillog | sort -f | uniq
-ic | sort -rf | less
awk '/smtpd.* connect from/{ print $8}' /var/log/maillog | sort -f | uniq
-ic | sort -t[ -k2 | less
also, in pflogsumm report, look at the section for smtpd statistics to see
how many connections/hour, how many seconds/smtp_session.
and then look at same report for a day last week.
Len