Re: Getting greylisting going on a new Debian
thing <[email protected]> Fri, 27 Jun 2008 13:29:38 +1200
| Newsgroups | gmane.mail.spam.greylist.user |
|---|---|
| Message-ID | <[email protected]> |
I tried changing the setting, # Also considers mail sent from whitelisted IP's and authenticated # senders as local in case we are acting as a smarthost for them. #sssj$reverse_mail_tracking = 1; $reverse_mail_tracking = 0; Still seems to have a NULL. 8><----- | 13 | NULL | <[email protected]> | <[email protected]> | 2008-06-27 13:36:46 | 2008-06-27 18:28:46 | 1 | 0 | 0 | AUTO | 2008-06-27 13:28:46 | 2008-06-27 13:28:46 | +----+-----------+----------------------------------------------+--------------------------------------+---------------------+---------------------+---------------+--------------+---------------+-------------+---------------------+---------------------+ 13 rows in set (0.00 sec) 8><----- 8><----- Jun 27 13:27:54 hermes sm-mta[17594]: starting daemon (8.13.8): SMTP+queueing@00:10:00 Jun 27 13:28:46 hermes sm-mta[17612]: m5R1SkrK017612: Milter: to=<[email protected]>, reject=451 4.7.1 Please try again later (TEMPFAIL) Jun 27 13:28:49 hermes sm-mta[17612]: m5R1SkrK017612: from=<[email protected]>, size=338, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=[192.168.1.108] 8><----- Brian Ross wrote: > I just reviewed the code for relaydelay and realized I'd forgotten > about the reverse-whitelist option (which would account for the NULLs > in the relay_ip column). Do you have reverse mail tracking on, or off > ($reverse_mail_tracking) (it defaults to on)? > > I'm thinking that we need more information to help you with this > problem.... if you could more carefully coordinate the log snippets > that you're sending with the relaytofrom table information, we might > be able to provide better ideas. > > -Brian > > > thing wrote: >> Brian Ross wrote: >>> The NULLs in relay_ip column don't look right to me at all.... >>> There should always be a value for relay_ip. How did you get the >>> Sendmail::Milter perl module? Did you build it yourself? Do you >>> know if it's linked to the proper version of libmilter for your >>> version of sendmail? >> I have no idea, its all in the Debian package system. >> >> What are the dependancies? >> >> I will go digging through the apt-cache, see if something is missing. >> >> hmmmm, >> >> I have just installed this, >> >> libmail-milter-perl - Perl extension modules for mail filtering via >> milter >> >> ? >> >> Will test. >> >> Nope failed.... >> >> This is what's installed. >> >> 8><--------- >> hermes:/etc/mail# apt-get install libmilter0 >> Reading package lists... Done >> Building dependency tree... Done >> libmilter0 is already the newest version. >> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. >> hermes:/etc/mail# >> hermes:/etc/mail# apt-get install libsendmail-pmilter-perl >> Reading package lists... Done >> Building dependency tree... Done >> libsendmail-pmilter-perl is already the newest version. >> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. >> 8><-------- >> >>> >>> Could you send the complete log entries for this qid: m5QMW4RO016829 ? >>> >> 8><----------- >> hermes:/var/log# grep m5QMW4RO016829 mail.log >> 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] >> 8><----------- >> >> >> >>> >>> >>> thing wrote: >>>> >>>> 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 >> >> _______________________________________________ >> Greylist-users mailing list >> [email protected] >> http://lists.puremagic.com/cgi-bin/mailman/listinfo/greylist-users > _______________________________________________ > Greylist-users mailing list > [email protected] > http://lists.puremagic.com/cgi-bin/mailman/listinfo/greylist-users