Email service not working

Discussion in 'Installation/Configuration' started by Vinoth Kumar, Jul 15, 2015.

  1. Vinoth Kumar

    Vinoth Kumar New Member

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the error messages that yu get in /var/log/maillog when you send an email.
     
  3. Vinoth Kumar

    Vinoth Kumar New Member

    Hi Thanks for your reply, here is the list of working and non working mail id log
    Code:
    Jul 15 09:04:04 buffercodes postfix/pickup[370]: 5AFF56EE3: uid=48 from=<[email protected]>
    Jul 15 09:04:04 buffercodes postfix/cleanup[2645]: 5AFF56EE3: message-id=<[email protected]>
    Jul 15 09:04:04 buffercodes postfix/qmgr[23009]: 5AFF56EE3: from=<[email protected]>, size=528, nrcpt=1 (queue active)
    Jul 15 09:04:04 buffercodes postfix/smtp[2652]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Jul 15 09:04:04 buffercodes postfix/smtp[2652]: 5AFF56EE3: to=<[email protected]>, relay=none, delay=0.05, delays=0.04/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jul 15 09:04:04 buffercodes dovecot: imap([email protected]): Disconnected: Logged out in=458 out=568
    Jul 15 09:04:05 buffercodes dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=2663, secured, session=<DUJvoOEa4wAAAAAAAAAAAAAAAAAAAAAB>
    Jul 15 09:04:05 buffercodes dovecot: imap([email protected]): Disconnected: Logged out in=70 out=652
    Jul 15 09:04:06 buffercodes dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=2674, secured, session=<wUSAoOEa5AAAAAAAAAAAAAAAAAAAAAAB>
    Jul 15 09:04:06 buffercodes dovecot: imap([email protected]): Disconnected: Logged out in=76 out=565
    Jul 15 09:04:06 buffercodes dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=2675, secured, session=<nZqAoOEa5QAAAAAAAAAAAAAAAAAAAAAB>
    Jul 15 09:04:06 buffercodes dovecot: imap([email protected]): Disconnected: Logged out in=233 out=891
    Jul 15 09:04:08 buffercodes dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=2689, secured, session=<xWanoOEa5gAAAAAAAAAAAAAAAAAAAAAB>
    Jul 15 09:04:08 buffercodes dovecot: imap([email protected]): Disconnected: Logged out in=32 out=455
    Jul 15 09:04:09 buffercodes dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=2692, secured, session=<Ou2qoOEa5wAAAAAAAAAAAAAAAAAAAAAB>
    Jul 15 09:04:09 buffercodes dovecot: imap([email protected]): Disconnected: Logged out in=44 out=562
    Jul 15 09:04:22 buffercodes postfix/pickup[370]: 7444C6EE4: uid=48 from=<[email protected]>
    Jul 15 09:04:22 buffercodes postfix/cleanup[2645]: 7444C6EE4: message-id=<[email protected]>
    Jul 15 09:04:22 buffercodes postfix/qmgr[23009]: 7444C6EE4: from=<[email protected]>, size=539, nrcpt=1 (queue active)
    Jul 15 09:04:22 buffercodes postfix/smtp[2652]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Jul 15 09:04:22 buffercodes postfix/smtp[2652]: 7444C6EE4: to=<[email protected]>, relay=none, delay=0.01, delays=0.01/0/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jul 15 09:04:22 buffercodes dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=2704, secured, session=<+qF3oeEa7AAAAAAAAAAAAAAAAAAAAAAB>
    Jul 15 09:04:22 buffercodes dovecot: imap([email protected]): Disconnected: Logged out in=469 out=568
    Jul 15 09:04:23 buffercodes dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=2707, secured, session=</bmDoeEa7QAAAAAAAAAAAAAAAAAAAAAB>
    Jul 15 09:04:23 buffercodes dovecot: imap([email protected]): Disconnected: Logged out in=70 out=652
    Jul 15 09:04:24 buffercodes dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=2717, secured, session=<t4GUoeEa7gAAAAAAAAAAAAAAAAAAAAAB>
    
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please start amavisd, the service is not running at the moment.
     
  5. Vinoth Kumar

    Vinoth Kumar New Member

    Hi when I run systemctl status amavisd.service -l, am getting this message.

    Code:
     >>> systemctl status amavisd.service -l
    amavisd.service - Amavisd-new is an interface between MTA and content checkers.
       Loaded: loaded (/usr/lib/systemd/system/amavisd.service; enabled)
       Active: failed (Result: start-limit) since Wed 2015-07-15 13:11:09 IST; 31s ago
         Docs: http://www.ijs.si/software/amavisd/#doc
      Process: 11706 ExecStart=/usr/sbin/amavisd -c /etc/amavisd/amavisd.conf (code=exited, status=255)
    
    Jul 15 13:11:09 buffercodes systemd[1]: amavisd.service: control process exited, code=exited status=255
    Jul 15 13:11:09 buffercodes systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Jul 15 13:11:09 buffercodes systemd[1]: Unit amavisd.service entered failed state.
    Jul 15 13:11:09 buffercodes systemd[1]: amavisd.service holdoff time over, scheduling restart.
    Jul 15 13:11:09 buffercodes systemd[1]: Stopping Amavisd-new is an interface between MTA and content checkers....
    Jul 15 13:11:09 buffercodes systemd[1]: Starting Amavisd-new is an interface between MTA and content checkers....
    Jul 15 13:11:09 buffercodes systemd[1]: amavisd.service start request repeated too quickly, refusing to start.
    Jul 15 13:11:09 buffercodes systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Jul 15 13:11:09 buffercodes systemd[1]: Unit amavisd.service entered failed state.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Restart the amavisd service.
     
  7. Vinoth Kumar

    Vinoth Kumar New Member

    Hi, when i run
    Code:
    [root@buffercodes ~]# systemctl restart amavisd.service
    Job for amavisd.service failed. See 'systemctl status amavisd.service' and 'journalctl -xn' for details.
    So I run
    Code:
    [root@buffercodes ~]# systemctl status amavisd.service
    amavisd.service - Amavisd-new is an interface between MTA and content checkers.
      Loaded: loaded (/usr/lib/systemd/system/amavisd.service; enabled)
      Active: failed (Result: start-limit) since Wed 2015-07-15 13:23:38 IST; 1min 8s ago
      Docs: http://www.ijs.si/software/amavisd/#doc
      Process: 12134 ExecStart=/usr/sbin/amavisd -c /etc/amavisd/amavisd.conf (code=exited, status=255)
    
    Jul 15 13:23:38 buffercodes systemd[1]: amavisd.service: control process exited, code=exited status=255
    Jul 15 13:23:38 buffercodes systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Jul 15 13:23:38 buffercodes systemd[1]: Unit amavisd.service entered failed state.
    Jul 15 13:23:38 buffercodes systemd[1]: amavisd.service holdoff time over, scheduling restart.
    Jul 15 13:23:38 buffercodes systemd[1]: Stopping Amavisd-new is an interface between MTA and content checkers....
    Jul 15 13:23:38 buffercodes systemd[1]: Starting Amavisd-new is an interface between MTA and content checkers....
    Jul 15 13:23:38 buffercodes systemd[1]: amavisd.service start request repeated too quickly, refusing to start.
    Jul 15 13:23:38 buffercodes systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Jul 15 13:23:38 buffercodes systemd[1]: Unit amavisd.service entered failed state.
    
    
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Any errors in the maillog?
     
  9. Vinoth Kumar

    Vinoth Kumar New Member

    This is log of maillog
    Code:
    Jul 15 12:40:49 buffercodes clamd[23028]: SelfCheck: Database status OK.
    Jul 15 12:41:35 buffercodes postfix/qmgr[23009]: 7444C6EE4: from=<[email protected]>, size=539, nrcpt=1 (queue active)
    Jul 15 12:41:35 buffercodes postfix/qmgr[23009]: 5AFF56EE3: from=<[email protected]>, size=528, nrcpt=1 (queue active)
    Jul 15 12:41:35 buffercodes postfix/qmgr[23009]: 053CC6EE1: from=<[email protected]>, size=630, nrcpt=1 (queue active)
    Jul 15 12:41:35 buffercodes postfix/smtp[10677]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Jul 15 12:41:35 buffercodes postfix/smtp[10677]: 7444C6EE4: to=<[email protected]>, relay=none, delay=13033, delays=13033/0.02/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jul 15 12:41:35 buffercodes postfix/smtp[10678]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Jul 15 12:41:35 buffercodes postfix/smtp[10678]: 5AFF56EE3: to=<[email protected]>, relay=none, delay=13051, delays=13051/0.04/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jul 15 12:41:35 buffercodes postfix/smtp[10677]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Jul 15 12:41:35 buffercodes postfix/smtp[10677]: 053CC6EE1: to=<[email protected]>, relay=none, delay=17313, delays=17313/0.04/0.01/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jul 15 12:44:55 buffercodes postfix/scache[10684]: statistics: start interval Jul 15 12:41:35
    Jul 15 12:44:55 buffercodes postfix/scache[10684]: statistics: domain lookup hits=0 miss=1 success=0%
    Jul 15 12:44:55 buffercodes postfix/scache[10684]: statistics: address lookup hits=0 miss=1 success=0%
    Jul 15 12:45:01 buffercodes dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<nS2YtuQaAgAAAAAAAAAAAAAAAAAAAAAB>
    Jul 15 12:45:01 buffercodes postfix/smtpd[10782]: connect from localhost[::1]
    Jul 15 12:45:01 buffercodes dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<cQ6ZtuQaVQAAAAAAAAAAAAAAAAAAAAAB>
    Jul 15 12:45:01 buffercodes postfix/smtpd[10782]: lost connection after CONNECT from localhost[::1]
    Jul 15 12:45:01 buffercodes postfix/smtpd[10782]: disconnect from localhost[::1]
    Jul 15 12:50:01 buffercodes dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<xsdwyOQaCQAAAAAAAAAAAAAAAAAAAAAB>
    Jul 15 12:50:01 buffercodes postfix/smtpd[10956]: connect from localhost[::1]
    Jul 15 12:50:01 buffercodes postfix/smtpd[10956]: lost connection after CONNECT from localhost[::1]
    Jul 15 12:50:01 buffercodes postfix/smtpd[10956]: disconnect from localhost[::1]
    Jul 15 12:50:01 buffercodes dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<urdxyOQaXAAAAAAAAAAAAAAAAAAAAAAB>
    Jul 15 12:50:49 buffercodes clamd[23028]: SelfCheck: Database status OK.
    Jul 15 12:55:01 buffercodes dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<xhdY2uQaEAAAAAAAAAAAAAAAAAAAAAAB>
    Jul 15 12:55:01 buffercodes postfix/smtpd[11103]: connect from localhost[::1]
    Jul 15 12:55:01 buffercodes postfix/smtpd[11103]: lost connection after CONNECT from localhost[::1]
    Jul 15 12:55:01 buffercodes postfix/smtpd[11103]: disconnect from localhost[::1]
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, so nothing from amavisd. Thats bad as it is not easy to debug a issue without an error message. Dies the file
    /etc/amavisd/amavisd.conf exists?
    Does your server has a fully qualified domain like server1.example.com as hostname? amavisd will not start without a fqdn hostname.
     
  11. Vinoth Kumar

    Vinoth Kumar New Member

    Yes this /etc/amavisd/amavisd.conf exist.
    Yes, its FQDN is server.buffercodes.com

    here is amavisd.conf first few lines.
    Code:
    # COMMONLY ADJUSTED SETTINGS:
    
    # @bypass_virus_checks_maps = (1);  # controls running of anti-virus code
    # @bypass_spam_checks_maps  = (1);  # controls running of anti-spam code
    # $bypass_decode_parts = 1;         # controls running of decoders&dearchivers
    
    $max_servers = 2;            # num of pre-forked children (2..30 is common), -m
    $daemon_user  = 'amavis';    # (no default;  customary: vscan or amavis), -u
    $daemon_group = 'amavis';    # (no default;  customary: vscan or amavis), -g
    
    $mydomain = 'example.com';   # a convenient default for other settings
    
    $MYHOME = '/var/spool/amavisd';   # a convenient default for other settings, -H
    $TEMPBASE = "$MYHOME/tmp";   # working directory, needs to exist, -T
    $ENV{TMPDIR} = $TEMPBASE;    # environment variable TMPDIR, used by SA, etc.
    $QUARANTINEDIR = undef;      # -Q
    # $quarantine_subdir_levels = 1;  # add level of subdirs to disperse quarantine
    # $release_format = 'resend';     # 'attach', 'plain', 'resend'
    # $report_format  = 'arf';        # 'attach', 'plain', 'resend', 'arf'
    
    # $daemon_chroot_dir = $MYHOME;   # chroot directory or undef, -R
    
    $db_home   = "$MYHOME/db";        # dir for bdb nanny/cache/snmp databases, -D
    # $helpers_home = "$MYHOME/var";  # working directory for SpamAssassin, -S
    $lock_file = "/var/run/amavisd/amavisd.lock";  # -L
    $pid_file  = "/var/run/amavisd/amavisd.pid";   # -P
    #NOTE: create directories $MYHOME/tmp, $MYHOME/var, $MYHOME/db manually
    
    $log_level = 0;              # verbosity 0..5, -d
    $log_recip_templ = undef;    # disable by-recipient level-0 log entries
    $do_syslog = 1;              # log via syslogd (preferred)
    $syslog_facility = 'mail';   # Syslog facility as a string
               # e.g.: mail, daemon, user, local0, ... local7
    
     
  12. Vinoth Kumar

    Vinoth Kumar New Member

    Is there any solution for this problem ?
     
  13. Vinoth Kumar

    Vinoth Kumar New Member

    Hi,
    This is the message am getting in mail queue, is this helpful to sort this problem ?
    Code:
    -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
    7444C6EE4 539 Wed Jul 15 09:04:22 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    
    9DAB16EE8 528 Wed Jul 15 20:49:24 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    
    981996EEE 3084 Thu Jul 16 03:36:33 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    
    538C26EAD 1884 Wed Jul 15 11:53:03 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    
    5A36A6EED 524 Wed Jul 15 20:53:53 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    
    5AFF56EE3 528 Wed Jul 15 09:04:04 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    
    AEA3A6EF0 528 Wed Jul 15 21:15:39 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    
    A83D86EE5 533 Wed Jul 15 11:42:51 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    
    A0D076B3C 1938 Wed Jul 15 20:47:45 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    
    65E8E6EDC 457 Wed Jul 15 07:48:01 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    The message means that amavis is not started. The problem is that your amavis is not throwing an error. Please try to restart amavis and then check the /var/log/messages file for errors.
     
  15. Vinoth Kumar

    Vinoth Kumar New Member

    Hi here is the code
    Code:
    Jul 16 19:43:20 buffercodes systemd: Starting Amavisd-new is an interface between MTA and content checkers....
    Jul 16 19:43:21 buffercodes amavisd: The value of variable $myhostname is "buffercodes", but should have been
    Jul 16 19:43:21 buffercodes amavisd: a fully qualified domain name; perhaps uname(3) did not provide such.
    Jul 16 19:43:21 buffercodes amavisd: You must explicitly assign a FQDN of this host to variable $myhostname
    Jul 16 19:43:21 buffercodes amavisd: in amavisd.conf, or fix what uname(3) provides as a host's network name!
    Jul 16 19:43:21 buffercodes systemd: amavisd.service: control process exited, code=exited status=255
    Jul 16 19:43:21 buffercodes systemd: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Jul 16 19:43:21 buffercodes systemd: Unit amavisd.service entered failed state.
    Jul 16 19:43:21 buffercodes systemd: amavisd.service holdoff time over, scheduling restart.
    Jul 16 19:43:21 buffercodes systemd: Stopping Amavisd-new is an interface between MTA and content checkers....
    Jul 16 19:43:21 buffercodes systemd: Starting Amavisd-new is an interface between MTA and content checkers....
    Jul 16 19:43:21 buffercodes amavisd: The value of variable $myhostname is "buffercodes", but should have been
    Jul 16 19:43:21 buffercodes amavisd: a fully qualified domain name; perhaps uname(3) did not provide such.
    Jul 16 19:43:21 buffercodes amavisd: You must explicitly assign a FQDN of this host to variable $myhostname
    Jul 16 19:43:21 buffercodes amavisd: in amavisd.conf, or fix what uname(3) provides as a host's network name!
    Jul 16 19:43:21 buffercodes systemd: amavisd.service: control process exited, code=exited status=255
    Jul 16 19:43:21 buffercodes systemd: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Jul 16 19:43:21 buffercodes systemd: Unit amavisd.service entered failed state.
    Jul 16 19:43:21 buffercodes systemd: amavisd.service holdoff time over, scheduling restart.
    Jul 16 19:43:21 buffercodes systemd: Stopping Amavisd-new is an interface between MTA and content checkers....
    Jul 16 19:43:21 buffercodes systemd: Starting Amavisd-new is an interface between MTA and content checkers....
    Jul 16 19:43:22 buffercodes amavisd: The value of variable $myhostname is "buffercodes", but should have been
    Jul 16 19:43:22 buffercodes amavisd: a fully qualified domain name; perhaps uname(3) did not provide such.
    Jul 16 19:43:22 buffercodes amavisd: You must explicitly assign a FQDN of this host to variable $myhostname
    Jul 16 19:43:22 buffercodes amavisd: in amavisd.conf, or fix what uname(3) provides as a host's network name!
    Jul 16 19:43:22 buffercodes systemd: amavisd.service: control process exited, code=exited status=255
    Jul 16 19:43:22 buffercodes systemd: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Jul 16 19:43:22 buffercodes systemd: Unit amavisd.service entered failed state.
    Jul 16 19:43:22 buffercodes systemd: amavisd.service holdoff time over, scheduling restart.
    Jul 16 19:43:22 buffercodes systemd: Stopping Amavisd-new is an interface between MTA and content checkers....
    Jul 16 19:43:22 buffercodes systemd: Starting Amavisd-new is an interface between MTA and content checkers....
    Jul 16 19:43:23 buffercodes amavisd: The value of variable $myhostname is "buffercodes", but should have been
    Jul 16 19:43:23 buffercodes amavisd: a fully qualified domain name; perhaps uname(3) did not provide such.
    Jul 16 19:43:23 buffercodes amavisd: You must explicitly assign a FQDN of this host to variable $myhostname
    Jul 16 19:43:23 buffercodes amavisd: in amavisd.conf, or fix what uname(3) provides as a host's network name!
    Jul 16 19:43:23 buffercodes systemd: amavisd.service: control process exited, code=exited status=255
    Jul 16 19:43:23 buffercodes systemd: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Jul 16 19:43:23 buffercodes systemd: Unit amavisd.service entered failed state.
    Jul 16 19:43:23 buffercodes systemd: amavisd.service holdoff time over, scheduling restart.
    Jul 16 19:43:23 buffercodes systemd: Stopping Amavisd-new is an interface between MTA and content checkers....
    Jul 16 19:43:23 buffercodes amavisd: The value of variable $myhostname is "buffercodes", but should have been
    Jul 16 19:43:23 buffercodes amavisd: a fully qualified domain name; perhaps uname(3) did not provide such.
    Jul 16 19:43:23 buffercodes amavisd: You must explicitly assign a FQDN of this host to variable $myhostname
    Jul 16 19:43:23 buffercodes amavisd: in amavisd.conf, or fix what uname(3) provides as a host's network name!
    Jul 16 19:43:23 buffercodes systemd: amavisd.service: control process exited, code=exited status=255
    Jul 16 19:43:23 buffercodes systemd: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Jul 16 19:43:23 buffercodes systemd: Unit amavisd.service entered failed state.
    Jul 16 19:43:24 buffercodes systemd: amavisd.service holdoff time over, scheduling restart.
    Jul 16 19:43:24 buffercodes systemd: Stopping Amavisd-new is an interface between MTA and content checkers....
    Jul 16 19:43:24 buffercodes systemd: Starting Amavisd-new is an interface between MTA and content checkers....
    Jul 16 19:43:24 buffercodes systemd: amavisd.service start request repeated too quickly, refusing to start.
    Jul 16 19:43:24 buffercodes systemd: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Jul 16 19:43:24 buffercodes systemd: Unit amavisd.service entered failed state.
    
    
     
  16. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, so the problem is the hostname of your server. Please post the output of the two commands:

    hostname

    and

    hostname -f
     
  17. Vinoth Kumar

    Vinoth Kumar New Member

    Code:
    [root@buffercodes ~]# hostname
    buffercodes
    [root@buffercodes ~]# hostname -f
    server.buffercodes.com
    [root@buffercodes ~]#
     
  18. till

    till Super Moderator Staff Member ISPConfig Developer

    This is genrally ok for most services but the problem is that amavisd expects from both commands the full hostname. What you can do is that you edit the amavisd.conf file, find the line
    $myhostname

    and set the full hostname there:

    $myhostname = 'server.buffercodes.com';
     
  19. Vinoth Kumar

    Vinoth Kumar New Member

    Yes updated amavisd.conf to
    Code:
    $mydomain = 'server.buffercodes.com';  # a convenient default for other settings
    and this is mail log
    Code:
    Jul 16 21:02:55 buffercodes dovecot: imap([email protected]): Disconnected: Logged out in=44 out=562
    Jul 16 21:02:55 buffercodes postfix/smtpd[15384]: 90C9D6EF4: client=mail-ig0-f182.google.com[209.85.213.182]
    Jul 16 21:02:55 buffercodes postfix/cleanup[15406]: 90C9D6EF4: message-id=<CACa5auh5UaJKLnX=PxeeK1BPgExLMsQJ+xO1VsF+fGkdqkzKJA@mail.gmail.com>
    Jul 16 21:02:55 buffercodes postfix/qmgr[23009]: 90C9D6EF4: from=<[email protected]>, size=1918, nrcpt=1 (queue active)
    Jul 16 21:02:55 buffercodes postfix/smtp[15407]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Jul 16 21:02:55 buffercodes postfix/smtp[15407]: 90C9D6EF4: to=<[email protected]>, relay=none, delay=0.27, delays=0.26/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jul 16 21:02:55 buffercodes postfix/smtpd[15384]: disconnect from mail-ig0-f182.google.com[209.85.213.182]
    Jul 16 21:03:09 buffercodes postfix/pickup[14408]: C512B6EF6: uid=48 from=<[email protected]>
    Jul 16 21:03:09 buffercodes postfix/cleanup[15406]: C512B6EF6: message-id=<[email protected]>
    Jul 16 21:03:09 buffercodes postfix/qmgr[23009]: C512B6EF6: from=<[email protected]>, size=526, nrcpt=1 (queue active)
    Jul 16 21:03:09 buffercodes postfix/smtp[15407]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Jul 16 21:03:09 buffercodes postfix/smtp[15407]: C512B6EF6: to=<[email protected]>, relay=none, delay=0.01, delays=0.01/0/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
     
  20. till

    till Super Moderator Staff Member ISPConfig Developer

    amavisd is still not started. Please start it.
     

Share This Page