/dev/rob0 pisze:
local_recipient_maps = $alias_maps $virtual_mailbox_maps
  unix:passwd.byname
local_transport = virtual

Ugly! Do not mix classes like this.
    http://www.postfix.org/ADDRESS_CLASS_README.html
Define your local domain class in mydestination (and take out the
above), and define your virtual mailbox class here:

virtual_mailbox_domains =
  mysql:/etc/postfix/mysql_virtual_domains_maps.cf
I fixed that as you suggested.
Anyway, as per my WAG, this is probably where your issue lies:
relocated_maps = mysql:/etc/postfix/mysql_relocated.cf
postmap -q problem.addr...@example.com mysql:/etc/postfix/mysql_relocated.cf

This is probably returning the address you saw in your "user
relocated to ..." error.
Yes it returned that email address. But when I removed relocated_maps it bounces back with:
user unknown. Command output: Invalid user specified.


Do carefully note the double use of the word, "probably". After I
advised you what we would need to see, you still have failed to post
the relevant logs.

Mar 8 16:59:25 [postfix/cleanup] 6F9442E60FD: message-id=<20100308155925.6f9442e6...@hostname> Mar 8 16:59:25 [postfix/qmgr] 6F9442E60FD: from=<double-bou...@hostname>, size=278, nrcpt=1 (queue active) Mar 8 16:59:25 [postfix/pipe] 6F9442E60FD: to=<ja...@meil.me>, orig_to=<my_al...@meil.me>, relay=maildrop, delay=0.04, delays=0.02/0.01/0/0, dsn=2.0.0, status=deliverable (delivers to command: /usr/bin/maildrop)
Mar  8 16:59:25 [postfix/qmgr] 6F9442E60FD: removed
Mar  8 16:59:28 [postfix/smtpd] 6D1912E60FD: client=X[XXX]
Mar 8 16:59:28 [postfix/cleanup] 6D1912E60FD: message-id=<4b952006.7060...@x> Mar 8 16:59:28 [postfix/qmgr] 6D1912E60FD: from=<ja...@x>, size=818, nrcpt=1 (queue active)
Mar  8 16:59:28 [postfix/smtpd] disconnect from X[X.110]
Mar 8 16:59:28 [postfix/pipe] 6D1912E60FD: to=<my_al...@meil.me>, relay=maildrop, delay=3.1, delays=3.1/0/0/0.03, dsn=5.1.1, status=bounced (user unknown. Command output: Invalid user specified. ) Mar 8 16:59:28 [postfix/cleanup] 7C78B2E6114: message-id=<20100308155928.7c78b2e6...@hostname> Mar 8 16:59:28 [postfix/qmgr] 7C78B2E6114: from=<>, size=2654, nrcpt=1 (queue active) Mar 8 16:59:28 [postfix/bounce] 6D1912E60FD: sender non-delivery notification: 7C78B2E6114
Mar  8 16:59:28 [postfix/qmgr] 6D1912E60FD: removed
Mar 8 16:59:29 [postfix/smtp] 7C78B2E6114: to=<ja...@x>, relay=newmail.X[X.110]:25, delay=0.72, delays=0.01/0.02/0.28/0.41, dsn=2.0.0, status=sent (250 ok 1268064272 qp 32176)
Mar  8 16:59:29 [postfix/qmgr] 7C78B2E6114: removed

When it used relocation maps:
Mar  8 15:46:36 [postfix/smtpd] connect from X[X.110]
Mar 8 15:46:36 [postfix/cleanup] B23092E60FD: message-id=<20100308144636.b23092e6...@hostname> Mar 8 15:46:36 [postfix/qmgr] B23092E60FD: from=<double-bou...@hostname>, size=278, nrcpt=1 (queue active) Mar 8 15:46:36 [postfix/pipe] B23092E60FD: to=<ja...@meil.me>, orig_to=<my_al...@meil.me>, relay=maildrop, delay=0.04, delays=0.02/0.02/0/0, dsn=2.0.0, status=deliverable (delivers to command: /usr/bin/maildrop)
Mar  8 15:46:36 [postfix/qmgr] B23092E60FD: removed
Mar  8 15:46:39 [postfix/smtpd] AFDD92E60FD: client=X[X.110]
Mar 8 15:46:39 [postfix/cleanup] AFDD92E60FD: message-id=<4b950ef5.9030...@x> Mar 8 15:46:39 [postfix/qmgr] AFDD92E60FD: from=<ja...@x>, size=819, nrcpt=1 (queue active)
Mar  8 15:46:39 [postfix/smtpd] disconnect from X[X.110]
Mar 8 15:46:39 [postfix/error] AFDD92E60FD: to=<my_al...@meil.me>, relay=none, delay=3.2, delays=3.2/0.03/0/0.02, dsn=5.1.6, status=bounced (User has moved to ja...@meil.me)

Thank you very much for your help and all advices. And you're right. As it's my private email and I have never had a time to configure it properly it's just a big mess created from dozen manuals. The other problem is that configuration hasn't been changed for ages but it was working I don't know... 5-6 months ago. Suddenly stopped. That's is what I cannot understand really.

Regards,
Jarek

Reply via email to