I've used the postfix, mysql, dovecot, virtual users howto which has worked great over the last few months. I have one minor query: Occasionally I have users messing up and sending emails without a domain name e.g. "jill". What happens is it then gets converted to "[email protected]" and I get the email sent to me via my catch all. Instead; Is it possible to reject emails that don't have the domain specified and bounce a message back to the sender and, if so, how do I do it? Many Thanks Luke
Thanks for the reply I tried your suggestion (and restarted postfix) using reject_non_fqdn_sender & also tried reject_non_fqdn_recipient but neither worked. Would this be something to do with having virtual users setup or am I missing something obvious? Code: smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_sender