bav.sock unsafe?

Use this forum for all questions related to bounce management of OpenEMM

Moderator: moderator

bav.sock unsafe?

Postby cjscully » Sun Apr 25, 2010 7:41 pm

The following message is showing up repeatedly in my mail log:

Apr 25 06:40:01 mailer sm-mta[5507]: o3PAe1vd005507: Milter (bav): local socket name /home/openemm/var/run/bav.sock unsafe

I have no idea what it means or how to correct the problem.
cjscully
 
Posts: 14
Joined: Wed Apr 14, 2010 2:14 am

Postby cjscully » Sun Apr 25, 2010 11:27 pm

I also noticed the following in my mail.err log:

Milter (bav): error connecting to filter: Connection refused by /home/openemm/var/run/bav.sock
cjscully
 
Posts: 14
Joined: Wed Apr 14, 2010 2:14 am

Re: bav.sock unsafe?

Postby abu.sayeed » Wed Oct 19, 2016 12:31 pm

date | sendmail -v $USER

root... Connecting to [127.0.0.1] via relay...
220 vNTDACLSEMMP001.ntdac.nazdaqTechnologies.local ESMTP Sendmail 8.14.7/8.14.7; Wed, 19 Oct 2016 17:28:10 +0600
>>> EHLO vNTDACLSEMMP001.ntdac.nazdaqTechnologies.local
250-vNTDACLSEMMP001.ntdac.nazdaqTechnologies.local Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> MAIL From:<root@vNTDACLSEMMP001.ntdac.nazdaqTechnologies.local> SIZE=29
451 4.3.2 Please try again later
root... Deferred: 451 4.3.2 Please try again later
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 vNTDACLSEMMP001.ntdac.nazdaqTechnologies.local closing connection


cat /var/log/maillog

vNTDACLSEMMP001 sendmail[3254]: u9JBCE1J003254: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30029, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
vNTDACLSEMMP001 sendmail[3492]: u9JBSAEh003492: from=root, size=29, class=0, nrcpts=1, msgid=<201610191128.u9JBSAEh003492@vNTDACLSEMMP001.ntdac.nazdaqTechnologies.local>, relay=root@localhost
vNTDACLSEMMP001 sendmail[3493]: u9JBSAYx003493: Milter (bav): local socket name /home/openemm/var/run/bav.sock unsafe
vNTDACLSEMMP001 sendmail[3493]: u9JBSAYx003493: Milter (bav): to error state
vNTDACLSEMMP001 sendmail[3493]: u9JBSAYx003493: Milter: initialization failed, temp failing commands


I need help to solve this problem.
Thanks
abu.sayeed
 
Posts: 1
Joined: Wed Oct 19, 2016 12:16 pm

Re: bav.sock unsafe?

Postby andrade.bga » Thu Mar 30, 2017 12:07 am

Regarding the message:

Code: Select all
Milter (bav): local socket name /home/openemm/var/run/bav.sock unsafe
Milter (bav): to error state
Milter: initialization failed, temp failing commands


You should check this post:

http://openemm.agnitas.de/installation-upgrades-f2/topic3120.html

If you run:

Code: Select all
/home/openemm/var/bin/bav


and get that libmilter.so.1.0 is missing, you should install libmilter (in my case, for Ubuntu server 16.04.2 LTS):

Code: Select all
sudo apt-get install libmilter-dev


Than you can check where the lib was installed:

Code: Select all
sudo dpkg -L libmilter-dev

/.
/usr
/usr/share
/usr/share/bug
/usr/share/bug/libmilter-dev
/usr/share/bug/libmilter-dev/script
/usr/share/bug/libmilter-dev/control
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/libmilter-dev
/usr/share/doc
/usr/share/doc/libmilter-dev
/usr/share/doc/libmilter-dev/README.Debian
/usr/share/doc/libmilter-dev/copyright
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libsm.a
/usr/lib/x86_64-linux-gnu/libsmutil.a
/usr/lib/x86_64-linux-gnu/libmilter.a
/usr/include
/usr/include/libmilter
/usr/include/libmilter/mfdef.h
/usr/include/libmilter/mfapi.h
/usr/share/doc/libmilter-dev/README.gz
/usr/share/doc/libmilter-dev/changelog.Debian.gz
[b]/usr/lib/x86_64-linux-gnu/libmilter.so[/b]


After that you have to create a symlink as instructed in the above post link, in my case:

Code: Select all
sudo ln -s /usr/lib/x86_64-linux-gnu/libmilter.so /lib/x86_64-linux-gnu/libmilter.so.1.0


Now /home/openemm/var/run/bav.sock gets loaded and there is now more error messages in /var/log/maillog. Note the difference between libmilter versions, but up until now i'm not having issues with that.
andrade.bga
 
Posts: 2
Joined: Tue Feb 07, 2017 1:08 am


Return to Bounce Management

Who is online

Users browsing this forum: No registered users and 3 guests

cron