i had my email client sending email fine using the submission port, but now i get a wrong username and password when i try to send mail. i logged into the server and used telnet to send a test email and it worked? why is the password for downloading the mail working, but for sending it doesn't? aren't these the same password. and why did it stop working all of a sudden? did a config file get reset without my knowledge? any help is greatly appreciated.
settings i setup the perfect server with debian squeeze and ispconfig 3 i got everything working and then couldnt send an email from an email client. then i got it to work after enabling the submission port in master.cf and using that in the email client. but all of a sudden i get an error message that the password is wrong now when i try to send email? if you need me to check anything else just let me know and i will post it here. thanks. master.cf # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # ========================================================================== smtp inet n - - - - smtpd submission inet n - - - - smtpd error: Oct 5 15:20:13 server amavis[19381]: (19381-11) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (Can't connect to UNIX socket /var/run/clamav/clamd.ctl: Connection refused) at (eval 117) line 373.\n
ok i restarted it, not i will try to send email again /var/log# /etc/init.d/clamav-daemon restart * Stopping ClamAV daemon clamd /sbin/start-stop-daemon: warning: failed to kill 2581: No such process [ OK ] * Starting ClamAV daemon clamd LibClamAV Warning: *********************************************************** LibClamAV Warning: *** This version of the ClamAV engine is outdated. *** LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq *** LibClamAV Warning: *********************************************************** LibClamAV Warning: *********************************************************** LibClamAV Warning: *** This version of the ClamAV engine is outdated. *** LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq *** LibClamAV Warning: ***********************************************************
frshclam doesnt work .... root@omega:/var/log# /etc/init.d/clamav-daemon stop * Stopping ClamAV daemon clamd [ OK ] root@omega:/var/log# /etc/init.d/clamav-daemon start * Starting ClamAV daemon clamd LibClamAV Warning: *********************************************************** LibClamAV Warning: *** This version of the ClamAV engine is outdated. *** LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq *** LibClamAV Warning: *********************************************************** LibClamAV Warning: *********************************************************** LibClamAV Warning: *** This version of the ClamAV engine is outdated. *** LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq *** LibClamAV Warning: *********************************************************** [ OK ] root@omega:/var/log# freshclam ERROR: /var/log/clamav/freshclam.log is locked by another process ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log). root@omega:/var/log#
sending meail still not working. i changed the password and i still cant send mail but i can receive it
i found these /var/log/mail.info:Oct 2 06:30:06 server amavis[31116]: (31116-18) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (Can't connect to UNIX socket /var/run/clamav/clamd.ctl: Connection refused) at (eval 117) line 373.\n server postfix/smtpd[25488]: warning: SASL authentication failure: cannot connect to saslauthd server: Connection refused /var/log/syslog.1:Oct 5 16:37:11 server postfix/smtpd[25488]: warning: SASL authentication failure: Password verification failed /var/log/syslog.1:Oct 5 16:37:11 server postfix/smtpd[25488]: warning: rcn.com[xxx.xxx.xxx.xxx]: SASL PLAIN authentication failed: generic failure
Can you delete /var/run/clamav/clamd.ctl... Code: rm -f /var/run/clamav/clamd.ctl ... and restart Clamd?
still doesnt work, same errors [ OK ] root@omega:~# /etc/init.d/clamav-daemon stop * Stopping ClamAV daemon clamd [ OK ] root@omega:~# freshclam ERROR: /var/log/clamav/freshclam.log is locked by another process ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log). root@omega:~# /etc/init.d/clamav-daemon start * Starting ClamAV daemon clamd LibClamAV Warning: *********************************************************** LibClamAV Warning: *** This version of the ClamAV engine is outdated. *** LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq *** LibClamAV Warning: *********************************************************** LibClamAV Warning: *********************************************************** LibClamAV Warning: *** This version of the ClamAV engine is outdated. *** LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq *** LibClamAV Warning: *********************************************************** [ OK ] root@omega:~#
The /etc/init.d/clamav-daemon start looks good to me - the warnings can be ignored. Do you still get the socket errors in your mail log?
errors yes i get the same errors: /var/log/mail.info:Oct 2 06:30:06 server amavis[31116]: (31116-18) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (Can't connect to UNIX socket /var/run/clamav/clamd.ctl: Connection refused) at (eval 117) line 373.\n server postfix/smtpd[25488]: warning: SASL authentication failure: cannot connect to saslauthd server: Connection refused /var/log/syslog.1:Oct 5 16:37:11 server postfix/smtpd[25488]: warning: SASL authentication failure: Password verification failed /var/log/syslog.1:Oct 5 16:37:11 server postfix/smtpd[25488]: warning: rcn.com[xxx.xxx.xxx.xxx]: SASL PLAIN authentication failed: generic failure do you think that i might be banned from too many retries or something?