can't send email after installing ispconfig 3 from email client

Discussion in 'Server Operation' started by anubix, Oct 4, 2011.

  1. anubix

    anubix New Member

    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.
     
  2. falko

    falko Super Moderator

    Which tutorial (URL) did you use to set up your system? Are there any errors in your mail log?
     
  3. anubix

    anubix New Member

    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
     
  4. till

    till Super Moderator

    Please restart clamav and try to send again.
     
  5. anubix

    anubix New Member

    how to restart?

    how do i restart clamav

    using clamd?

    sorry :(
     
  6. anubix

    anubix New Member

    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: ***********************************************************
     
  7. anubix

    anubix New Member

    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#
     
  8. anubix

    anubix New Member

    sending meail still not working.

    i changed the password and i still cant send mail but i can receive it
     
  9. anubix

    anubix New Member

    sending mail works with webmail squirrels though

    mail works with webmail squirrels though
     
  10. falko

    falko Super Moderator

    Are there any errors in your mail log (in the /var/log/ directory)?
     
  11. anubix

    anubix New Member

    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
     
  12. falko

    falko Super Moderator

    Can you delete /var/run/clamav/clamd.ctl...
    Code:
    rm -f /var/run/clamav/clamd.ctl
    ... and restart Clamd?
     
  13. anubix

    anubix New Member

    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:~#
     
  14. falko

    falko Super Moderator

    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?
     
  15. anubix

    anubix New Member

    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?
     
  16. falko

    falko Super Moderator

    But these errors are from October 2 and 5...
     

Share This Page