Topic: Rebooted server and now postgrey won't start
==== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Linux/BSD distribution name and version: OpenSuse
- Related log if you're reporting an issue:
====
Rebooted the server yesterday and now I noticed that I'm not getting mail. Checked /var/log/mail and see this over and over:
###############################
2013-11-21T09:03:10.222426-05:00 linux01 postfix/smtpd[7560]: connect from unknown[198.61.169.132]
2013-11-21T09:03:10.274411-05:00 linux01 postfix/smtpd[7284]: warning: connect to 127.0.0.1:10031: Connection refused
2013-11-21T09:03:10.274883-05:00 linux01 postfix/smtpd[7284]: warning: problem talking to server 127.0.0.1:10031: Connection refused
###############################
issuing: systemctl status postgrey.service
returns this:
###############################
postgrey.service - LSB: Postgrey a greylisting server for postfix
Loaded: loaded (/etc/init.d/postgrey)
Active: failed (Result: exit-code) since Thu, 2013-11-21 08:58:04 EST; 5s ago
Process: 7224 ExecStart=/etc/init.d/postgrey start (code=exited, status=7)
CGroup: name=systemd:/system/postgrey.service
â 7121 /usr/sbin/postgrey -d --unix=/var/spool/postfix/postgrey/socket --auto-whitelist-clients
â 7235 /usr/sbin/postgrey -d --unix=/var/spool/postfix/postgrey/socket --auto-whitelist-clients
Nov 21 08:58:04 linux01.ashcortechnologies.com postgrey[7224]: (Maybe you should just omit the defined()?)
Nov 21 08:58:04 linux01.ashcortechnologies.com postgrey[7235]: Process Backgrounded
Nov 21 08:58:04 linux01.ashcortechnologies.com postgrey[7235]: 2013/11/21-08:58:04 postgrey (type Net::Server::Multiplex) starting! pid(7235)
Nov 21 08:58:04 linux01.ashcortechnologies.com postgrey[7235]: Using default listen value of 128
Nov 21 08:58:04 linux01.ashcortechnologies.com postgrey[7235]: Binding to UNIX socket file /var/spool/postfix/postgrey/socket using SOCK_STREAM
Nov 21 08:58:04 linux01.ashcortechnologies.com postgrey[7235]: Setting gid to "51 51"
Nov 21 08:58:04 linux01.ashcortechnologies.com postgrey[7235]: Setting uid to "302"
Nov 21 08:58:04 linux01.ashcortechnologies.com postgrey[7224]: ..failed
Nov 21 08:58:04 linux01.ashcortechnologies.com systemd[1]: Failed to start LSB: Postgrey a greylisting server for postfix.
Nov 21 08:58:04 linux01.ashcortechnologies.com systemd[1]: Unit postgrey.service entered failed state
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.