|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: Executables Path
From: Wietse Venema (wietse
porcupine.org)Date: Wed Jun 21 2000 - 12:02:35 CDT
- Next message: Oliver Schade: "[Urgent] Need help Sendmail -> Postfix"
- Previous message: Wietse Venema: "Re: Virtual domain not working"
- In reply to: Lars Hecking: "Re: Executables Path"
- Next in thread: Bennett Todd: "Re: Executables Path"
- Reply: Wietse Venema: "Re: Executables Path"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Lars Hecking:
>
> > I guess all I really want to know is how do I change the postfix
> > search path
>
> I guess the the place to add this would be the postfix startup
> script. Assuming, of course, that the environment is passed down
> to all children.
>
> PATH=$PATH:/usr/local/postfix /usr/sbin/postfix start
As mentioned by Mr. Todd, Postfix resets the path to a system-dependent
default search path. Some systems define this in /usr/include/paths.h.
If it is not too much trouble you can specify an absolute path
for the command, or specify, in the case of local delivery agent
shell commands:
"|PATH=stuff...; export PATH; command args..."
Or specify "local_command_shell = /some/where/smrsh" if you want
full control over what commands can be executed.
All this does not help with commands run from the pipe delivery agent,
since no shell is used there.
Wietse
- Next message: Oliver Schade: "[Urgent] Need help Sendmail -> Postfix"
- Previous message: Wietse Venema: "Re: Virtual domain not working"
- In reply to: Lars Hecking: "Re: Executables Path"
- Next in thread: Bennett Todd: "Re: Executables Path"
- Reply: Wietse Venema: "Re: Executables Path"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]