Oefenweb / ansible-postfix

Ansible role to set up postfix in Debian-like systems
MIT License
174 stars 82 forks source link

postfix_smtpd_helo_restrictions vs smtpd_helo_required #126

Closed egl35720 closed 7 months ago

egl35720 commented 1 year ago

Hi the team,

and thanks a lot for your awesome job on POSTFIX ansible role. My post is not really an issue but a question.

In Postfix official documentation I saw that if I use

smtpd_helo_restrictions = reject_invalid_helo_hostname

Postfix recommands also to set up

smtpd_helo_required = yes To avoid client to skip reject_invalid_helo_hostname by not sending HELO or EHLO command

I can't find out in your code if this situation is taken care of. I can't find out a role's variable called postfix_smtpd_helo_required

Can you help me please ?

Regards

egl35720 commented 1 year ago

Oh Sorry I'll try to pass

smtpd_helo_required = yes

Through

postfix_raw_options: