Page 1 of 1

address verify expire time modify

Posted: 13 Oct 2017 15:20
by hiandras
Hi,

postconf -d shows:
address_verify_negative_expire_time = 3d

address_verify_positive_expire_time = 31d
I think these are some default values and they are way too much.
How can I modify them? (I cannot find them in the postfix cf files.
Tried to add them, but won't make any difference)

Regards,
Andras

Re: address verify expire time modify

Posted: 14 Oct 2017 12:00
by shawniverson
After you add them, you have to restart postfix.

Re: address verify expire time modify

Posted: 17 Oct 2017 11:08
by hiandras
It does not work for me. :(

I put:
address_verify_negative_expire_time = 1d
address_verify_negative_refresh_time = 2h
address_verify_positive_expire_time = 1d
address_verify_positive_refresh_time = 4h
to the end of /etc/postfix/main.cf

then run "service postfix reload" (also tried with restart).

But the values does not change, when I list in postconf -d.

Regards,
Andras

Re: address verify expire time modify

Posted: 17 Oct 2017 21:59
by shawniverson
What are you trying to do, and are you even using address verification in postfix?

Re: address verify expire time modify

Posted: 18 Oct 2017 06:11
by hiandras
Yes, I use address verification.

I added "reject_unverified_recipient" to the "smtpd_recipient_restrictions =" string and put "unverified_recipient_reject_code = 550" at the and of mail.cf.

I relay the mails to an exchange server and efa still excepts mail for addresses which are deleted more than 10 days ago.
I want them rejected by efa.

Regards,
Andras

Re: address verify expire time modify

Posted: 18 Oct 2017 13:11
by shawniverson
I admit, this one has me a bit baffled. I will turn on address verification on mine and see if I can come to the same conclusion.

Re: address verify expire time modify

Posted: 08 Dec 2017 14:20
by hiandras
Sorry to bug you! Have you came to the same conclusion?
Do you have any idea, how to overcome this?

Regads,
Andras