On 21/02/2010 20:57, Wietse Venema wrote:
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



Great! That seemed to have worked really well! Thanks

Just a couple of questions, it is safe to give @mydomain.com an owner of root in my hash file?
Also, what are your views on SPF? Just I ditch it, or go for it?

Cheers

Reply via email to