main.cf:
Kod: Zaznacz cały
smtpd_recipient_restrictions =
permit_sasl_authenticated,
check_client_access hash:/etc/postfix/whitelist_client,
check_sender_access hash:/etc/postfix/whitelist_sender,
...
reject_unauth_destination,
check_policy_service unix:private/policy-spf,
....
Kod: Zaznacz cały
mojadomena.pl 550 You are not SMTP AUTH
master.cf:
Kod: Zaznacz cały
policy-spf unix - n n - - spawn
user=nobody argv=/usr/sbin/postfix-policyd-spf-perl
Kod: Zaznacz cały
policy-spf_time_limit = 3600s
Krokodyle łzy.
to jeszcze co mówią logi:
Kod: Zaznacz cały
Oct 16 13:37:12 mojadomena postfix/policy-spf[2235]: Policy action=PREPEND Received-SPF: pass (obca_domena.pl: adres_IP is authorized to use 'adres@obca_domena.pl' in 'mfrom' identity (mechanism 'ip4:adres_IP' matched)) receiver=mailer.mojadomena.pl; identity=mailfrom; envelope-from="adres@obca_domena.pl"; helo=obca_domena.pl; client-ip=adres_IP
Kod: Zaznacz cały
From: "adres@mojadomena.pl" <adres@obca_domena.pl>