On Friday, May 22, 2009 at 01:03 CEST,
     Ken <kbing...@booksurge.com> wrote:

[...]

> .:    postfix/main.cf
> myhostname = mx1.mydomain.com
> myorigin = $mydomain
> mydestination =
> local_recipient_maps =
> mynetworks_style = host
> smtpd_recipient_restrictions =
>         permit_mynetworks
>         check_sender_access hash:/etc/postfix/sender_access
>         reject_unauth_destination
> local_transport = error:local mail delivery is disabled
> virtual_alias_domains = mydomain.com mydomain.co.uk
> virtual_alias_maps = regexp:/etc/postfix/virtual
> parent_domain_matches_subdomains =
>         debug_peer_list
>         smtpd_access_maps
> 
> .:    postfix/virtual
> /^foo@/       b...@somewhere-else.tld
> /^([...@]+)@/ $...@myotherdomain.com
> 
> .:    postfix/sender_access
> @myotherdomain.com    OK
> @myotherdomain.co.uk  OK

This access table syntax is wrong, see access(5). This is good because
if it had worked you would've been an open relay. You must not grant
relay access based upon the sender address.

Please use example.com, example.net etc as example domains.

-- 
Magnus Bäck
mag...@dsek.lth.se

Reply via email to