Sheng Zheng
2006-11-06 10:05:47 UTC
Hi
I am using postfix 2.3.2, the sender_dependent_relayhost_maps works
fine in main.cf , but when i use it in another smtpd configured in
master.cf , it doesn't work. It seems that the
sender_dependent_relayhost_maps option has been ignored, and the mail
will not be relayed to the destination smtpd . Does anybody has any ideas?
Thanks in advance,
--Sheng.Zheng
/etc/postfix/master.cf
127.0.0.1:10025 inet n - n -
30 smtpd
-o myhostname=localsmtpd2-after-viruscheck
-o cleanup_service_name=header_clear
-o sender_dependent_relayhost_maps=hash:/etc/postfix/sender_relay
-o content_filter=
-o local_recipient_maps= -o relay_recipient_maps=
-o mynetworks=127.0.0.0/8 -o mynetworks_style=host
-o smtpd_restriction_classes= -o smtpd_client_restrictions=
-o smtpd_helo_restrictions= -o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o receive_override_options=no_unknown_recipient_checks
header_clear unix n - n - 0 cleanup
-o header_checks=regexp:/etc/postfix/header_checks
/etc/postfix/sender_relay:
@domain-a.com smtpdhost1
@domain-b.com smtpdhost2
I am using postfix 2.3.2, the sender_dependent_relayhost_maps works
fine in main.cf , but when i use it in another smtpd configured in
master.cf , it doesn't work. It seems that the
sender_dependent_relayhost_maps option has been ignored, and the mail
will not be relayed to the destination smtpd . Does anybody has any ideas?
Thanks in advance,
--Sheng.Zheng
/etc/postfix/master.cf
127.0.0.1:10025 inet n - n -
30 smtpd
-o myhostname=localsmtpd2-after-viruscheck
-o cleanup_service_name=header_clear
-o sender_dependent_relayhost_maps=hash:/etc/postfix/sender_relay
-o content_filter=
-o local_recipient_maps= -o relay_recipient_maps=
-o mynetworks=127.0.0.0/8 -o mynetworks_style=host
-o smtpd_restriction_classes= -o smtpd_client_restrictions=
-o smtpd_helo_restrictions= -o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o receive_override_options=no_unknown_recipient_checks
header_clear unix n - n - 0 cleanup
-o header_checks=regexp:/etc/postfix/header_checks
/etc/postfix/sender_relay:
@domain-a.com smtpdhost1
@domain-b.com smtpdhost2