Re: Getting greylisting going on a new Debian

Paul Venezia <[email protected]> Thu, 26 Jun 2008 19:28:20 -0400
Newsgroups gmane.mail.spam.greylist.user
Message-ID <[email protected]>
You shouldn't have NULLs for relay IP addresses, obviously. That's  
what's causing the problem. For whatever reason, the code isn't  
getting the relay IP info.


On Jun 26, 2008, at 7:03 PM, thing wrote:

> thing wrote:
>> If its is not broken, can you explain this?
>>
>> The first email goes out fine as I sent to the receipiant earlier,  
>> the second temp fails....
>>
>> If I remove the milter from sendmail.mc and re-compile email works  
>> fine, so its not sendmail as far as I can tell.
>>
>> Could it be the database not responding fast enough? which would be  
>> strange as this is a lot faster machine than the old...
>>
>> hermes:/etc/mail# tail -f /var/log/mail.log
>> Jun 27 10:30:30 hermes sm-mta[15524]: restarting /usr/sbin/sendmail- 
>> mta due to signal
>> Jun 27 10:30:30 hermes sm-mta[12534]: starting daemon (8.13.8): SMTP 
>> +queueing@00:10:00
>> Jun 27 10:31:10 hermes fetchmail[21303]: awakened at Fri 27 Jun  
>> 2008 10:31:10 NZST
>> Jun 27 10:31:14 hermes fetchmail[21303]: sleeping at Fri 27 Jun  
>> 2008 10:31:14 NZST for 900 seconds
>> Jun 27 10:31:36 hermes sm-mta[12551]: m5QMVa5J012551: from=<[email protected] 
>> >, size=410, class=0, nrcpts=1, msgid=<[email protected] 
>> >, proto=ESMTP, daemon=MTA-v4, relay=[192.168.1.108]
>> Jun 27 10:31:36 hermes sm-mta[12551]: m5QMVa5J012551: Milter add:  
>> header: X-Virus-Scanned: ClamAV 0.93.1/7574/Fri Jun 27 09:01:05  
>> 2008 on hermes
>> Jun 27 10:31:36 hermes sm-mta[12551]: m5QMVa5J012551: Milter add:  
>> header: X-Virus-Status: Clean
>> Jun 27 10:31:42 hermes sm-mta[12555]: m5QMVa5J012551: to=<[email protected] 
>> >, ctladdr=<[email protected]> (1000/1000), delay=00:00:06,  
>> xdelay=00:00:06, mailer=esmtp, pri=120410,  
>> relay=vuwunicomx00002.vuw.ac.nz. [130.195.86.22], dsn=2.0.0,  
>> stat=Sent (2.0.0 m5QMT8V5003004 Message accepted for delivery)
>> Jun 27 10:32:05 hermes sm-mta[16829]: m5QMW4RO016829: Milter: to=<[email protected] 
>> >, reject=451 4.7.1 Please try again later (TEMPFAIL)
>> Jun 27 10:32:07 hermes sm-mta[16829]: m5QMW4RO016829: from=<[email protected] 
>> >, size=339, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4,  
>> relay=[192.168.1.108]
>
> from the database.
>
> mysql> select * from relaytofrom;
> +----+-----------+---------------------------------------------- 
> +--------------------------------------+--------------------- 
> +---------------------+---------------+--------------+--------------- 
> +-------------+---------------------+---------------------+
> | id | relay_ip  | mail_from                                    |  
> rcpt_to                              | block_expires       |  
> record_expires      | blocked_count | passed_count | aborted_count |  
> origin_type | create_time         | last_update         |
> +----+-----------+---------------------------------------------- 
> +--------------------------------------+--------------------- 
> +---------------------+---------------+--------------+--------------- 
> +-------------+---------------------+---------------------+
> |  1 | 192.168.1 | NULL                                         |  
> NULL                                 | 0000-00-00 00:00:00 |  
> 9999-12-31 23:59:59 |             0 |            0 |             0 |  
> MANUAL      | 2008-06-27 09:41:17 | 2008-06-27 09:41:17 |
> |  2 | 127.0.0.1 | NULL                                         |  
> NULL                                 | 0000-00-00 00:00:00 |  
> 9999-12-31 23:59:59 |             0 |            0 |             0 |  
> MANUAL      | 2008-06-27 09:41:25 | 2008-06-27 09:41:25 |
> |  3 | NULL      | <[email protected]> | <[email protected] 
> >             | 2008-06-27 09:43:41 | 2008-08-02 10:50:16  
> |             1 |            6 |             0 | AUTO        |  
> 2008-06-27 09:42:41 | 2008-06-27 10:50:16 |
> |  4 | NULL      | <[email protected]>                     | <[email protected] 
> >        | 2008-06-27 09:43:47 | 2008-08-02 09:43:50 |             3  
> |            1 |             0 | AUTO        | 2008-06-27 09:42:47 |  
> 2008-06-27 09:43:50 |
> |  5 | NULL      | <[email protected]>                     | <[email protected] 
> >                      | 2008-06-27 09:49:07 | 2008-08-02 10:31:36  
> |             4 |            2 |             0 | AUTO        |  
> 2008-06-27 09:48:07 | 2008-06-27 10:31:36 |
> |  6 | NULL      | <[email protected]>                     | <[email protected] 
> >             | 2008-06-27 10:33:05 | 2008-07-01 13:32:05  
> |             1 |            0 |             0 | AUTO        |  
> 2008-06-27 10:32:05 | 2008-06-27 10:32:05 |
> |  7 | NULL      | <[email protected]>                     | <[email protected] 
> > | 2008-06-27 10:38:42 | 2008-08-02 10:40:26 |             1  
> |            1 |             0 | AUTO        | 2008-06-27 10:37:42 |  
> 2008-06-27 10:40:26 |
> +----+-----------+---------------------------------------------- 
> +--------------------------------------+--------------------- 
> +---------------------+---------------+--------------+--------------- 
> +-------------+---------------------+---------------------+
> 7 rows in set (0.00 sec)
>
>
>
>
>
> _______________________________________________
> Greylist-users mailing list
> [email protected]
> http://lists.puremagic.com/cgi-bin/mailman/listinfo/greylist-users
>