View Single Post
  #5  
Old 3rd January 2013, 16:26
abcinc abcinc is offline
Junior Member
 
Join Date: Jan 2013
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The var/log/mail.log is empty every time so no data to post

Hi I also found in var/mail the accounts where mail is going to postfix. Also a folder called virtual where two domain accounts which have mail going to mysql
also in /var/log/mail.warn there is this error. warning: do not list domain mydomain1.com in BOTH mydestination and virtual_alias_domains

However if I take mydomain1.com out from mydestination then send and email to mydomain1.com then I get this error in my gmail.
550 550 5.1.1 <me@mydomain1.com>: Recipient address rejected: User unknown in virtual alias table (state 13).

However that address is in mysql alias table

here is the contents of etc/postfix/maps/alias.cf. The usrname and password for mysql login works fine
user=xxx
password=xxx
dbname=mail
table=alias
select_field=destination
where_field=source
hosts=127.0.0.1
additional_conditions=and enabled = 1

Last edited by abcinc; 4th January 2013 at 21:23. Reason: update
Reply With Quote