Skip to content

Instantly share code, notes, and snippets.

@GlitchWitch
Created June 14, 2019 20:30
Show Gist options
  • Save GlitchWitch/427b92ad92aa5370f78011f04c7ad528 to your computer and use it in GitHub Desktop.
Save GlitchWitch/427b92ad92aa5370f78011f04c7ad528 to your computer and use it in GitHub Desktop.
acl_smtp_mail=acl_check_mail
acl_smtp_data=acl_check_data
begin acl
acl_check_mail:
.ifdef CHECK_MAIL_HELO_ISSUED
deny
message = no HELO given before MAIL command
condition = ${if def:sender_helo_name {no}{yes}}
.endif
accept
acl_check_data:
accept
begin authenticators
fixed_cram:
driver = cram_md5
public_name = CRAM-MD5
server_secret = ${if eq{$auth1}{ph10}{secret}fail}
server_set_id = $auth1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment