Welches Postfix-Timeout ist für smtpd_recipient_restrictions Scripte zuständig?

Benedikt Schindler benedikt.schindler at gsx.de
Mo Apr 13 11:21:42 CEST 2015


Hallo, 

ich habe bei 2 Domains die bei mir Mails einliefern wollen ein
Timeout-Problem.
Die Server verbinden sich, senden mir ihre RCPT-To Daten, und dann überprüft
ein SPF-Script ob alles korrekt ist.
Nach 3 Minuten 30 Sekunden bricht unser Server wegen Timeout ab.  
Nach 5 Miniuten bekommt er die Antwort vom SPF-Script.


1.) Ich weiss dass der eigentliche Hauptgrund für das Timeout eine
wahnsinnig langsame SPF auflösung bei diesen beiden speziellen Domains ist. 
2.) Aber ich verstehe nicht welches Postfix-Timeout dafür zuständig ist für
den Abbruch. 

So wie ich die Parameter command_time_limit und policy-spf_time_limit
verstehe müsste er mindestens 16 Minuten warten und bei SPF sogar
unglaubliche 60 Minuten. 

Welches Timeout übersehe ich, oder welches Timeout verstehe ich falsch? 

Gruß Benedikt





Postconf:

command_time_limit = 1000s
policy-spf_time_limit = 3600s

smtp_data_init_timeout = 120s
smtp_mail_timeout = 300s
smtp_rcpt_timeout = 300s



Log des Einlieferungsversuchs:

2015-04-12T15:35:43.452512+02:00 s16510537 postfix/smtpd[30673]: connect
from mail-bn1bon0090.outbound.protection.outlook.com[157.56.111.90]
2015-04-12T15:35:43.890736+02:00 s16510537 postfix/smtpd[30673]: Anonymous
TLS connection established from
mail-bn1bon0090.outbound.protection.outlook.com[157.56.111.90]: TLSv1.2 with
cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)
2015-04-12T15:35:53.898612+02:00 s16510537 postgrey[27193]: action=pass,
reason=triplet found,
client_name=mail-bn1bon0090.outbound.protection.outlook.com,
client_address=157.56.111.90, sender=[...]@starwoodhotels.com,
recipient=[...]@owayo.com
2015-04-12T15:39:15.062377+02:00 s16510537 postfix/smtpd[30673]: NOQUEUE:
reject: RCPT from
mail-bn1bon0090.outbound.protection.outlook.com[157.56.111.90]: 451 4.3.5
Server configuration problem; from=<[...]@starwoodhotels.com>
to=<[...]@owayo.com> proto=ESMTP
helo=<na01-bn1-obe.outbound.protection.outlook.com>
2015-04-12T15:39:15.215569+02:00 s16510537 postfix/smtpd[30673]: disconnect
from mail-bn1bon0090.outbound.protection.outlook.com[157.56.111.90]
2015-04-12T15:40:00.501212+02:00 s16510537 postfix/policy-spf[30675]: :
Policy action=PREPEND Received-SPF: none (starwoodhotels.com: No applicable
sender policy available) receiver=s16510537.onlinehome-server.info;
identity=mailfrom; envelope-from="[...]@starwoodhotels.com";
helo=na01-bn1-obe.outbound.protection.outlook.com; client-ip=157.56.111.90
2015-04-12T15:41:40.049505+02:00 s16510537 postfix/policy-spf[30709]: :
Policy action=PREPEND Received-SPF: none (starwoodhotels.com: No applicable
sender policy available) receiver=s16510537.onlinehome-server.info;
identity=mailfrom; envelope-from="[...]@starwoodhotels.com";
helo=na01-bn1-obe.outbound.protection.outlook.com; client-ip=157.56.111.90
2



Mehr Informationen über die Mailingliste postfix-users