• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

connect to Milter service unix:/ctmilter/ctmilter.sock: No such file or directory

nevakee

Basic Pleskian
Hi,

I have just installed "Outbound Antispam" extension. Since I can't send any e-mail.

Code:
Dec 30 17:23:24 ws01 postfix/smtpd[24683]: connect from server.xxx.local[192.168.253.6]
Dec 30 17:23:24 ws01 postfix/smtpd[24683]: setting up TLS connection from server.xxx.local[192.168.253.6]
Dec 30 17:23:24 ws01 postfix/smtpd[24683]: Anonymous TLS connection established from server.xxx.local[192.168.253.6]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Dec 30 17:23:25 ws01 postfix/smtpd[24683]: 07CCF3A1253: client=server.xxx.local[192.168.253.6], sasl_method=LOGIN, [email protected]
Dec 30 17:23:25 ws01 postfix/cleanup[25846]: 07CCF3A1253: message-id=<>
Dec 30 17:23:25 ws01 spf filter[25849]: Starting spf filter...
Dec 30 17:23:25 ws01 ct-milter[24677]: queueid=07CCF3A1253
Dec 30 17:23:25 ws01 ct-milter[24677]: mlfi_eom: ctasd_outbound is on and connect IP in mynetworks list -> working in outbound mode.
Dec 30 17:23:25 ws01 ct-milter[24677]: [ASVOD] OUT IP: 192.168.253.6, Sender(Auth): <[email protected]>([email protected]), Spam: Unknown, VOD: Unknown, RefID: str=0001.0A090201.52C19DFD.00EC,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, Action: tag, QueueId: 07CCF3A1253, SenderID: [email protected], Flags: 0, TMsg: 1, TSpam: 0, TSus: 0, TVirus: 0
Dec 30 17:23:25 ws01 postfix/qmgr[24623]: 07CCF3A1253: from=<[email protected]>, size=11643, nrcpt=1 (queue active)
Dec 30 17:23:25 ws01 clamsmtpd: 100054: accepted connection from: 127.0.0.1
Dec 30 17:23:25 ws01 postfix/smtpd[24683]: disconnect from server.xxx.local[192.168.253.6]
Dec 30 17:23:25 ws01 postfix/smtpd[25852]: connect from localhost[127.0.0.1]
Dec 30 17:23:25 ws01 postfix/smtpd[25852]: warning: connect to Milter service unix:/ctmilter/ctmilter.sock: No such file or directory
Dec 30 17:23:25 ws01 postfix/smtpd[25852]: NOQUEUE: milter-reject: CONNECT from localhost[127.0.0.1]: 451 4.7.1 Service unavailable - try again later; proto=SMTP
Dec 30 17:23:25 ws01 postfix/smtpd[25852]: NOQUEUE: milter-reject: EHLO from localhost[127.0.0.1]: 451 4.7.1 Service unavailable - try again later; proto=SMTP helo=<ws01.xxx.de>
Dec 30 17:23:25 ws01 postfix/smtpd[25852]: NOQUEUE: milter-reject: MAIL from localhost[127.0.0.1]: 451 4.7.1 Service unavailable - try again later; from=<[email protected]> proto=ESMTP helo=<ws01.xxx.de>
Dec 30 17:23:25 ws01 postfix/smtp[25850]: 07CCF3A1253: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10125, delay=0.53, delays=0.46/0.01/0.06/0, dsn=4.7.1, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.7.1 Service unavailable - try again later (in reply to MAIL FROM command))
Dec 30 17:23:25 ws01 postfix/smtpd[25852]: disconnect from localhost[127.0.0.1]
Dec 30 17:23:25 ws01 /usr/lib/plesk-9.0/psa-pc-remote[6313]: Message aborted.

Code:
~ # ls -la /var/spool/postfix/ctmilter/
total 8.0K
drwxr-xr-x  2 postfix root    4.0K Dec 30 17:22 .
drwxr-xr-x 23 root    root    4.0K Dec 30 16:27 ..
srwxr-xr-x  1 postfix postfix    0 Dec 30 17:22 ctmilter.sock

Code:
~ # ps aux | grep 'ctmilter\|ctasd'
nobody    3713  0.0  0.0   4068   892 ?        Ss   17:54   0:00 ./ctasd.bin -l / -c /etc/ctasd/ctasd-out.conf --pid /var/run/ctasd/ctasd.pid
nobody    3714  0.3  0.1  51872 24544 ?        Sl   17:54   0:16 ./ctasd.bin -l / -c /etc/ctasd/ctasd-out.conf --pid /var/run/ctasd/ctasd.pid
postfix  24677  0.0  0.0  19692   916 ?        Ssl  17:22   0:00 ./ctmilter.bin -f -P /var/run/ctmilter/ctmilter -u postfix -G -d MISC -s -I -p /var/spool/postfix/ctmilter/ctmilter.sock -O --ctasd-outbound-port 8088 -f --local-networks 127.0.0.0/8,xx.xx.xx.xx/32 -a -e --outbound-spam-reject --outbound-vod-virus-reject --outbound-vod-high-reject

Code:
~ # postconf -n | grep smtpd_milters
non_smtpd_milters = inet:localhost:12768 unix:/ctmilter/ctmilter.sock
smtpd_milters = inet:localhost:12768 unix:/ctmilter/ctmilter.sock

The Mail server configuration I have already repaired/rebuilded (mchk --with-spam).

License for "parallels-premium-outbound-antispam-unix" exists.
Parallels Plesk Panel v11.5.30_build115130819.13 os_Debian 6.0 / Update #28

Has anyone an idea?
 
Last edited:
Try to modify /etc/postfix/main.cf file with following way:

#smtpd_milters = inet:localhost:12768 unix:/ctmilter/ctmilter.sock
#non_smtpd_milters = inet:localhost:12768 unix:/ctmilter/ctmilter.sock
smtpd_milters = inet:localhost:12768
non_smtpd_milters = inet:localhost:12768

Based on the above it appears that the socket connection is not being established so you are forcing it to use the "inet" port instead of having a choice between "inet" and "socket" which fails.
 
When I removed "unix:/ctmilter/ctmilter.sock", no emails will be filtered and Protection is off.

That is not the purpose of the extension, to turn it off, if it doesn't work!
 

Attachments

  • Bildschirmfoto 2013-12-31 um 10.34.35.png
    Bildschirmfoto 2013-12-31 um 10.34.35.png
    24.5 KB · Views: 13
Problem solved.

Code:
~ # postconf -n | grep smtpd_milters
non_smtpd_milters = inet:localhost:12768 unix:ctmilter/ctmilter.sock
smtpd_milters = inet:localhost:12768 unix:ctmilter/ctmilter.sock
No / after unix:


How can i remove/hide the following email header?
Code:
X-CTCH-SenderID: 127.0.0.1
X-CTCH-SenderID-TotalMessages: 1
X-CTCH-SenderID-TotalSpam: 0
X-CTCH-SenderID-TotalSuspected: 0
X-CTCH-SenderID-TotalBulk: 0
X-CTCH-SenderID-TotalConfirmed: 0
X-CTCH-SenderID-TotalRecipients: 0
X-CTCH-SenderID-TotalVirus: 0
X-CTCH-SenderID-BlueWhiteFlag: 0
 
Back
Top