Posted this in forums, Cannot find the answer, POSTFIX fail and DOVECOT fail

RELATED FORUM POST

https://www.virtualmin.com/node/44941

Ran ss -anlp | grep :25 on old server setup, couldn't get help so I did a fresh install to test it out.

Same issue with no firewalls active.

[root@dns ~]# ss -anlp | grep :25

Cannot open netlink socket: Protocol not supported

Cannot open netlink socket: Protocol not supported

Cannot open netlink socket: Protocol not supported

Cannot open netlink socket: Protocol not supported

Cannot open netlink socket: Protocol not supported

tcp LISTEN 0 0 :25 *: users:(("master",pid=6075,fd=13))

Cannot open netlink socket: Protocol not supported

tcp LISTEN 0 0 :::25 :::* users:(("master",pid=6075,fd=14))

tcp LISTEN 0 0 :25 *: users:(("master",pid=6075,fd=13))

tcp LISTEN 0 0 :::25 :::* users:(("master",pid=6075,fd=14))

When logging in, cannot get access to "storage server"

Autoconfig works.

Used roundcube through browser also, was a nogo. "Connection to storage server failed."

If I try to login with wrong credentials I get "Login failed."

DOVECOT FAIL

Active: failed (Result: exit-code) since Tue 2016-12-20 02:06:34 UTC; 10s ago

Process: 17419 ExecStart=/usr/sbin/dovecot -F (code=exited, status=89)

Process: 17415 ExecStartPre=/usr/libexec/dovecot/prestartscript (code=exited, status=0/SUCCESS)

Main PID: 17419 (code=exited, status=89)

Dec 20 02:06:34 dns.litonfiredesign.com systemd[1]: Starting Dovecot IMAP/POP3 email server...

Dec 20 02:06:34 dns.litonfiredesign.com systemd[1]: Started Dovecot IMAP/POP3 email server.

Dec 20 02:06:34 dns.litonfiredesign.com dovecot[17419]: Fatal: Dovecot is already running with PID 8100 (read from /var/run/dovecot/master.pid)

Dec 20 02:06:34 dns.litonfiredesign.com systemd[1]: dovecot.service: main process exited, code=exited, status=89/n/a

Dec 20 02:06:34 dns.litonfiredesign.com systemd[1]: Unit dovecot.service entered failed state.

Dec 20 02:06:34 dns.litonfiredesign.com systemd[1]: dovecot.service failed.

POSTFIX FAIL

Active: failed (Result: exit-code) since Tue 2016-12-20 02:07:56 UTC; 17s ago

Process: 17451 ExecStart=/usr/sbin/postfix start (code=exited, status=1/FAILURE)

Process: 17448 ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=0/SUCCESS)

Process: 17442 ExecStartPre=/usr/libexec/postfix/aliasesdb (code=exited, status=0/SUCCESS)

Dec 20 02:07:56 dns.litonfiredesign.com systemd[1]: Starting Postfix Mail Transport Agent...

Dec 20 02:07:56 dns.litonfiredesign.com postfix/postfix-script[17457]: fatal: the Postfix mail system is already running

Dec 20 02:07:56 dns.litonfiredesign.com systemd[1]: postfix.service: control process exited, code=exited status=1

Dec 20 02:07:56 dns.litonfiredesign.com systemd[1]: Failed to start Postfix Mail Transport Agent.

Dec 20 02:07:56 dns.litonfiredesign.com systemd[1]: Unit postfix.service entered failed state.

Dec 20 02:07:56 dns.litonfiredesign.com systemd[1]: postfix.service failed.

Status: 
Active

Comments

Howdy -- sorry to hear some things aren't working properly for you!

You may want to take a look at the logs in /var/log/maillog to see what errors are being thrown there.

I've seen the can't connect to storage server error occur recently when Dovecot had "first_valid_uid" set too low... the fix was to comment that line out in Dovecot.

It looks like you're using Virtualmin GPL there though, and the area here is for folks using Virtualmin Pro.

If you had any followup questions, we'd encourage you to use the Forums or IRC for support. I know you've already asked on the Forums, sometimes an answer may take a bit longer if it's a tricky question folks hadn't run into though.

Thanks!