I'm trying to set up a mechanism for vacation messages, through postfix's
pipe. I've added in master.cf the following line:
#-----------------------------------
vacation unix - n n - - pipe
flags=Rhu user=vacation argv=/var/spool/vacation/vacation.pl
#-----------------------------------
vacation.pl is the script the does the autoresponding and vacation is a
user in linux.
my transport file is:
#-------------------------
vacation.mydomain vacation:
#-------------------------
another file i use is called vacation_alias:
#-------------------------
test@mydomain test@mydomain,te...@vacation.mydomain
#-------------------------
in main.cf:
#-----------------
transport_maps=hash:/etc/postfix/transport
virtual_alias_maps= hash:/etc/postfix/vacation_alias
#------------------
When i send emails to test@mydomain i got the following errors:
fatal: user= command-line attribute specifies mail system owner postfix
group id 100
warning: premature end-of-input on private/vacation socket while reading
input attribute name
Jun 5 13:31:33 hermes postfix/qmgr[963]: warning: private/vacation
socket: malformed response
Jun 5 13:31:33 hermes postfix/qmgr[963]: warning: transport vacation
failure -- see a previous warning/fatal/panic logfile record for the
problem description
Jun 5 13:31:33 hermes postfix/master[30619]: warning: process
/usr/libexec/postfix/pipe pid 1298 exit status 1
Jun 5 13:31:33 hermes postfix/master[30619]: warning:
/usr/libexec/postfix/pipe: bad command startup -- throttling
Jun 5 13:31:33 hermes postfix/qmgr[963]: 878252C076:
to=<te...@vacation.mydomain>, orig_to=<test@mydomain>, relay=none,
delay=2.6, delays=1.5/1.1/0/0, dsn=4.3.0, status=deferred (unknown mail
transport error)
What can be wrong?
Many thanks in advance!
Regards,
Alexandros
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
how do you get the recipient address?
> [snip]
>
>
> What can be wrong?
>
show your perl script.
Recipients' addresses are stored in LDAP server. When i send mail to
test@mydomain, email is correctly placed in test's mailbox. But, the
problem it when the script tries to send the autoresponse. I'm using the
vacation script contained in postfixadmin package.
If you are getting the recipient from the To or CC header, then you're
just adding another broken responder.
> But, the
> problem it when the script tries to send the autoresponse. I'm using the
> vacation script contained in postfixadmin package.
>
I never used it.
see if you can use the "old" vacation program.