Hello,
I setup PostgreSQL to store Log and it worked fine, but I found their is no
information in client_addr" FIELD of "msgs" TABLE.
My msgs TABLE looks like:
mail_id | secret_id | am_id | time_num | time_iso | sid
| policy | client_addr | size | content | quar_type | dsn_sent |
spam_level |
message_id |
from_addr | subject |
host
And my /etc/postfix/master.cf config contains "-o
smtp_send_xforward_command=yes".
I thought if I use "-o smtp_send_xforward_command=yes" then postfix will
forward client ip information to amavis, but it seems not.
smtp-amavis unix - - n - 50 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
Any idea?
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/