Hello, today I start using ISPConfig on my VPS, I setup sites ftp etc. with no problem. But when I tried to send, o receive email it wont works... I try to recreate mailboxes, turn on and turn off DKIM and also restart server few times.... I use Debian 9, when I try to check services, it looks like amavis is turned off. Code: [ - ] amavis [ - ] amavis-mc [ - ] amavisd-snmp-subagent [ + ] apache-htcacheclean [ + ] apache2 [ + ] bind9 [ + ] clamav-daemon [ + ] clamav-freshclam [ + ] cron [ + ] dbus [ + ] dovecot [ - ] fail2ban [ + ] gdomap [ - ] haveged [ - ] hwclock.sh [ ? ] jailkit [ - ] kmod [ + ] memcached [ + ] mysql [ + ] networking [ + ] ntp [ + ] openbsd-inetd [ + ] opendkim [ + ] php7.0-fpm [ + ] postfix [ + ] postgrey [ + ] procps [ + ] pure-ftpd-mysql [ + ] quota [ - ] quotarpc [ - ] rsync [ + ] rsyslog [ - ] spamassassin [ + ] ssh [ - ] sudo [ + ] udev [ + ] ufw I tried to start it, but it FAILED with this message: In many logs I still see this: I really do not know, where is the problem, if is some misconfiguration with DNS, or email, or anything else. Hope you will help me Thank you very much for any idea or help. Have a nice day!
How did you restart it? The command on Debian 9 is: systemctl restart amavis and you should see new messages then in /var/log/mail.log e.g. with: tail -n 100 /var/log/mail.log
It shows me now this: Code: Jan 26 14:30:02 server1 dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<Uypfu65jdqYAAAAAAAAAAAAAAAAAAAAB> Jan 26 14:30:02 server1 postfix/smtpd[31316]: connect from localhost[::1] Jan 26 14:30:02 server1 postfix/smtpd[31316]: lost connection after CONNECT from localhost[::1] Jan 26 14:30:02 server1 postfix/smtpd[31316]: disconnect from localhost[::1] commands=0/0 Jan 26 14:30:02 server1 dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<5BNgu65jJsgAAAAAAAAAAAAAAAAAAAAB>
Strange, either the amavis setup is completely broken or it is not fully installed or parts have been deleted. Which tutorial did you use to prepare your server for the iSPConfig installation?
I was use this: https://www.howtoforge.com/tutorial/ispconfig-install-script-debian/ And then when amavis wont start as still now I use this: https://support.plesk.com/hc/en-us/...-127-0-0-1-127-0-0-1-10024-Connection-refused To comment two rows and the sending is working... But receiving dont.... Amavis still do not work.
That's not a solution for the amavis problem, it simply partially removes amavis from the config. you should undo the steps that you found for plesk. The official installation guide is this: https://www.howtoforge.com/tutorial...-9-stretch-apache-bind-dovecot-ispconfig-3-1/ redo chapters 4 to 9. Then download ispconfig again, unpack it, run the update.php script in the install folder and choose to reconfigure services during update.
It is so strange, when I run upgrade, it block me anyway.... Code: amavis.service - LSB: Starts amavisd-new mailfilter Loaded: loaded (/etc/init.d/amavis; generated; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 2018-01-26 15:16:32 UTC; 36ms ag o Docs: man:systemd-sysv-generator(8) Process: 1834 ExecStart=/etc/init.d/amavis start (code=exited, status=1/FAILUR E) Jan 26 15:16:32 server1 amavis[1834]: The value of variable $myhostname i…been Jan 26 15:16:32 server1 amavis[1834]: a fully qualified domain name; perh…uch. Jan 26 15:16:32 server1 amavis[1834]: You must explicitly assign a FQDN o…name Jan 26 15:16:32 server1 amavis[1834]: in /etc/amavis/conf.d/05-node_id, o…st's Jan 26 15:16:32 server1 amavis[1834]: network name! Jan 26 15:16:32 server1 amavis[1834]: (failed). Jan 26 15:16:32 server1 systemd[1]: amavis.service: Control process exited,…us=1 Jan 26 15:16:32 server1 systemd[1]: Failed to start LSB: Starts amavisd-new…ter. Jan 26 15:16:32 server1 systemd[1]: amavis.service: Unit entered failed state. Jan 26 15:16:32 server1 systemd[1]: amavis.service: Failed with result 'exi…de'. Hint: Some lines were ellipsized, use -l to show in full. dpkg: error processing package amavisd-new (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: amavisd-new E: Sub-process /usr/bin/dpkg returned an error code (1) Cannot perform anything
I have set it up I thing good: Code: ff02::1 ip6-allnodes ff02::2 ip6-allrouters 127.0.0.1 localhost.localdomain localhost 37.205.11.25 server1.eilat.sk # Auto-generated hostname. Please do not remove this comment. ::1 localhost ip6-localhost ip6-loopback And hostname have server1
When you compare this with the tutorial, then you see that the line: 37.205.11.25 server1.eilat.sk has to be: 37.205.11.25 server1.eilat.sk server1
Now it looks like: Code: ff02::1 ip6-allnodes ff02::2 ip6-allrouters 127.0.0.1 localhost.localdomain localhost 37.205.11.25 server1.eilat.sk server1 # Auto-generated hostname. Please do not remove this comment. ::1 localhost ip6-localhost ip6-loopback hostname have this server1 rebooted apt-get update- Works! apt-get upgrade - not working: Code: Jan 26 15:37:20 server1 amavis[1744]: Starting amavisd: The value of vari…been Jan 26 15:37:20 server1 amavis[1744]: a fully qualified domain name; perh…uch. Jan 26 15:37:20 server1 amavis[1744]: You must explicitly assign a FQDN o…name Jan 26 15:37:20 server1 amavis[1744]: in /etc/amavis/conf.d/05-node_id, o…st's Jan 26 15:37:20 server1 amavis[1744]: network name! Jan 26 15:37:20 server1 amavis[1744]: (failed). Jan 26 15:37:20 server1 systemd[1]: amavis.service: Control process exited,…us=1 Jan 26 15:37:20 server1 systemd[1]: Failed to start LSB: Starts amavisd-new…ter. Jan 26 15:37:20 server1 systemd[1]: amavis.service: Unit entered failed state. Jan 26 15:37:20 server1 systemd[1]: amavis.service: Failed with result 'exi…de'. Hint: Some lines were ellipsized, use -l to show in full. dpkg: error processing package amavisd-new (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: amavisd-new E: Sub-process /usr/bin/dpkg returned an error code (1)
and check the /etc/hosts file, does it still contain the exact line: 37.205.11.25 server1.eilat.sk server1