• 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.

Question Problem with mail form

CoyoteKG

Regular Pleskian
Hello,
on our site we have one form like this
Code:
    $mail = new PHPMailer;
    $mail->isSMTP();
    $mail->Host = "ex4.info";
// $mail->SMTPSecure = "ssl";
    $mail->Port = "25";
    $mail->SMTPAuth = true;
    $mail->Username = "[email protected]";
    $mail->Password = "465464846546adasdasd";
    $mail->setFrom('[email protected]', '"Kringers Formmailer" <[email protected]>');
    $mail->addReplyTo('[email protected]');
    $mail->addAddress('[email protected]');
    $mail->Subject = 'WEBSITE KONTAKT';
    $mail->msgHTML($strMailtext);

But form not working. We can't receive mails.
I check logs, and this is from maillog
Jan 25 10:26:54 africka-sljiva postfix/smtpd[13166]: connect from africka-sljiva.ex4.info[213.239.193.5]
Jan 25 10:26:54 africka-sljiva postfix/smtpd[13166]: warning: connect to Milter service unix:/spamass/spamass.sock: No such file or directory
Jan 25 10:26:54 africka-sljiva postfix/smtpd[13166]: warning: connect to Milter service inet:127.0.0.1:12768: Connection refused
Jan 25 10:26:54 africka-sljiva postfix/smtpd[13166]: SSL_accept error from africka-sljiva.ex4.info[213.239.193.5]: 0
Jan 25 10:26:54 africka-sljiva postfix/smtpd[13166]: warning: TLS library problem: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:s3_pkt.c:1294:SSL alert number 48:
Jan 25 10:26:54 africka-sljiva postfix/smtpd[13166]: lost connection after STARTTLS from africka-sljiva.ex4.info[213.239.193.5]
Jan 25 10:26:54 africka-sljiva postfix/smtpd[13166]: disconnect from africka-sljiva.ex4.info[213.239.193.5]

and this form mailwarn
Jan 25 10:26:54 africka-sljiva postfix/smtpd[13166]: warning: connect to Milter service unix:/spamass/spamass.sock: No such file or directory
Jan 25 10:26:54 africka-sljiva postfix/smtpd[13166]: warning: connect to Milter service inet:127.0.0.1:12768: Connection refused
Jan 25 10:26:54 africka-sljiva postfix/smtpd[13166]: warning: TLS library problem: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:s3_pkt.c:1294:SSL alert number 48:

Can you help me how to resolve this?
Why those TLS errors, when in that php form we chose port 25 and no SSL?
 
warning: connect to Milter service inet:127.0.0.1:12768: Connection refused

Make sure, at least, that pc-remote server is up and running:

# service pc-remote status
psa-pc-remote (pid 5090) is running...
 
I got this

Code:
root@africka-sljiva ~ # service pc-remote status
● pc-remote.service - Plesk mail filter service for Postfix
   Loaded: loaded (/lib/systemd/system/pc-remote.service; enabled)
   Active: failed (Result: signal) since Tue 2017-01-24 07:48:46 CET; 1 day 3h ago
 Main PID: 32067 (code=killed, signal=SEGV)

Jan 24 06:27:22 africka-sljiva.ex4.info systemd[1]: Started Plesk mail filter service for Postfix.
Jan 24 07:27:13 africka-sljiva.ex4.info /usr/lib/plesk-9.0/psa-pc-remote[32067]: Message aborted.
Jan 24 07:27:13 africka-sljiva.ex4.info /usr/lib/plesk-9.0/psa-pc-remote[32067]: Message aborted.
Jan 24 07:32:29 africka-sljiva.ex4.info /usr/lib/plesk-9.0/psa-pc-remote[32067]: Message aborted.
Jan 24 07:32:29 africka-sljiva.ex4.info /usr/lib/plesk-9.0/psa-pc-remote[32067]: Message aborted.
Jan 24 07:48:46 africka-sljiva.ex4.info systemd[1]: pc-remote.service: main process exited, code=killed, status=11/SEGV
Jan 24 07:48:46 africka-sljiva.ex4.info systemd[1]: Unit pc-remote.service entered failed state.


For now I added some old php script with no SMTP auth and now contact form working.
But I have no idea if it is good to have that kind of mail sending... kontakt form and that script are on the same server like mailserver
 
I started it already, and there is no error in mailwarn about pc-remote, now just this
Code:
Jan 25 11:08:06 africka-sljiva postfix/smtpd[17854]: warning: connect to Milter service unix:/spamass/spamass.sock: No such file or directory
Jan 25 11:08:06 africka-sljiva postfix/smtpd[17854]: warning: TLS library problem: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:s3_pkt.c:1294:SSL alert number 48:

and in maillog this
Code:
Jan 25 11:07:34 africka-sljiva postfix/smtpd[17854]: connect from africka-sljiva.ex4.info[213.239.193.5]
Jan 25 11:07:34 africka-sljiva postfix/smtpd[17854]: warning: connect to Milter service unix:/spamass/spamass.sock: No such file or directory
Jan 25 11:07:34 africka-sljiva postfix/smtpd[17854]: SSL_accept error from africka-sljiva.ex4.info[213.239.193.5]: 0
Jan 25 11:07:34 africka-sljiva postfix/smtpd[17854]: warning: TLS library problem: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:s3_pkt.c:1294:SSL alert number 48:
Jan 25 11:07:34 africka-sljiva postfix/smtpd[17854]: lost connection after STARTTLS from africka-sljiva.ex4.info[213.239.193.5]
Jan 25 11:07:34 africka-sljiva postfix/smtpd[17854]: disconnect from africka-sljiva.ex4.info[213.239.193.5]
 
Back
Top