Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
From: Duane Hill (d.hillyournetplus.com)
Date: Fri Apr 27 2007 - 21:12:58 CDT
On Fri, 27 Apr 2007, Wietse Venema wrote:
> Duane Hill:
>> On Fri, 27 Apr 2007, Wietse Venema wrote:
>>> Duane Hill:
>>>> I've created a policy written in Perl. It tests out fine on my test
>>>> install. However, the test install doesn't get the load like the
>>>> production server does. Can someone point out something that could be
>>>> causing this?
>>>> Here are the two warnings:
>>>> Apr 27 22:25:30 smtpgate postfix/smtpd: warning: connect to
>>>> private/mypolicy: Connection refused
>>>> Apr 27 22:25:30 smtpgate postfix/smtpd: warning: problem talking to
>>>> server private/mypolicy: Connection refused
>>> That is a private service.
>>>> Here it is listed in the master.cf:
>>>> mypolicy unix - n n - - spawn
>>>> user=nobody argv=/usr/bin/perl /usr/local/etc/postfix/mypolicy
>>> And that is not a private service.
> Actually, it was a private service. The "-" in the third column means
> use the default, which is private.
>> So, I changed it to this:
>> mypolicy unix - n n - - spawn
>> user=nobody argv=/usr/bin/perl /usr/local/libexec/postfix/mypolicy
>> which /usr/local/libexec/postfix is the location when installing
>> from the FreeBSD port. It runs well for a few minutes and then starts
>> giving the warnings again.
> How many master.cf files do you have on your machine?
There are two instances of Postfix running. So, I have this:
alternate_config_directories = /usr/local/etc/postfix-out
listed in the configuration under /usr/local/etc/postfix/main.cf
> What is the configuration directory as listed in:
> grep 'daemon started' /var/log/maillog
Apr 28 01:20:54 smtpgate postfix/master: daemon started -- version
2.4.0, configuration /usr/local/etc/postfix