Please don't hijack unrelated threads. When you have a new message 
for the list, post it as a NEW message, not as a reply. Thank you.

On Mon, May 12, 2014 at 05:03:31PM +0200, Marek Królikowski wrote:
> I got strange problem with my postfix i try do separate domains
> but use UNIX system accounts.
> i use postfix doc (http://www.postfix.org/VIRTUAL_README.html)
> but don`t know why it`s not working ( Debian 7 postfix 2.9.6):
> 
> This is my main.cf:

"postconf -n" is preferred.

> append_dot_mydomain = no
> myorigin = taken.pl
> mydestination = localhost
> virtual_alias_domains = taken.pl, wset.edu.pl
> virtual_alias_maps = hash:/etc/postfix/virtual

> This is my /etc/postfix/virtual
> ad...@wset.edu.pl taken
> ad...@taken.pl taken

You are thereby rewriting those two addresses to "taken@$myorigin". 
Note that $myorigin is listed as a virtual alias domain, and that
"taken@$myorigin" is not listed in virtual_alias_maps.

Always use fully-qualified addresses in virtual_alias_maps.
   ad...@wset.edu.pl taken@localhost
   ad...@taken.pl taken@localhost
See, there you are redirecting to a local(8) user. You know it is 
because "localhost" is in $mydestination.

> When i try send email to ad...@wset.edu.pl i got info:
> May 12 16:56:59 POCZTA postfix/error[6651]: 9CD862009CF:
> to=<ta...@taken.pl>, orig_to=<ad...@wset.edu.pl>, relay=none, delay=6.7,
> delays=6.7/0/0/0.05, dsn=5.0.0, status=bounced (User unknown in virtual
> alias table)
> The most funny when i put domains to mydestination too
> mydestination = localhost, taken.pl, wset.edu.pl
> i can send emails but get all the time warning:
> May 12 14:12:55 POCZTA postfix/trivial-rewrite[4303]: warning: do not list
> domain wset.edu.pl in BOTH mydestination and virtual_alias_domains
> 
> Anyone know how to do this without errors/warnings?
-- 
  http://rob0.nodns4.us/
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:

Reply via email to