[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mailgraph] Re: Mailgraph 1.14 with Greylisting-Statistics


fabs schrieb:
> What is the definition of "Delayed" and "Greylisted" in the graphs? My count
> for greylisted is always zero but delayed messages are positive. My postgrey
> works fine.
>
> Thanks,
> Fabian
>
>   
On my Debian-Systems (postfix+postgrey+amavis+spamassassin) is Postgrey 
with Debian default file /etc/default/postgrey configured:
root{at}adokalinux:~# cat /etc/default/postgrey
# postgrey startup options, created for Debian

# you may want to set
#   --delay=N   how long to greylist, seconds (default: 300)
#   --max-age=N delete old entries after N days (default: 30)
# see also the postgrey(8) manpage

POSTGREY_OPTS="--inet=127.0.0.1:60000"

# the --greylist-text commandline argument can not be easily passed through
# POSTGREY_OPTS when it contains spaces.  So, insert your text here:
#POSTGREY_TEXT="Your customized rejection message here"

*POSTGREY_TEXT="Greylisted for %s seconds"*

Postgrey process is:
/usr/sbin/postgrey --pidfile=/var/run/postgrey.pid --daemonize 
--inet=127.0.0.1:60000 *--greylist-text=Greylisted for %s seconds**

*Postfix and postgrey do log through syslog-ng to the same logfile 
/var/log/mail.log.
*
*Log-Example:
Jan  7 16:53:19 adokalinux postfix/smtpd[27727]: connect from 
host.domain.example[x.x.x.x]
Jan  7 16:53:19 adokalinux *postfix/smtpd*[27727]: NOQUEUE: reject: RCPT 
from host.domain.example[x.x.x.x]: 450 4.7.1 <alex{at}domain{dot}example{dot}de>: 
Recipient address rejected:* Greylisted for 300 seconds*; 
from=<user{at}host{dot}domain{dot}example> to=<alex{at}domain{dot}example{dot}de> proto=ESMTP 
helo=<host.domain.example>
Jan  7 16:53:20 adokalinux postfix/smtpd[27727]: disconnect from 
host.domain.example[x.x.x.x]
Jan  7 16:58:59 adokalinux postfix/smtpd[27727]: connect from 
host.domain.example[x.x.x.x]
Jan  7 16:58:59 adokalinux *postgrey*[6644]: *delayed 340 seconds: 
*client=host.domain.example, from=user{at}host{dot}domain{dot}example, 
to=alex{at}domain{dot}example{dot}de

Mailgraph looking for postfix-string "Greylisted for 300 seconds" 
(event= greylisted),
and postgrey-string "delayed [0-9]+ seconds: client" (event= delayed).

Regards,
Alex

> Alexander Bech wrote:
>   
>> Hello,
>>
>> I have modified the 1.14  version for display Greylisting-statistics.
>>
>> You can see it on:
>> http://www.bakarasse.de/mailgraph.html
>>
>> Regards,
>> Alex
>>
>> --
>> Unsubscribe mailto:mailgraph-request@list.ee.ethz.ch?subject=unsubscribe
>> Help        mailto:mailgraph-request@list.ee.ethz.ch?subject=help
>> Archive     http://lists.ee.ethz.ch/mailgraph
>> WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi
>>
>>
>>
>>     
>
>   

--
Unsubscribe mailto:mailgraph-request@list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mailgraph-request@list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/mailgraph
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi