On 05/25/2011 11:13 PM, houmles wrote:
I have virtual_alias_domains=$transport_maps so it should be there.

There is log:
May 25 23:43:40 prusa3 postfix/smtpd[7395]: A4B083000082: client=xxx.xxx.xxx[x.x.x.x] May 25 23:43:40 prusa3 postfix/cleanup[7398]: A4B083000082: message-id=<4ddd6c14.9030...@domain.com> May 25 23:43:40 prusa3 postfix/qmgr[7392]: A4B083000082: from=<x...@domain.com>, size=940, nrcpt=2 (queue active) May 25 23:43:40 prusa3 postfix/error[7400]: A4B083000082: to=<t...@domain.org@autoreply.domain.org>, orig_to=<t...@domain.org>, relay=none, delay=0.05, delays=0.02/0.01/0/0.02, dsn=4.0.0, status=SOFTBOUNCE (User unknown in virtual alias table) May 25 23:43:40 prusa3 postfix/pipe[7399]: A4B083000082: to=<t...@domain.org>, relay=maildrop, delay=0.05, delays=0.02/0.01/0/0.02, dsn=2.0.0, status=sent (delivered via maildrop service)


If I try to set it to virtual_mailbox_domains or relay_domains problem is same but in mydestination I received 2 mails to my mailbox, no autoreply sent:

Log:
May 25 23:44:53 prusa3 postfix/smtpd[7594]: 0C4433000082: client=xxx.xxx.xxx[x.x.x.x] May 25 23:44:53 prusa3 postfix/cleanup[7597]: 0C4433000082: message-id=<4ddd6c5c.3060...@domain.com> May 25 23:44:53 prusa3 postfix/qmgr[7592]: 0C4433000082: from=<x...@domain.com>, size=940, nrcpt=2 (queue active) May 25 23:44:53 prusa3 postfix/pipe[7598]: 0C4433000082: to=<t...@domain.org>, relay=maildrop, delay=0.05, delays=0.02/0.01/0/0.02, dsn=2.0.0, status=sent (delivered via maildrop service) May 25 23:44:53 prusa3 postfix/pipe[7599]: 0C4433000082: to=<t...@domain.org>, relay=maildrop, delay=0.06, delays=0.02/0.01/0/0.02, dsn=2.0.0, status=sent (delivered via maildrop service)
May 25 23:44:53 prusa3 postfix/qmgr[7592]: 0C4433000082: removed

On 05/25/11 22:22, Jeroen Geilman wrote:
On 05/25/2011 11:22 AM, houmles wrote:
Hi all,

Iam trying to setup autoreply via transport on already running
mail server. My problem is transport isn't triggered instead all
vacation emails are going thru none transport.

main.cf:
transport_maps = mysql:/etc/postfix/mysql/transport_maps.cf

in transport table i have:
autoreply.domain.org autoreply:

postmap -q "autoreply.domain.org"
mysql:/etc/postfix/mysql/transport_maps.cf returns:
autoreply:

in virtual table i have:
u...@domain.org u...@domain.org@autoreply.domain.org

in master.cf
autoreply  unix  -       n       n       -       -       pipe
    flags=Rq user=vacation argv=/var/spool/vacation/vacation.pl -f
${sender} -- ${recipient}

user and group vacation exist

Even though in logs i have message bounced as "User unknown in virtual
alias table" because mail is handled by relay=none not by autoreply.

Any help?


autoreply.domain.org MUST be in one of mydestination, virtual_mailbox_domains, virtual_alias_domains, or relay_domains.

Other than that, show the actual logs.


Thanks



The RHS of virtual_alias_maps must also be a valid address, or postfix will rightfully reject it.

Consider changing the logic to use user+dom...@autoreply.domain.org.


--
J.

Reply via email to