New answers tagged

0

The reason was because /etc/init.d/postfix did not exist. I created a blank /etc/init.d/postfix file and made it executable using sudo chmod +x /etc/init.d/postfix, then problem solved.


0

So, I realised that the clamav-daemon wasn't restarting properly, which also uses(correct terminology??) the milter. On reviewing the log for the clamav-milter (/var/log/clamav/clamav-milter.log) I can see that the clamd server isn't starting correctly Sun Jun 12 06:29:00 2016 -> WARNING: No clamd server appears to be available Sun Jun 12 06:29:25 2016 -&...


0

This script automates the part after "Done! The server is ready to work with DKIM" To help automate this process a little I created this bash script. Just add one 'domain.com' per line inside the domains=() array. First create the files and directories if they do not already exist /etc/opendkim/keys/ /etc/opendkim/KeyTable /etc/opendkim/SigningTable /etc/...


0

If you have a dynamic IP address, your ISP may be blocking traffic on port 25. You have two options: Use the ISPs relay to send your mail. This should be the smarthost option when you configure postfix. Configure postfix to use the submission port with the required credentials to logon to your gmail account. If you have configured a firewall, you ...


0

The problem could be that Postfix is trying to use ipv6. If this the case then the solution would be disabling ipv6 in /etc/postfix/main.cf by commenting the line # inet_protocols = all and adding line inet_protocols = ipv4 Then restarting Postfix service service postfix restart


0

I can't test it at the moment however, I believe nologin will work for you. sudo usermod -s /usr/sbin/nologin username It will only affect the users shell access, by instead of setting a default shell it will politely tell them to go away. Additionally, postfix.admin may be the tool you're looking for to manage your users with a web interface. http://...


1

In conf file i think mydestination should look like this mydestination = localhost, localhost.localdomain After making changes you have to reload the conf service postfix reload



Top 50 recent answers are included