Email service not working

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

  1. Vinoth Kumar

    Vinoth Kumar New Member

    While start amavisd.conf, here is the message,

    Code:
    [[email protected] ~]# 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 Thu 2015-07-16 21:28:31 IST; 7s ago
         Docs: http://www.ijs.si/software/amavisd/#doc
      Process: 16655 ExecStart=/usr/sbin/amavisd -c /etc/amavisd/amavisd.conf (code=exited, status=255)
    
    Jul 16 21:28:30 buffercodes systemd[1]: amavisd.service: control process exited, code=exited status=255
    Jul 16 21:28:30 buffercodes systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Jul 16 21:28:30 buffercodes systemd[1]: Unit amavisd.service entered failed state.
    Jul 16 21:28:31 buffercodes systemd[1]: amavisd.service holdoff time over, scheduling restart.
    Jul 16 21:28:31 buffercodes systemd[1]: Stopping Amavisd-new is an interface between MTA and content checkers....
    Jul 16 21:28:31 buffercodes systemd[1]: Starting Amavisd-new is an interface between MTA and content checkers....
    Jul 16 21:28:31 buffercodes systemd[1]: amavisd.service start request repeated too quickly, refusing to start.
    Jul 16 21:28:31 buffercodes systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Jul 16 21:28:31 buffercodes systemd[1]: Unit amavisd.service entered failed state.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    systemctl status does not provide any useful outputm please take a look at the messages log.
     
  3. Vinoth Kumar

    Vinoth Kumar New Member

    here is the log,

    Code:
    Jul 16 21:40:01 buffercodes dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<b/q5TQAb1QAA$
    Jul 16 21:40:01 buffercodes postfix/smtpd[17113]: connect from localhost[::1]
    Jul 16 21:40:01 buffercodes postfix/smtpd[17113]: lost connection after CONNECT from localhost[::1]
    Jul 16 21:40:01 buffercodes postfix/smtpd[17113]: disconnect from localhost[::1]
    Jul 16 21:40:08 buffercodes dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=17146, secured, session=$
    Jul 16 21:40:08 buffercodes dovecot: imap([email protected]): Disconnected: Logged out in=155 out=1246
    Jul 16 21:40:51 buffercodes clamd[23028]: SelfCheck: Database status OK.
    Jul 16 21:41:08 buffercodes dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=17193, secured, session=$
    Jul 16 21:41:08 buffercodes dovecot: imap([email protected]): Disconnected: Logged out in=155 out=1246
    Jul 16 21:41:37 buffercodes postfix/qmgr[23009]: C512B6EF6: from=<[email protected]>, size=526, nrcpt=1 (queue active)
    Jul 16 21:41:37 buffercodes postfix/qmgr[23009]: 90C9D6EF4: from=<[email protected]>, size=1918, nrcpt=1 (queue active)
    Jul 16 21:41:37 buffercodes postfix/qmgr[23009]: A83D86EE5: from=<[email protected]>, size=533, nrcpt=1 (queue active)
    Jul 16 21:41:37 buffercodes postfix/smtp[17196]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Jul 16 21:41:37 buffercodes postfix/smtp[17196]: C512B6EF6: to=<[email protected]>, relay=none, delay=2308, delays=2308/0.02/0/0, dsn=4.4.1, s$
    Jul 16 21:41:37 buffercodes postfix/smtp[17197]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Jul 16 21:41:37 buffercodes postfix/smtp[17197]: 90C9D6EF4: to=<[email protected]>, relay=none, delay=2322, delays=2322/0.04/0/0, dsn=4.4.1, st$
    Jul 16 21:41:37 buffercodes postfix/smtp[17196]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Jul 16 21:41:37 buffercodes postfix/smtp[17196]: A83D86EE5: to=<[email protected]>, relay=none, delay=122326, delays=122326/0.04/0.01/0, dsn=4$
    Jul 16 21:42:08 buffercodes dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=17224, secured, session=$
    Jul 16 21:42:08 buffercodes dovecot: imap([email protected]): Disconnected: Logged out in=155 out=1246
    
    
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    This part does not contain the lines of a start or restart from amavisd.
     
  5. Vinoth Kumar

    Vinoth Kumar New Member

    Hi hit >> nano /var/log/maillog to get that message. Is am right ?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The latest messages ar at the end of the log file, you get them e.g. with:

    tail -n 200 /var/log/messages
     
  7. Vinoth Kumar

    Vinoth Kumar New Member

    Code:
    [[email protected] ~]# tail -n 200 /var/log/messages
    
    Jul 16 21:56:51 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [[email protected]]
    Jul 16 21:56:52 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 188.226.31.126
    Jul 16 21:56:54 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 21:56:57 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [user]
    Jul 16 21:56:58 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 188.226.31.126
    Jul 16 21:57:01 buffercodes systemd: Starting Session 3438 of user root.
    Jul 16 21:57:01 buffercodes systemd: Started Session 3438 of user root.
    Jul 16 21:57:03 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [[email protected]]
    Jul 16 21:57:04 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 21:57:04 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 21:57:04 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 188.226.31.126
    Jul 16 21:57:09 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [admin]
    Jul 16 21:57:10 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 188.226.31.126
    Jul 16 21:57:14 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [admin]
    Jul 16 21:57:16 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 188.226.31.126
    Jul 16 21:57:18 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 21:57:18 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 21:57:20 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [[email protected]]
    Jul 16 21:57:58 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 21:57:58 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 21:58:01 buffercodes systemd: Starting Session 3439 of user root.
    Jul 16 21:58:01 buffercodes systemd: Started Session 3439 of user root.
    Jul 16 21:59:01 buffercodes systemd: Starting Session 3440 of user root.
    Jul 16 21:59:01 buffercodes systemd: Started Session 3440 of user root.
    Jul 16 22:00:01 buffercodes systemd: Starting Session 3441 of user root.
    Jul 16 22:00:01 buffercodes systemd: Started Session 3441 of user root.
    Jul 16 22:00:01 buffercodes systemd: Created slice user-5001.slice.
    Jul 16 22:00:01 buffercodes systemd: Starting Session 3442 of user getmail.
    Jul 16 22:00:01 buffercodes systemd: Started Session 3442 of user getmail.
    Jul 16 22:00:01 buffercodes systemd: Starting Session 3443 of user root.
    Jul 16 22:00:01 buffercodes systemd: Started Session 3443 of user root.
    Jul 16 22:00:02 buffercodes pure-ftpd: ([email protected]::1) [INFO] New connection from ::1
    Jul 16 22:00:02 buffercodes pure-ftpd: ([email protected]::1) [INFO] Logout.
    Jul 16 22:00:46 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 37.193.195.30
    Jul 16 22:00:51 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [test]
    Jul 16 22:00:51 buffercodes clamd: SelfCheck: Database status OK.
    Jul 16 22:00:52 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 37.193.195.30
    Jul 16 22:00:57 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [buffercodes]
    Jul 16 22:00:58 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 37.193.195.30
    Jul 16 22:01:01 buffercodes systemd: Starting Session 3444 of user root.
    Jul 16 22:01:01 buffercodes systemd: Started Session 3444 of user root.
    Jul 16 22:01:01 buffercodes systemd: Starting Session 3445 of user root.
    Jul 16 22:01:01 buffercodes systemd: Started Session 3445 of user root.
    Jul 16 22:01:03 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 22:01:03 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 22:01:04 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [[email protected]]
    Jul 16 22:01:05 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 37.193.195.30
    Jul 16 22:01:10 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [[email protected]]
    Jul 16 22:01:11 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 37.193.195.30
    Jul 16 22:01:14 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 22:01:16 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [admin]
    Jul 16 22:01:17 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 37.193.195.30
    Jul 16 22:01:21 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [admin]
    Jul 16 22:01:22 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 37.193.195.30
    Jul 16 22:01:27 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 22:01:27 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [ftp]
    Jul 16 22:01:29 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 37.193.195.30
    Jul 16 22:01:34 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [user]
    Jul 16 22:01:40 buffercodes systemd-logind: Removed session 3237.
    Jul 16 22:01:44 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 22:02:01 buffercodes systemd: Starting Session 3446 of user root.
    Jul 16 22:02:01 buffercodes systemd: Started Session 3446 of user root.
    Jul 16 22:02:49 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 22:02:49 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 22:02:49 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 22:03:01 buffercodes systemd: Starting Session 3447 of user root.
    Jul 16 22:03:01 buffercodes systemd: Started Session 3447 of user root.
    Jul 16 22:03:55 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 46.254.160.43
    Jul 16 22:04:01 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [[email protected]]
    Jul 16 22:04:01 buffercodes systemd: Starting Session 3448 of user root.
    Jul 16 22:04:01 buffercodes systemd: Started Session 3448 of user root.
    Jul 16 22:04:02 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 46.254.160.43
    Jul 16 22:04:07 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [[email protected]]
    Jul 16 22:04:07 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 109.227.255.77
    Jul 16 22:04:08 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 46.254.160.43
    Jul 16 22:04:09 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 22:04:10 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 22:04:11 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [test]
    Jul 16 22:04:12 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [[email protected]]
    Jul 16 22:04:12 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 46.254.160.43
    Jul 16 22:04:13 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 109.227.255.77
    Jul 16 22:04:16 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [admin]
    Jul 16 22:04:17 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [[email protected]]
    Jul 16 22:04:18 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 46.254.160.43
    Jul 16 22:04:18 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 109.227.255.77
    Jul 16 22:04:22 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 22:04:22 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 22:04:22 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [test]
    Jul 16 22:04:23 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 109.227.255.77
    Jul 16 22:04:23 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [buffercodes.com]
    Jul 16 22:04:24 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 46.254.160.43
    Jul 16 22:04:26 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 22:04:26 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 22:04:26 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 22:04:28 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [admin]
    Jul 16 22:04:30 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 109.227.255.77
    Jul 16 22:04:30 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [admin]
    Jul 16 22:04:31 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 46.254.160.43
    Jul 16 22:04:35 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [buffercodes.com]
    Jul 16 22:04:36 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [[email protected]]
    Jul 16 22:04:36 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 109.227.255.77
    Jul 16 22:04:36 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 22:04:37 buffercodes pure-ftpd: ([email protected]) [INFO] New connection from 46.254.160.43
    Jul 16 22:04:37 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 22:04:37 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 22:04:37 buffercodes pure-ftpd: ([email protected]) [INFO] Logout.
    Jul 16 22:04:37 buffercodes systemd: Starting Session 3449 of user root.
    Jul 16 22:04:37 buffercodes systemd: Started Session 3449 of user root.
    Jul 16 22:04:37 buffercodes systemd-logind: New session 3449 of user root.
    Jul 16 22:04:40 buffercodes pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [admin]
     
  8. Vinoth Kumar

    Vinoth Kumar New Member

    This is the latest one
    Code:
    Jul 16 22:14:04 buffercodes systemd: Starting Amavisd-new is an interface between MTA and content checkers....
    Jul 16 22:14:04 buffercodes amavisd: The value of variable $myhostname is "buffercodes", but should have been
    Jul 16 22:14:04 buffercodes amavisd: a fully qualified domain name; perhaps uname(3) did not provide such.
    Jul 16 22:14:04 buffercodes amavisd: You must explicitly assign a FQDN of this host to variable $myhostname
    Jul 16 22:14:04 buffercodes amavisd: in amavisd.conf, or fix what uname(3) provides as a host's network name!
    Jul 16 22:14:04 buffercodes systemd: amavisd.service: control process exited, code=exited status=255
    Jul 16 22:14:04 buffercodes systemd: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Jul 16 22:14:04 buffercodes systemd: Unit amavisd.service entered failed state.
    Jul 16 22:14:05 buffercodes systemd: amavisd.service holdoff time over, scheduling restart.
    Jul 16 22:14:05 buffercodes systemd: Stopping Amavisd-new is an interface between MTA and content checkers....
    Jul 16 22:14:05 buffercodes systemd: Starting Amavisd-new is an interface between MTA and content checkers....
    Jul 16 22:14:05 buffercodes amavisd: The value of variable $myhostname is "buffercodes", but should have been
    Jul 16 22:14:05 buffercodes amavisd: a fully qualified domain name; perhaps uname(3) did not provide such.
    Jul 16 22:14:05 buffercodes amavisd: You must explicitly assign a FQDN of this host to variable $myhostname
    Jul 16 22:14:05 buffercodes amavisd: in amavisd.conf, or fix what uname(3) provides as a host's network name!
    Jul 16 22:14:05 buffercodes systemd: amavisd.service: control process exited, code=exited status=255
    Jul 16 22:14:05 buffercodes systemd: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Jul 16 22:14:05 buffercodes systemd: Unit amavisd.service entered failed state.
    Jul 16 22:14:05 buffercodes systemd: amavisd.service holdoff time over, scheduling restart.
    Jul 16 22:14:05 buffercodes systemd: Stopping Amavisd-new is an interface between MTA and content checkers....
    Jul 16 22:14:05 buffercodes systemd: Starting Amavisd-new is an interface between MTA and content checkers....
    Jul 16 22:14:06 buffercodes amavisd: The value of variable $myhostname is "buffercodes", but should have been
    Jul 16 22:14:06 buffercodes amavisd: a fully qualified domain name; perhaps uname(3) did not provide such.
    Jul 16 22:14:06 buffercodes amavisd: You must explicitly assign a FQDN of this host to variable $myhostname
    Jul 16 22:14:06 buffercodes amavisd: in amavisd.conf, or fix what uname(3) provides as a host's network name!
    Jul 16 22:14:06 buffercodes systemd: amavisd.service: control process exited, code=exited status=255
    Jul 16 22:14:06 buffercodes systemd: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Jul 16 22:14:06 buffercodes systemd: Unit amavisd.service entered failed state.
    Jul 16 22:14:06 buffercodes systemd: amavisd.service holdoff time over, scheduling restart.
    Jul 16 22:14:06 buffercodes systemd: Stopping Amavisd-new is an interface between MTA and content checkers....
    Jul 16 22:14:06 buffercodes systemd: Starting Amavisd-new is an interface between MTA and content checkers....
    Jul 16 22:14:07 buffercodes amavisd: The value of variable $myhostname is "buffercodes", but should have been
    Jul 16 22:14:07 buffercodes amavisd: a fully qualified domain name; perhaps uname(3) did not provide such.
    Jul 16 22:14:07 buffercodes amavisd: You must explicitly assign a FQDN of this host to variable $myhostname
    Jul 16 22:14:07 buffercodes amavisd: in amavisd.conf, or fix what uname(3) provides as a host's network name!
    Jul 16 22:14:07 buffercodes systemd: amavisd.service: control process exited, code=exited status=255
    Jul 16 22:14:07 buffercodes systemd: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Jul 16 22:14:07 buffercodes systemd: Unit amavisd.service entered failed state.
    Jul 16 22:14:07 buffercodes systemd: amavisd.service holdoff time over, scheduling restart.
    Jul 16 22:14:07 buffercodes systemd: Stopping Amavisd-new is an interface between MTA and content checkers....
    Jul 16 22:14:07 buffercodes systemd: Starting Amavisd-new is an interface between MTA and content checkers....
    Jul 16 22:14:07 buffercodes amavisd: The value of variable $myhostname is "buffercodes", but should have been
    Jul 16 22:14:07 buffercodes amavisd: a fully qualified domain name; perhaps uname(3) did not provide such.
    Jul 16 22:14:07 buffercodes amavisd: You must explicitly assign a FQDN of this host to variable $myhostname
    Jul 16 22:14:07 buffercodes amavisd: in amavisd.conf, or fix what uname(3) provides as a host's network name!
    Jul 16 22:14:07 buffercodes systemd: amavisd.service: control process exited, code=exited status=255
    Jul 16 22:14:07 buffercodes systemd: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Jul 16 22:14:07 buffercodes systemd: Unit amavisd.service entered failed state.
    Jul 16 22:14:08 buffercodes systemd: amavisd.service holdoff time over, scheduling restart.
    Jul 16 22:14:08 buffercodes systemd: Stopping Amavisd-new is an interface between MTA and content checkers....
    Jul 16 22:14:08 buffercodes systemd: Starting Amavisd-new is an interface between MTA and content checkers....
    Jul 16 22:14:08 buffercodes systemd: amavisd.service start request repeated too quickly, refusing to start.
    Jul 16 22:14:08 buffercodes systemd: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Jul 16 22:14:08 buffercodes systemd: Unit amavisd.service entered failed state.
    Jul 16 22:15:01 buffercodes systemd: Starting Session 3463 of user root.
    Jul 16 22:15:01 buffercodes systemd: Started Session 3463 of user root.
    Jul 16 22:15:01 buffercodes systemd: Created slice user-5001.slice.
    
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    according to the log, the $myhostname variable is not set correctly yet. Maybe you have two copy of the amavisd.conf. Please check if there is a second copy /etc/amavisd.conf that needs to be edited too.
     
  10. Vinoth Kumar

    Vinoth Kumar New Member

    Actually there are two amavisd.conf. One is in /etc and another one is in /etc/amavisd/ I have edited both $myhostname as
    # $myhostname = 'server.buffercodes.com'; # must be a fully-qualified domain name!
     
  11. Vinoth Kumar

    Vinoth Kumar New Member

    Actually what do i need to give for $mydomain ?
    I have given as $mydomain = 'buffercodes.com'; # a convenient default for other settings
    Actually default settings is $mydomain = 'example.com'; # a convenient default for other settings
     
  12. Vinoth Kumar

    Vinoth Kumar New Member

    This is the files available in etc/
    Code:
    [[email protected] /]# find /etc/ -name amavisd.conf
    /etc/amavisd.conf
    /etc/amavisd/amavisd.conf
    /etc/clamd.d/amavisd.conf
     
  13. Vinoth Kumar

    Vinoth Kumar New Member

    This is in host file
    Code:
    139.162.204.206 server.buffercodes.com buffercodes
     
  14. Vinoth Kumar

    Vinoth Kumar New Member

    OMG.. Finally found partial solution, now i can able to receive email not not able to send the email.
    Solutions: Previously my hostname is buffercodes so its not accepting it, so i have change to buffercodes.com now i can able to receive my email.

    Problem is I can't able to send email getting this error,
    Code:
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#52028 (172.213.85.209.sa-accredit.habeas.com): query (cache) '172.213.85.209.sa-accredit.habeas.com/TXT/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#52028 (172.213.85.209.iadb.isipp.com): query (cache) '172.213.85.209.iadb.isipp.com/A/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#52028 (mail-ig0-f172.google.com): query (cache) 'mail-ig0-f172.google.com/SPF/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#52028 (mail-ig0-f172.google.com): query (cache) 'mail-ig0-f172.google.com/TXT/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#33170 (discovery.razor.cloudmark.com): query (cache) 'discovery.razor.cloudmark.com/A/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#40557 (discovery.razor.cloudmark.com): query (cache) 'discovery.razor.cloudmark.com/A/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#33638 (discovery.razor.cloudmark.com.buffercodes.com): query (cache) 'discovery.razor.cloudmark.com.buffercodes.com/A/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#39711 (discovery.razor.cloudmark.com.buffercodes.com): query (cache) 'discovery.razor.cloudmark.com.buffercodes.com/A/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#58574 (discovery.razor.cloudmark.com): query (cache) 'discovery.razor.cloudmark.com/A/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#39458 (discovery.razor.cloudmark.com): query (cache) 'discovery.razor.cloudmark.com/A/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#48782 (discovery.razor.cloudmark.com.buffercodes.com): query (cache) 'discovery.razor.cloudmark.com.buffercodes.com/A/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#50500 (discovery.razor.cloudmark.com.buffercodes.com): query (cache) 'discovery.razor.cloudmark.com.buffercodes.com/A/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#50397 (gmail.com): query (cache) 'gmail.com/MX/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#48237 (gmail.com): query (cache) 'gmail.com/MX/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#59085 (gmail.com): query (cache) 'gmail.com/MX/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#51294 (gmail.com): query (cache) 'gmail.com/MX/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#52028 (172.213.85.209.sa-accredit.habeas.com): query (cache) '172.213.85.209.sa-accredit.habeas.com/TXT/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#52028 (172.213.85.209.iadb.isipp.com): query (cache) '172.213.85.209.iadb.isipp.com/A/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#52028 (mail-ig0-f172.google.com): query (cache) 'mail-ig0-f172.google.com/SPF/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#52028 (mail-ig0-f172.google.com): query (cache) 'mail-ig0-f172.google.com/TXT/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#33170 (discovery.razor.cloudmark.com): query (cache) 'discovery.razor.cloudmark.com/A/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#40557 (discovery.razor.cloudmark.com): query (cache) 'discovery.razor.cloudmark.com/A/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#33638 (discovery.razor.cloudmark.com.buffercodes.com): query (cache) 'discovery.razor.cloudmark.com.buffercodes.com/A/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#39711 (discovery.razor.cloudmark.com.buffercodes.com): query (cache) 'discovery.razor.cloudmark.com.buffercodes.com/A/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#58574 (discovery.razor.cloudmark.com): query (cache) 'discovery.razor.cloudmark.com/A/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#39458 (discovery.razor.cloudmark.com): query (cache) 'discovery.razor.cloudmark.com/A/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#48782 (discovery.razor.cloudmark.com.buffercodes.com): query (cache) 'discovery.razor.cloudmark.com.buffercodes.com/A/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#50500 (discovery.razor.cloudmark.com.buffercodes.com): query (cache) 'discovery.razor.cloudmark.com.buffercodes.com/A/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#50397 (gmail.com): query (cache) 'gmail.com/MX/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#48237 (gmail.com): query (cache) 'gmail.com/MX/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#59085 (gmail.com): query (cache) 'gmail.com/MX/IN' denied
    Jul 16 23:13:00 server named[3003]: client 127.0.0.1#51294 (gmail.com): query (cache) 'gmail.com/MX/IN' denied
    ul 16 23:14:01 server named[3003]: client 127.0.0.1#39028 (buffercodes.com): query (cache) 'buffercodes.com/A/IN' denied
    Jul 16 23:14:01 server named[3003]: client 127.0.0.1#39028 (buffercodes.com): query (cache) 'buffercodes.com/AAAA/IN' denied
    Jul 16 23:14:01 server named[3003]: client 127.0.0.1#39028 (buffercodes.com): query (cache) 'buffercodes.com/A/IN' denied
    Jul 16 23:14:01 server named[3003]: client 127.0.0.1#39028 (buffercodes.com): query (cache) 'buffercodes.com/AAAA/IN' denied
    Jul 16 23:14:01 server named[3003]: client 127.0.0.1#58244 (buffercodes.com.buffercodes.com): query (cache) 'buffercodes.com.buffercodes.com/A/IN' denied
    Jul 16 23:14:01 server named[3003]: client 127.0.0.1#58244 (buffercodes.com.buffercodes.com): query (cache) 'buffercodes.com.buffercodes.com/AAAA/IN' denied
    Jul 16 23:14:01 server named[3003]: client 127.0.0.1#58244 (buffercodes.com.buffercodes.com): query (cache) 'buffercodes.com.buffercodes.com/A/IN' denied
    Jul 16 23:14:01 server named[3003]: client 127.0.0.1#58244 (buffercodes.com.buffercodes.com): query (cache) 'buffercodes.com.buffercodes.com/AAAA/IN' denied
    Jul 16 23:14:01 server named[3003]: client 127.0.0.1#52713 (buffercodes.com): query (cache) 'buffercodes.com/A/IN' denied
    Jul 16 23:14:01 server named[3003]: client 127.0.0.1#52713 (buffercodes.com): query (cache) 'buffercodes.com/AAAA/IN' denied
    Jul 16 23:14:01 server named[3003]: client 127.0.0.1#52713 (buffercodes.com): query (cache) 'buffercodes.com/A/IN' denied
    Jul 16 23:14:01 server named[3003]: client 127.0.0.1#52713 (buffercodes.com): query (cache) 'buffercodes.com/AAAA/IN' denied
    Jul 16 23:14:01 server named[3003]: client 127.0.0.1#49662 (buffercodes.com.buffercodes.com): query (cache) 'buffercodes.com.buffercodes.com/A/IN' denied
    Jul 16 23:14:01 server named[3003]: client 127.0.0.1#49662 (buffercodes.com.buffercodes.com): query (cache) 'buffercodes.com.buffercodes.com/AAAA/IN' denied
    Jul 16 23:14:01 server named[3003]: client 127.0.0.1#49662 (buffercodes.com.buffercodes.com): query (cache) 'buffercodes.com.buffercodes.com/A/IN' denied
    Jul 16 23:14:01 server named[3003]: client 127.0.0.1#49662 (buffercodes.com.buffercodes.com): query (cache) 'buffercodes.com.buffercodes.com/AAAA/IN' denied
    Jul 16 23:14:04 server pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [guest]
    Jul 16 23:14:14 server named[3003]: client 127.0.0.1#59472 (buffercodes.com): query (cache) 'buffercodes.com/A/IN' denied
    Jul 16 23:14:14 server named[3003]: client 127.0.0.1#59472 (buffercodes.com): query (cache) 'buffercodes.com/MX/IN' denied
    Jul 16 23:14:14 server named[3003]: client 127.0.0.1#54578 (_adsp._domainkey.buffercodes.com): query (cache) '_adsp._domainkey.buffercodes.com/TXT/IN' denied
    Jul 16 23:14:14 server named[3003]: client 127.0.0.1#48446 (buffercodes.com): query (cache) 'buffercodes.com/MX/IN' denied
    

    This is my resolv.conf file
    Code:
    # Generated by NetworkManager
    search buffercodes.com
    
    
    # No nameservers found; try putting DNS servers into your
    # ifcfg files in /etc/sysconfig/network-scripts like so:
    #
    # DNS1=xxx.xxx.xxx.xxx
    # DNS2=xxx.xxx.xxx.xxx
    # DOMAIN=lab.foo.com bar.foo.com
    
    
    
     
  15. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    remove the # in front of $myhostname and start amavis
     
  16. till

    till Super Moderator Staff Member ISPConfig Developer

    and if this dont help, then please check the file /var/log/maillog for errors. The messages log is relevant for errors that appear when a service is not starting while the maillog contains the general email errors and messages.
     
  17. Vinoth Kumar

    Vinoth Kumar New Member

    Here is the message for /var/log/maillog

    Code:
    [[email protected] ~]# tail -n 200 /var/log/maillog
    Jul 17 11:44:07 server postfix/qmgr[3719]: BF2796F01: from=<[email protected]>, size=1241, nrcpt=1 (queue active)
    Jul 17 11:44:07 server postfix/smtp[30854]: BF2796F01: to=<[email protected]>, relay=none, delay=42599, delays=42599/0.03/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)
    Jul 17 11:45:01 server dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<BZOpGwwbdgAAAAAAAAAAAAAAAAAAAAAB>
    Jul 17 11:45:01 server postfix/smtpd[30895]: connect from localhost[::1]
    Jul 17 11:45:01 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<PDeqGwwbsgAAAAAAAAAAAAAAAAAAAAAB>
    Jul 17 11:45:01 server postfix/smtpd[30895]: lost connection after CONNECT from localhost[::1]
    Jul 17 11:45:01 server postfix/smtpd[30895]: disconnect from localhost[::1]
    Jul 17 11:49:07 server postfix/qmgr[3719]: B88986EF7: from=<[email protected]>, size=989, nrcpt=1 (queue active)
    Jul 17 11:49:07 server postfix/smtp[31012]: B88986EF7: to=<[email protected]>, relay=none, delay=42599, delays=42599/0.03/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)
    Jul 17 11:50:01 server dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<Xi+SLQwbggAAAAAAAAAAAAAAAAAAAAAB>
    Jul 17 11:50:01 server postfix/smtpd[31058]: connect from localhost[::1]
    Jul 17 11:50:01 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<nTSTLQwbvgAAAAAAAAAAAAAAAAAAAAAB>
    Jul 17 11:50:01 server postfix/smtpd[31058]: lost connection after CONNECT from localhost[::1]
    Jul 17 11:50:01 server postfix/smtpd[31058]: disconnect from localhost[::1]
    Jul 17 11:50:48 server clamd[3042]: SelfCheck: Database status OK.
    Jul 17 11:54:07 server postfix/qmgr[3719]: E86CB6B3B: from=<[email protected]>, size=3355, nrcpt=1 (queue active)
    Jul 17 11:54:07 server postfix/smtp[31173]: E86CB6B3B: to=<[email protected]>, relay=none, delay=29924, delays=29924/0.03/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=localhost.buffercodes.com type=MX: Host not found, try again)
    Jul 17 11:55:02 server postfix/smtpd[31214]: connect from localhost[::1]
    Jul 17 11:55:02 server dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<2tB8PwwbjgAAAAAAAAAAAAAAAAAAAAAB>
    Jul 17 11:55:02 server postfix/smtpd[31214]: lost connection after CONNECT from localhost[::1]
    Jul 17 11:55:02 server postfix/smtpd[31214]: disconnect from localhost[::1]
    Jul 17 11:55:02 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<h919PwwbygAAAAAAAAAAAAAAAAAAAAAB>
    Jul 17 11:59:07 server postfix/qmgr[3719]: 9D21F6F02: from=<[email protected]>, size=984, nrcpt=1 (queue active)
    Jul 17 11:59:07 server postfix/qmgr[3719]: 3ADBD6EAD: from=<[email protected]>, size=3098, nrcpt=1 (queue active)
    Jul 17 11:59:07 server postfix/qmgr[3719]: 0DF3B6E56: from=<[email protected]>, size=3075, nrcpt=1 (queue active)
    Jul 17 11:59:07 server postfix/smtp[31331]: 9D21F6F02: to=<[email protected]>, relay=none, delay=42600, delays=42600/0.03/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)
    Jul 17 11:59:07 server postfix/smtp[31332]: 3ADBD6EAD: to=<[email protected]>, relay=none, delay=42599, delays=42599/0.03/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)
    Jul 17 11:59:07 server postfix/smtp[31331]: 0DF3B6E56: to=<[email protected]>, relay=none, delay=42599, delays=42599/0.03/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)
    Jul 17 12:00:01 server dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<o6pZUQwbmwAAAAAAAAAAAAAAAAAAAAAB>
    Jul 17 12:00:01 server postfix/smtpd[31387]: connect from localhost[::1]
    Jul 17 12:00:02 server dovecot: pop3-login: Disconnected (no auth attempts in 1 secs): user=<>, rip=::1, lip=::1, secured, session=<DN5aUQwb1wAAAAAAAAAAAAAAAAAAAAAB>
    Jul 17 12:00:02 server postfix/smtpd[31387]: lost connection after CONNECT from localhost[::1]
    Jul 17 12:00:02 server postfix/smtpd[31387]: disconnect from localhost[::1]
    Jul 17 12:00:48 server clamd[3042]: SelfCheck: Database status OK.
    Jul 17 12:05:01 server dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<FAE7YwwbowAAAAAAAAAAAAAAAAAAAAAB>
    Jul 17 12:05:01 server postfix/smtpd[31554]: connect from localhost[::1]
    Jul 17 12:05:01 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<Ktw7Ywwb3wAAAAAAAAAAAAAAAAAAAAAB>
    Jul 17 12:05:01 server postfix/smtpd[31554]: lost connection after CONNECT from localhost[::1]
    Jul 17 12:05:01 server postfix/smtpd[31554]: disconnect from localhost[::1]
    Jul 17 12:09:07 server postfix/qmgr[3719]: 9EA666ED4: from=<[email protected]>, size=3100, nrcpt=1 (queue active)
    Jul 17 12:09:07 server postfix/qmgr[3719]: D59B56ED5: from=<[email protected]>, size=987, nrcpt=1 (queue active)
    Jul 17 12:09:07 server postfix/smtp[31667]: 9EA666ED4: to=<[email protected]>, relay=none, delay=46567, delays=46567/0.04/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)
    Jul 17 12:09:07 server postfix/smtp[31668]: D59B56ED5: to=<[email protected]>, relay=none, delay=46607, delays=46607/0.03/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)
    Jul 17 12:10:01 server dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<jhwUdQwbsAAAAAAAAAAAAAAAAAAAAAAB>
    Jul 17 12:10:01 server postfix/smtpd[31716]: connect from localhost[::1]
    Jul 17 12:10:01 server postfix/smtpd[31716]: lost connection after CONNECT from localhost[::1]
    Jul 17 12:10:01 server postfix/smtpd[31716]: disconnect from localhost[::1]
    Jul 17 12:10:01 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<mf0UdQwb7AAAAAAAAAAAAAAAAAAAAAAB>
    Jul 17 12:10:48 server clamd[3042]: SelfCheck: Database status OK.
    Jul 17 12:14:07 server postfix/qmgr[3719]: 6FB646EFC: from=<[email protected]>, size=998, nrcpt=1 (queue active)
    Jul 17 12:14:07 server postfix/smtp[31826]: 6FB646EFC: to=<[email protected]>, relay=none, delay=46793, delays=46793/0.04/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)
    Jul 17 12:15:01 server postfix/smtpd[31867]: connect from localhost[::1]
    Jul 17 12:15:01 server dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<05X9hgwbvAAAAAAAAAAAAAAAAAAAAAAB>
    Jul 17 12:15:01 server postfix/smtpd[31867]: lost connection after CONNECT from localhost[::1]
    Jul 17 12:15:01 server postfix/smtpd[31867]: disconnect from localhost[::1]
    Jul 17 12:15:01 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<W4D+hgwb+AAAAAAAAAAAAAAAAAAAAAAB>
    Jul 17 12:20:02 server dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<Z1rlmAwbxAAAAAAAAAAAAAAAAAAAAAAB>
    Jul 17 12:20:02 server postfix/smtpd[32016]: connect from localhost[::1]
    Jul 17 12:20:02 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<rmTmmAwbAAAAAAAAAAAAAAAAAAAAAAAB>
    Jul 17 12:20:02 server postfix/smtpd[32016]: lost connection after CONNECT from localhost[::1]
    Jul 17 12:20:02 server postfix/smtpd[32016]: disconnect from localhost[::1]
    Jul 17 12:20:48 server clamd[3042]: SelfCheck: Database status OK.
     
  18. till

    till Super Moderator Staff Member ISPConfig Developer

    Check your centos nameserver settings, the domain gmail.com can not be resolved on your server.
     
  19. Vinoth Kumar

    Vinoth Kumar New Member

    Hi Can you please tell me how to check that ?
     
  20. till

    till Super Moderator Staff Member ISPConfig Developer

    run:

    ping -c 1 google.com

    if the ip can be resolved, then the resolving nameserver configuration is correct.
     

Share This Page