Email not working

Discussion in 'Server Operation' started by ender, Dec 5, 2014.

  1. ender

    ender New Member

    Hi,
    Any thoughts/comments would be welcomed.

    I have a VPS (running ubuntu 14.04 + ISPConfig) and trying to set up to work with a domain that was purchased at 1and1.com. All seems to be working fine - except for emailing. I cant send and receive emails.

    /var/log/mail.log is litterally full with:
    Code:
     ************.com postfix/error[7178]: A0C6C2341B78: to=<getmail@************.com>, orig_to=<getmail>, relay=none, delay=38127, delays=38127/0.12/0/0.04, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) 
    Everytime I try to send a letter the following is added to the log:

    Code:
    Dec  5 08:10:28 ************ postfix/error[6741]: A5EAF2341BEB: to=<***DESTINATION-ADDRESS***>, relay=none, delay=4779, delays=4779/0.09/0/0.05, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Dec  5 08:15:01 ************ postfix/pickup[6791]: 79EB22341C00: uid=5001 from=<getmail>
    Dec  5 08:15:01 ************ postfix/cleanup[6806]: 79EB22341C00: message-id=<20141205131501.79EB22341C00@************.com>
    Dec  5 08:15:01 ************ dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<7jRE3XcJcwAAAAAAAAAAAAAAAAAAAAAB>
    Dec  5 08:15:01 ************ postfix/smtpd[6829]: connect from localhost[::1]
    Dec  5 08:15:01 ************ postfix/smtpd[6829]: lost connection after CONNECT from localhost[::1]
    Dec  5 08:15:01 ************ postfix/smtpd[6829]: disconnect from localhost[::1]
    Dec  5 08:15:01 ************ dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<IlpE3XcJzwAAAAAAAAAAAAAAAAAAAAAB>
    Dec  5 08:15:01 ************ postfix/qmgr[3874]: 79EB22341C00: from=<getmail@************.com>, size=638, nrcpt=1 (queue active)
    Dec  5 08:15:01 ************ postfix/smtp[6842]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Dec  5 08:15:01 ************ postfix/smtp[6842]: 79EB22341C00: to=<getmail@************.com>, orig_to=<getmail>, relay=none, delay=0.23, delays=0.21/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    
    I'm not sure why receiving is not working as emails seem to be going straight down to devnull or i dont know where - no errors appear in the logs, no errors bounce back to the sender.

    I think DNS configuration might be causing the issue.

    Any ideas?

    Thank you,
    Jozsef
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    amavisd is not running, please start amavis.
     
  3. ender

    ender New Member

    Thank you for your suggestion. I stopped amavis because somebody wrote that it might casue issues like this. The problem was there with amavis running as well :(
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The above problem was only caused by amavis not running, stopping it must break your server so that was a silly suggestion that someone gave you.

    If you still have problems, then test again and post the new errors that you get now.
     
  5. ender

    ender New Member

    Thanks till,

    Turns out, amavis not runnig was really a bad idea. And it might have had not run - it failed to start as devnull had a permission of 600. After changing it to 666 amavis started. Aaaand problem solved, thanks :)
     

Share This Page