|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Alexandros G. Fragkiadakis (alfrag
econ.soc.uoc.gr)
Date: Wed Jul 04 2007 - 02:03:02 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, July 4, 2007 10:07, Danny Kjærgaard wrote:
> Hi,
>
>
> Sorry. Ill try again then. I want to make a vacation service in
> master.cf, this looks like this:
>
> vacation unix - n n - - pipe flags=Rq
> user=vacation argv=/var/spool/vacation/vacation.pl
>
> My transport_map looks like this:
> autoreply.domain.tld vacation:
>
> My virtual_alias_map:
> user
domain.tld user
doamin.tld,user
autoreply.domain.tld
>
> When i run the vacation perl script in the commandline, runned by the
> user vacation, it works. But when the master.cf try running it, it does
> nothing. I changed the permissions and the vacation dir and the
> vacation.pl file and they are both 777 for testing purpose. And i tryed
> making som errors in the script, and then postfix complains, so it knows
> its perl and how this should look. The log tells: (the old log posted
> earlier)
>
>> Jun 28 09:23:24 testserver111 postfix/virtual[3138]: 9A7B2183A66:
>> to=<user
domain.tld>, relay=virtual, delay=0.32,
>> delays=0.26/0.04/0/0.02, dsn=2.0.0, sta tus=sent (delivered to maildir)
>> Jun 28 09:23:25
>> testserver111 postfix/pipe[6047]: 9A7B2183A66:
>> to=<user
autpreply.domain.tld>, orig_to=<user
domain.tld>,
>> relay=vacation, delay=0.44, de lays=0.26/0.07/0/0.12, dsn=2.0.0,
>> status=sent (delivered via vacation service)
>
> I posted a pipe -v too, and wont repost this. In my eyes i looks like it
> should, and i know its doing something with the perl script since i
> complains when wrong syntax appears in the code, and wrong permissions
> makes errors too. I really cant find anything i could try.
>
> Might this be an os specefic problem?
>
>
> Sorry if this dont help either.
>
>
> -Danny
>
>
>
> "mouss" <mlist.only
free.fr> skrev i en meddelelse
> news:468A733E.9000908
free.fr...
> Danny Kjærgaard wrote:
>
>> Hi,
>>
>>
>> After trying everthing i could think of i installed freebsd 6.1 and
>> installed postfix there. Now with the same cf files that dont work on my
>> openbsd4.1, it worked. Installed openbsd4.1 again, Installed 2.3.7
>> from packages, didnt work, installed 2.3.7 from ports. didnt work,
>> installed 2.4.20070125 from packages, didnt work. Might this error be os
>> specific ?
>>
>> Like i wrote in earlier posts the logs looks just fine to me.
>>
>>
>
> I personally have no idea what your problem is. you only said
>
>
>> Now if i run this from the commandline i works like i should. But
>>
> when used in post it dont.
>
> which is helpless...
>
>
>
>
> --
what permissions have you given to /vacation and vacation.pl?
mine are as follows:
drwxr-xr-x 2 vacation vacation 4096 2007-06-28 13:31 vacation
-rwx------ 1 vacation vacation 7129 2007-06-28 13:31 vacation.pl
The master.cf contains the line:
vacation unix - n n - - pipe
flags=DRhu user=vacation argv=/var/spool/vacation/vacation.pl
The user "vacation" is a system user that belongs in the group "vacation".
Regards,
Alexandros
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]