Mailinglist Archive: opensuse (2086 mails)

< Previous Next >
[opensuse] Post Restrict local.domain.com to local.domain.com ::ffff:ip (OpenSUSE 10.2)
  • From: Boyd Lynn Gerber <gerberb@xxxxxxxxx>
  • Date: Thu, 23 Aug 2007 04:16:54 -0600
  • Message-id: <Pine.LNX.4.64.0708230329270.17306@xxxxxxxxxxxxxxx>
Hello,

I have a complete forward and reverse DNS setup for local.domain.com and I
am trying to restrict all 192.168.x.x addresses.  I am using in main.cf

smtpd_restriction_classes = local_only
local_only = check_recipient_access hash:/etc/postfix/local_only, reject
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/restricted_senders,
permit_sasl_authenticated,permit_mynetworks,check_relay_domains

and local_only has all 64770 entries below.

192.168.0.1 OK
192.168.0.2 OK
...
192.168.255.253 OK
192.168.255.254 OK

I am seeing in the log.

Aug 22 16:34:57 domain amavis[28466]: (28466-01) Passed CLEAN, [192.168.56.137] <bk9729@xxxxxxxxxx> -> <gerberb@xxxxxxxxx>, Message-ID: <000001c7e50c$a763eae0$8938a8c0@Computer24>, mail_id: 3JJwAafw5Rhl, Hits: -4.147, 6911 ms
Aug 22 16:34:57 domain postfix/smtp[28583]: AAED3A0C9A: to=<gerberb@xxxxxxxxx>, relay=127.0.0.1[127.0.0.1], delay=8, status=sent (250 2.6.0 Ok, id=28466-01, from MTA([127.0.0.1]:10025): 250 Ok: queued as 858ACA0CED)
Aug 22 16:34:57 domain postfix/qmgr[4201]: AAED3A0C9A: removed
Aug 22 16:35:18 domain pop3d: Connection, ip=[::ffff:192.168.56.137]
Aug 22 16:35:19 domain pop3d: LOGIN, user=bk9729, ip=[::ffff:192.168.56.137]
Aug 22 16:35:19 domain pop3d: LOGOUT, user=bk9729, ip=[::ffff:192.168.56.137], top=0, retr=0, time=0
Aug 22 16:35:23 domain postfix/smtp[28583]: 858ACA0CED: to=<gerberb@xxxxxxxxx>, relay=zenez.com[166.70.62.2], delay=26, status=sent (250 2.0.0 Ok: queued as B04573F680)
Aug 22 16:35:23 domain postfix/qmgr[4201]: 858ACA0CED: removed
Aug 22 16:35:34 domain pop3d: Connection, ip=[::ffff:192.168.56.137]
Aug 22 16:35:34 domain pop3d: LOGIN, user=bk9729, ip=[::ffff:192.168.56.137]
Aug 22 16:35:34 domain pop3d: LOGOUT, user=bk9729, ip=[::ffff:192.168.56.137], top=0, retr=0, time=0
Aug 22 16:38:10 domain postfix/anvil[28580]: statistics: max connection rate 1/60s for (smtp:192.168.56.137) at Aug 22 16:34:44
Aug 22 16:38:10 domain postfix/anvil[28580]: statistics: max connection count 1 for (smtp:192.168.56.137) at Aug 22 16:34:44
Aug 22 16:38:10 domain postfix/anvil[28580]: statistics: max cache size 1 at Aug 22 16:34:44

So I think the problem is that postfix is comparing ::ffff:192.168.56.137
instead of 192.168.56.137.  Or I may be missing something more.

Any ideas on how to fix this.

Thanks,

--
Boyd Gerber <gerberb@xxxxxxxxx>
ZENEZ   1042 East Fort Union #135, Midvale Utah  84047
-- 
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups