Hi Michael,
Thanks for the pointer. Much better now.
I got i working now .. somewhat.
It seems it will use my u...@fake.tld as the lookup key and as the
sender of the reply.
According to the documentation
http://cml.dokuro.org/howto/yaa.txt
It should be alias_user@your_domain.tld instead of
alias_user@reply.your_domain.tld (fake)
Example:
Apr 26 11:54:34 mail03 yaa.pl[28380]: 3019529: Processing new request,
id 3019529
Apr 26 11:54:34 mail03 yaa.pl[28380]: 3019529: Message sender:
pe...@tigermedia.dk, recipients: pe...@autoresponder.dk
Apr 26 11:54:34 mail03 yaa.pl[28380]: 3019529: Recipient
pe...@autoresponder.dk has autoresponder turned on.
Apr 26 11:54:34 mail03 postfix/smtpd[28381]: connect from
localhost[127.0.0.1]
Apr 26 11:54:34 mail03 postfix/smtpd[28381]: B208D18C081:
client=localhost[127.0.0.1]
Apr 26 11:54:34 mail03 postfix/cleanup[28377]: B208D18C081:
message-id=<1479391657.17787@mail03>
Apr 26 11:54:34 mail03 postfix/qmgr[28372]: B208D18C081:
from=<pe...@autoresponder.dk>, size=658, nrcpt=1 (queue active)
Apr 26 11:54:34 mail03 postfix/smtpd[28381]: disconnect from
localhost[127.0.0.1]
Apr 26 11:54:34 mail03 yaa.pl[28380]: 3019529: Successfuly sent
autoresponse from pe...@autoresponder.dk to pe...@tigermedia.dk.
Apr 26 11:54:34 mail03 yaa.pl[28380]: 3019529: Processing complete.
Apr 26 11:54:34 mail03 postfix/pipe[28379]: 6259018C080:
to=<pe...@autoresponder.dk>, orig_to=<pe...@r12.dk>, relay=yaa,
delay=12, delays=11/0.03/0/0.41, dsn=2.0.0, status=sent (delivered via
yaa service)
I know that, maybe this is yaa specific..
I cant see why the recipient is pe...@autoresponder.dk (fake tld)
instead of pe...@r12.dk (the real email)?
Any help is appreciated
/ Peter
Den 26-04-2011 11:36, Michael Tokarev skrev:
26.04.2011 13:28, Peter L. Hansen wrote:
Hi List,
Iam having trouble trying to adding autoreply/autoresponder/outofoffice
functionality to our setup.
It seems that the best option is to use "yaa". Other suggestions are
welcome.
I have a postfix setup with virtual users in mysql, and found followed
the guide on
http://www.howtoforge.com/autoresponders_for_virtual_postfix_users
Added to master.cf:
yaa unix - n n - - pipe
user=nobody
argv=/usr/local/postfix-tools/yaa-0.3/bin/yaa.pl
[]
Apr 26 11:08:47 mail03 yaa.pl[25364]: Warning: setting empty lookup
query order for attribute 'rewrite_recipient'.
Apr 26 11:08:47 mail03 yaa.pl[25364]: Warning: setting empty lookup
query order for attribute 'rewrite_sender'.
Apr 26 11:08:47 mail03 yaa.pl[25364]: 5352879: Processing new request,
id 5352879
Apr 26 11:08:47 mail03 yaa.pl[25364]: 5352879: Warning: Your MTA does
not provide Delivered-To header. Yaa will have to rely on message
headers which are very easy to fake. You've been warned.
Apr 26 11:08:47 mail03 yaa.pl[25364]: 5352879: Warning: Your MTA
violates RFC 822 by not adding Return-Path header in message. Yaa will
have to rely on message headers which are very easy to fake. You've been
warned.
Please read the pipe(8) manpage, especially the "flags=.." section.
/mjt