On 14/07/17 10:28, Abi Askushi wrote: > Hi all, > > I was wondering what choices are there to block forged sender email > addresses. > > I was thinking SPF could assist. > The other option I saw is reject_sender_login_mismatch in postfix. * > * > Do you have any other suggestion? > > Many thanx > Abi* > *
Some while ago I created a file to kill inbound spam from non-existent users such as "accounts" or "help-desk":- hash:/etc/postfix/valid_users: ali...@example.com DUNNO ali...@example.com DUNNO example.com REJECT Invalid address and in main.cf: check_sender_access hash:/etc/postfix/valid_users The file gets auto-recompiled whenever the alias files change. Also, when used with check_recipient_access hash:/etc/postfix/valid_users, it kills off any log-in identities which I don't want to use as an email addresses. hope this helps Allen C