Hi,

i would like to have maximal_queue_lifetime (and possibly some other 
parameters) based on the sender address. So I did the following

in main.cf
sender_dependent_default_transport_maps = hash:/etc/postfix/relay_by_sender

in /etc/postfix/relay_by_sender
mysender.com smtp:[localhost]:588


in master cf
588       inet n       -       n       -       -       smtpd -o 
maximal_queue_lifetime=1d -o sender_dependent_default_transport_maps=


but when I try to send a mail, I see that sender is correctly recognized and 
mapped to port 588, but then I get a loop, as if 
sender_dependent_default_transport_maps= is ignored or overriden when using 
port 588


Jan 27 10:00:47 v2 postfix/smtp[320178]: 7DEE8301CF40: 
to=<3ig4thiixeh...@dkimvalidator.com>, relay=localhost[127.0.0.1]:588, 
delay=0.23, delays=0.1/0.02/0.02/0.09, dsn=2.0.0, status=sent (250 2.0.0 Ok: 
queued as 9CA48301CF48)

and then again

Jan 27 10:00:47 v2 postfix/smtp[320178]: 9CA48301CF48: 
to=<3ig4thiixeh...@dkimvalidator.com>, relay=localhost[127.0.0.1]:588, 
delay=0.23, delays=0.09/0.01/0.05/0.09, dsn=2.0.0, status=sent (250 2.0.0 Ok: 
queued as C0121301CF40)

…

until 

Jan 27 10:00:52 v2 postfix/smtp[320178]: DADDB301CF48: 
to=<3ig4thiixeh...@dkimvalidator.com>, relay=localhost[127.0.0.1]:588, 
conn_use=47, delay=0.1, delays=0.09/0/0/0, dsn=5.4.0, status=bounced (host 
localhost[127.0.0.1] said: 554 5.4.0 Error: too many hops (in reply to end of 
DATA command))


what am I doing wrong here? Is this the right line of thinking or should I use 
something else? If at all possible I would like to avoid runing another 
instance of postfix even or another MTA. postfix version is 3.5.8.

thank you.


_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to