PDA

View Full Version : postfix/trivial-rewrite[4328]: warning: do not list domain


Zbych
30th November 2007, 16:41
Hello

I'am new Debian Etch User

I use tutorial http://www.howtoforge.com/virtual_users_and_domains_with_postfix_debian_etch

Thanks falko for great work for newbie linux user. This site is very usefull for many people on the world.

I doing step by step this tutorial. When i install i have problem with install quota but i don't write report from the screen.

I insert full name to table domain
mamba.xxxx.xx
is the same name when i type
hostname
i got
mamba.xxxx.xx

Now I have in log file such error

mamba postfix/trivial-rewrite[4328]: warning: do not list domain mamba.xxxx.xx in BOTH mydestination and virtual_mailbox_domains

where is mamba.xxxx.xx is name my serwer and name domain

end the number in bracket [xxxx] change but the rest is the same.
many times

i check my postfix version
postconf -d | grep mail_version
mail_version = 2.3.8

postconf | grep mydestination
and I see
postconf | grep mydestination
mydestination = mamba.xxxx.xx, localhost, localhost.localdomain
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
relay_domains = $mydestination


postconf | grep virtual_mailbox_domains
and i see
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf

and check in another way
postmap -q "mamba.xxxx.xx" mysql:/etc/postfix/mysql-virtual_domains.cf
and see answer
mamba.xxxx.xx

Who have idea?

I don't understund precisely how setup virtual domain and user

I have another server with postfix e.g. post.name.pl who have another ip and system user without shell e.g. tomsmith who have mail tom.smith@name.pl
How to move like organization postfix?

Where I had write to table to mail sql Base and what i had setup in my oryginal server.

And what is diffrent between def.

virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
and
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_domains.cf

I try change evrything lines in main.cf but i got the same error

falko
1st December 2007, 13:55
Take a look here: http://www.howtoforge.com/forums/showthread.php?t=10868&highlight=mydestination+virtual_mailbox_domains