Le jeu. 11/10/2012 à 06:37, manu@... a écrit :
>
>
> Here is final 4.4 release
>
> http://ftp.espci.fr/pub/milter-greylist/milter-greylist-4.4.tgz
> MD5 (milter-greylist-4.4.tgz) = 5030c7767c4e4d59497224cd38728ba6
Under Solaris 10 using an unchanged 4.2.7 release conf file
milter-greylist create a socket belonging to root causing sendmail to
abort :
with 4.4
srwxr-xr-x 1 root root 0 Oct 11 10:48 milter-greylist.sock
with 4.2.7 owner was the same as «user "smmsp"» config file.
srwxr-xr-x 1 smmsp smmsp 0 Oct 11 11:03 milter-greylist.sock
===
Workarounded by adding line marked <<<<< above in the startup script
...
mildir="/var/milter-greylist"
socket="$mildir/milter-greylist.sock"
binpath="/usr/local/bin"
user="smmsp"
OPTIONS="-v"
case "$1" in
start)
# Start daemon.
echo "Starting milter-greylist: ... \c"
chown $user $mildir
ulimit -n 1024
$binpath/milter-greylist $OPTIONS
chown $user $socket <<<<<
echo "done."
;;
...
===
[ Oct 11 10:40:12 Method "start" exited with status 0 ]
451 4.0.0 /etc/mail/sendmail.cf: line 1944: Xgreylist: local socket name
/var/milter-greylist/milter-greylist.sock unsafe: Permission denied
[ Oct 11 10:40:13 Stopping because all processes in service exited. ]
[ Oct 11 10:40:13 Executing stop method ("/lib/svc/method/smtp-sendmail
stop 11659") ]
===
--
Christian Pélissier
Office National d'Études et de Recherches Aérospatiales
BP 72 92322 Chatillon
Tel: 33 1 46 73 44 19, Fax: 33 1 46 73 41 50Message
milter-greylist 4.4
2012-10-11 by Christian Pélissier
Attachments
- No local attachments were found for this message.