Wietse Venema:
> Jonathan Tripathy:
> > > You forgot to set an owner rule for @domain.
> > 
> > How would I do that? I'm not sure if this is relavent but I'm currently 
> > using:
> 
> For complete description of
> 
> a) the smtpd_sender_login_maps database queries
> 
> b) the order of queries
> 
> See: http://www.postfix.org/postconf.5.html#smtpd_sender_login_maps

You can also specify MULTIPLE maps:

/etc/postfix:main.cf
    smtpd_sender_login_maps = mysql:whatever hash:/etc/postfix/default

/etc/postfix/default:
    @example.com root

Don't forget to postmap the /etc/postfix/default file.

        Wietse

> You can test the queries with the postmap command.
> 
> postmap -q u...@example.com databasetype:databasename
> postmap -q user databasetype:databasename
> postmap -q @example.com databasetype:databasename
> 
>       Wietse
> 
> 

Reply via email to