Kurt22 wrote on 12.08.2010:
but now in my mail.log I have Relay access denied
Aug 12 10:40:20 ns351550 postfix/smtpd[5332]: NOQUEUE: reject: RCPT from web24408.mail.ird.yahoo.com[87.248.114.220]: 554 5.7.1 contact@akairnet.com: Relay access denied; from=fwdavy@yahoo.fr to=contact@akairnet.com proto=SMTP helo=
what's the output of
postmap -q akairnet.com mysql:/etc/postfix/mysql-virtual_domaines.cf
As result you should see "OK" for example if the query is OK and if your domain is listed in your mysql table. If you get no value back then Postfix reject mails because Postfix is then not "final destination". In this case you should check your mysql query if you've used the right select... syntax and make sure your domain is listed in this table.
-- Daniel