Postfix Delivery temporary suspended and look back error for localhost

Discussion in 'HOWTO-Related Questions' started by strang3r, Apr 1, 2015.

  1. strang3r

    strang3r Member

    Hi,

    I am running ubuntu 14.04., I am having a problem which generating in mail.log, I got notified about this by server admin. He told me that there are many Active SMTP connection about mail delivery temporary suspended and look back to my self error.

    and when I check my mail.log I see that it is doing redirect loop on my server and some of many delivery temporarily suspended errors. [​IMG]

    I can use webmail to send and receive email from other services such as gmail, hotmail etc. But it is showing this error and active connection for loop, which I am very unfamiliar with.

    Kindly please advice me what should I do now?. To fix this problem. Below I have posted main.conf , master.conf, mail.log

    /etc/postfix/main.cf:
    Code:
    # postfix config file
    
    # uncomment for debugging if needed
    soft_bounce=yes
    
    # postfix main
    mail_owner = postfix
    setgid_group = postdrop
    delay_warning_time = 4
    
    # postfix paths
    html_directory = no
    command_directory = /usr/sbin
    daemon_directory = /usr/lib/postfix
    queue_directory = /var/spool/postfix
    sendmail_path = /usr/sbin/sendmail.postfix
    newaliases_path = /usr/bin/newaliases.postfix
    mailq_path = /usr/bin/mailq.postfix
    manpage_directory = /usr/share/man
    sample_directory = /usr/share/doc/postfix-2.2.2/samples
    readme_directory = /usr/share/doc/postfix-2.2.2/README_FILES
    
    # network settings
    inet_interfaces = all
    mydomain = cpanel.mainwebhosting.com
    myhostname = cpanel.mainwebhosting.com
    mynetworks = 127.0.0.1, 104.247.211.77
    mydestination = localhost.$mydomain, localhost
    relay_domains = proxy:mysql:/etc/sentora/configs/postfix/mysql-relay_domains_maps.cf
    
    # mail delivery
    recipient_delimiter = +
    
    # mappings
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    [URL='http://forums.sentora.org/showthread.php?tid=1362#']#transport_maps[/URL]
    = hash:/etc/postfix/transport
    [URL='http://forums.sentora.org/showthread.php?tid=1362#']#local_recipient_maps[/URL]
    =
    
    # virtual setup
    virtual_alias_maps = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_alias_maps.cf,
      regexp:/etc/sentora/configs/postfix/virtual_regexp
    virtual_mailbox_base = /var/sentora/vmail
    virtual_mailbox_domains = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_domains_maps.cf
    virtual_mailbox_maps = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_mailbox_maps.cf
    virtual_minimum_uid = 999
    virtual_uid_maps = static:999
    virtual_gid_maps = static:8
    virtual_transport = dovecot
    dovecot_destination_recipient_limit = 1
    
    # debugging
    debug_peer_level = 2
    debugger_command =
      PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
      xxgdb $daemon_directory/$process_name $process_id & sleep 5
    
    # authentication
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    smtpd_sasl_local_domain = $myhostname
    broken_sasl_auth_clients = yes
    smtpd_sasl_type = dovecot
    smtpd_sasl_path = private/auth
    
    # tls config
    smtp_use_tls = no
    smtpd_use_tls = no
    [URL='http://forums.sentora.org/showthread.php?tid=1362#']#smtp_tls_note_starttls_offer[/URL]
    = yes
    [URL='http://forums.sentora.org/showthread.php?tid=1362#']#smtpd_tls_loglevel[/URL]
    = 1
    [URL='http://forums.sentora.org/showthread.php?tid=1362#']#smtpd_tls_received_header[/URL]
    = yes
    [URL='http://forums.sentora.org/showthread.php?tid=1362#']#smtpd_tls_session_cache_timeout[/URL]
    = 3600s
    [URL='http://forums.sentora.org/showthread.php?tid=1362#']#tls_random_source[/URL]
    = dev:/dev/urandom
    [URL='http://forums.sentora.org/showthread.php?tid=1362#']#smtp_tls_session_cache_database[/URL]
    = btree:$data_directory/smtp_tls_session_cache
    # Change mail.example.com.* to your host name
    [URL='http://forums.sentora.org/showthread.php?tid=1362#']#smtpd_tls_key_file[/URL]
    = /etc/pki/tls/private/mail.example.com.key
    [URL='http://forums.sentora.org/showthread.php?tid=1362#']#smtpd_tls_cert_file[/URL]
    = /etc/pki/tls/certs/mail.example.com.crt
    # smtpd_tls_CAfile = /etc/pki/tls/root.crt
    
    # rules restrictions
    smtpd_client_restrictions =
    smtpd_helo_restrictions =
    smtpd_sender_restrictions =
    smtpd_recipient_restrictions = permit_sasl_authenticated,
     permit_mynetworks,
     reject_unauth_destination,
     reject_non_fqdn_sender,
     reject_non_fqdn_recipient,
     reject_unknown_recipient_domain
    # uncomment for realtime black list checks. (Warn: will also reject false positive)
    #  ,reject_rbl_client zen.spamhaus.org
    #  ,reject_rbl_client bl.spamcop.net
    #  ,reject_rbl_client dnsbl.sorbs.net
    
    smtpd_helo_required = yes
    unknown_local_recipient_reject_code = 550
    disable_vrfy_command = yes
    smtpd_data_restrictions = reject_unauth_pipelining
    smtpd_banner = $myhostname ESMTP
    
    message_size_limit = 20480000
    content_filter = smtp-amavis:[127.0.0.1]:10024
    
    
    # Limit Active SMTP Connection
    
    smtpd_error_sleep_time = 1s
    smtpd_soft_error_limit = 10
    smtpd_hard_error_limit = 20
    smtpd_client_connection_count_limit = 10
    smtpd_client_connection_rate_limit = 60
    /etc/postfix/master.cf:
    Code:
    #
    # Postfix master process configuration file. For details on the format
    # of the file, see the Postfix master(5) manual page.
    #
    # ***** Unused items removed *****
    # ==========================================================================
    # service type private unpriv chroot wakeup maxproc command + args
    #  (yes)  (yes)  (yes)  (never) (100)
    # ==========================================================================
    smtp inet n  -  n  -  -  smtpd
    # -o content_filter=smtp-amavis:127.0.0.1:10024
    # -o receive_override_options=no_address_mappings
    pickup fifo n  -  n  60 1  pickup
     -o content_filter=
     -o receive_override_options=no_header_body_checks
    cleanup  unix n  -  n  -  0  cleanup
    qmgr fifo n  -  n  300  1  qmgr
    #qmgr  fifo n  -  n  300  1  oqmgr
    tlsmgr unix -  -  n  1000?  1  tlsmgr
    rewrite  unix -  -  n  -  -  trivial-rewrite
    bounce unix -  -  n  -  0  bounce
    defer  unix -  -  n  -  0  bounce
    trace  unix -  -  n  -  0  bounce
    verify unix -  -  n  -  1  verify
    flush  unix n  -  n  1000?  0  flush
    proxymap unix -  -  n  -  -  proxymap
    smtp unix -  -  n  -  -  smtp
    # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
    relay  unix -  -  n  -  -  smtp
     -o fallback_relay=
    #  -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
    showq  unix n  -  n  -  -  showq
    error  unix -  -  n  -  -  error
    discard  unix -  -  n  -  -  discard
    local  unix -  n  n  -  -  local
    virtual  unix -  n  n  -  -  virtual
    lmtp unix -  -  n  -  -  lmtp
    anvil  unix -  -  n  -  1  anvil
    scache unix -  -  n  -  1  scache
    #
    # ====================================================================
    # Interfaces to non-Postfix software. Be sure to examine the manual
    # pages of the non-Postfix software to find out what options it wants.
    # ====================================================================
    maildrop unix -  n  n  -  -  pipe
     flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
    uucp unix -  n  n  -  -  pipe
     flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
    ifmail unix -  n  n  -  -  pipe
     flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
    bsmtp  unix -  n  n  -  -  pipe
     flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
    #
    # spam/virus section
    #
    smtp-amavis unix - -  y  -  2  smtp
     -o smtp_data_done_timeout=1200
     -o disable_dns_lookups=yes
     -o smtp_send_xforward_command=yes
    127.0.0.1:10025 inet n -  y  -  -  smtpd
     -o content_filter=
     -o smtpd_helo_restrictions=
     -o smtpd_sender_restrictions=
     -o smtpd_recipient_restrictions=permit_mynetworks,reject
     -o mynetworks=127.0.0.0/8
     -o smtpd_error_sleep_time=1s
     -o smtpd_soft_error_limit=10
     -o smtpd_hard_error_limit=20
     -o smtpd_client_connection_count_limit=10
     -o smtpd_client_connection_rate_limit=60
     -o receive_override_options=no_header_body_checks
     -o smtpd_helo_required=no
     -o smtpd_client_restrictions=
     -o smtpd_restriction_classes=
     -o disable_vrfy_command=no
     -o strict_rfc821_envelopes=yes
    #
    # Dovecot LDA
    dovecot  unix -  n  n  -  -  pipe
     flags=DRhu user=vmail:mail argv=/usr/lib/dovecot/deliver -d ${recipient}
    #
    # Vacation mail
    vacation unix -  n  n  -  -  pipe
     flags=Rq user=vacation argv=/var/spool/vacation/vacation.pl -f ${sender} -- ${recipient}
    #
    # Amivas POST FIX INTEGRATION
    smtp-amavis  unix -  -  -  -  2  smtp
     -o smtp_data_done_timeout=1200
     -o smtp_send_xforward_command=yes
     -o disable_dns_lookups=yes
     -o max_use=20
    
    127.0.0.1:10025 inet n  -  -  -  -  smtpd
     -o content_filter=
     -o local_recipient_maps=
     -o relay_recipient_maps=
     -o smtpd_restriction_classes=
     -o smtpd_delay_reject=no
     -o smtpd_client_restrictions=permit_mynetworks,reject
     -o smtpd_helo_restrictions=
     -o smtpd_sender_restrictions=
     -o smtpd_recipient_restrictions=permit_mynetworks,reject
     -o smtpd_data_restrictions=reject_unauth_pipelining
     -o smtpd_end_of_data_restrictions=
     -o mynetworks=127.0.0.0/8
     -o smtpd_error_sleep_time=1s
     -o smtpd_soft_error_limit=10
     -o smtpd_hard_error_limit=20
     -o smtpd_client_connection_count_limit=10
     -o smtpd_client_connection_rate_limit=60
     -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks
    
     
  2. strang3r

    strang3r Member

    /var/log/mail.log:
    Code:
    Apr  2 03:30:14 cpanel postfix/master[4228]: reload -- version 2.11.0, configuration /etc/postfix
    Apr  2 03:30:14 cpanel postfix/qmgr[12306]: 532A3100EFA: from=<[email protected]>, size=4776, nrcpt=1 (queue active)
    Apr  2 03:30:14 cpanel postfix/qmgr[12306]: 528CE1010A4: from=<>, size=2902, nrcpt=1 (queue active)
    Apr  2 03:30:14 cpanel postfix/qmgr[12306]: 5DCD210112C: from=<[email protected]>, size=4776, nrcpt=1 (queue active)
    Apr  2 03:30:14 cpanel postfix/qmgr[12306]: 50373100F1A: from=<>, size=3152, nrcpt=1 (queue active)
    Apr  2 03:30:14 cpanel postfix/qmgr[12306]: 5C2A5101189: from=<[email protected]>, size=4776, nrcpt=1 (queue active)
    Apr  2 03:30:14 cpanel postfix/qmgr[12306]: DF63B1010D1: from=<[email protected]>, size=4776, nrcpt=1 (queue active)
    Apr  2 03:30:14 cpanel postfix/qmgr[12306]: D500F100E0E: from=<[email protected]>, size=4776, nrcpt=1 (queue active)
    Apr  2 03:30:14 cpanel postfix/qmgr[12306]: D0A81100B66: from=<[email protected]>, size=4776, nrcpt=1 (queue active)
    Apr  2 03:30:16 cpanel postfix/qmgr[12306]: DD040100E3D: from=<[email protected]>, size=4776, nrcpt=1 (queue active)
    Apr  2 03:30:16 cpanel postfix/qmgr[12306]: 6A881100F55: from=<[email protected]>, size=4776, nrcpt=1 (queue active)
    Apr  2 03:30:16 cpanel postfix/qmgr[12306]: 6CF2E100F35: from=<[email protected]>, size=4776, nrcpt=1 (queue active)
    Apr  2 03:30:16 cpanel postfix/qmgr[12306]: 4CE8C100F4D: from=<>, size=3151, nrcpt=1 (queue active)
    Apr  2 03:30:16 cpanel postfix/qmgr[12306]: 4E476100E75: from=<>, size=2965, nrcpt=1 (queue active)
    Apr  2 03:30:16 cpanel postfix/qmgr[12306]: E1615100F24: from=<>, size=3151, nrcpt=1 (queue active)
    Apr  2 03:30:16 cpanel postfix/qmgr[12306]: E672A100F38: from=<>, size=3009, nrcpt=1 (queue active)
    Apr  2 03:30:16 cpanel postfix/qmgr[12306]: 773D2100E72: from=<>, size=3151, nrcpt=1 (queue active)
    Apr  2 03:30:16 cpanel postfix/qmgr[12306]: 77F71100F52: from=<[email protected]>, size=4776, nrcpt=1 (queue active)
    Apr  2 03:30:16 cpanel postfix/qmgr[12306]: 7C6E8100E6D: from=<>, size=3151, nrcpt=1 (queue active)
    Apr  2 03:30:16 cpanel postfix/qmgr[12306]: 3AF88101164: from=<[email protected]>, size=4776, nrcpt=1 (queue active)
    Apr  2 03:30:22 cpanel postfix/qmgr[12306]: 836AD101061: from=<>, size=3029, nrcpt=1 (queue active)
    Apr  2 03:30:22 cpanel postfix/qmgr[12306]: warning: defer_append: ignoring dsn code "5.4.6"
    Apr  2 03:30:22 cpanel postfix/qmgr[12306]: 836AD101061: to=<[email protected]>, relay=none, delay=59530, delays=59530/0.14/0/0, dsn=4.0.0, status=deferred (delivery temporarily suspended: mail for cpanel.mainwebhosting.com loops back to myself)
    Apr  2 03:30:22 cpanel postfix/qmgr[12306]: B423710117E: from=<[email protected]>, size=5277, nrcpt=1 (queue active)
    Apr  2 03:30:22 cpanel postfix/qmgr[12306]: 009E41010D2: from=<>, size=3029, nrcpt=1 (queue active)
    Apr  2 03:30:22 cpanel postfix/qmgr[12306]: warning: defer_append: ignoring dsn code "5.4.6"
    Apr  2 03:30:22 cpanel postfix/qmgr[12306]: 009E41010D2: to=<[email protected]>, relay=none, delay=82940, delays=82940/0.21/0/0, dsn=4.0.0, status=deferred (delivery temporarily suspended: mail for cpanel.mainwebhosting.com loops back to myself)
    Apr  2 03:30:22 cpanel postfix/qmgr[12306]: A1DBF100F71: from=<[email protected]>, size=4776, nrcpt=1 (queue active)
    Apr  2 03:30:22 cpanel postfix/qmgr[12306]: warning: defer_append: ignoring dsn code "5.4.6"
    Apr  2 03:30:22 cpanel postfix/smtp[12313]: B423710117E: to=<[email protected]>, relay=none, delay=807, delays=807/0/0.13/0, dsn=4.4.6, status=SOFTBOUNCE (mail for mail.mainwebhosting.com loops back to myself)
    Apr  2 03:30:22 cpanel postfix/qmgr[12306]: A1DBF100F71: to=<[email protected]>, orig_to=<root>, relay=none, delay=210078, delays=210078/0.18/0/0, dsn=4.0.0, status=deferred (delivery temporarily suspended: mail for cpanel.mainwebhosting.com loops back to myself)
    Apr  2 03:30:22 cpanel postfix/qmgr[12306]: A57A8100D97: from=<[email protected]>, size=820, nrcpt=1 (queue active)
    Apr  2 03:30:22 cpanel postfix/qmgr[12306]: warning: defer_append: ignoring dsn code "5.4.6"
    Apr  2 03:30:23 cpanel postfix/qmgr[12306]: A57A8100D97: to=<[email protected]>, orig_to=<root>, relay=none, delay=180773, delays=180773/0.14/0/0, dsn=4.0.0, status=deferred (delivery temporarily suspended: mail for cpanel.mainwebhosting.com loops back to myself)
    Apr  2 03:30:23 cpanel postfix/qmgr[12306]: AE4DC100F30: from=<>, size=3152, nrcpt=1 (queue active)
    Apr  2 03:30:23 cpanel postfix/qmgr[12306]: warning: defer_append: ignoring dsn code "5.4.6"
    Apr  2 03:30:23 cpanel postfix/qmgr[12306]: AE4DC100F30: to=<[email protected]>, relay=none, delay=232302, delays=232302/0.16/0/0, dsn=4.0.0, status=deferred (delivery temporarily suspended: mail for cpanel.mainwebhosting.com loops back to myself)
    Apr  2 03:30:23 cpanel postfix/qmgr[12306]: ACCBF10117F: from=<[email protected]>, size=4776, nrcpt=1 (queue active)
    Apr  2 03:30:23 cpanel postfix/qmgr[12306]: warning: defer_append: ignoring dsn code "5.4.6"
    Apr  2 03:30:23 cpanel postfix/qmgr[12306]: ACCBF10117F: to=<[email protected]>, orig_to=<root>, relay=none, delay=10202, delays=10201/0.32/0/0, dsn=4.0.0, status=deferred (delivery temporarily suspended: mail for cpanel.mainwebhosting.com loops back to myself)
    Apr  2 03:30:23 cpanel postfix/qmgr[12306]: CF00610108B: from=<>, size=2965, nrcpt=1 (queue active)
    Apr  2 03:30:23 cpanel postfix/qmgr[12306]: warning: defer_append: ignoring dsn code "5.4.6"
    Apr  2 03:30:23 cpanel postfix/qmgr[12306]: CF00610108B: to=<[email protected]>, relay=none, delay=108125, delays=108125/0.25/0/0, dsn=4.0.0, status=deferred (delivery temporarily suspended: mail for cpanel.mainwebhosting.com loops back to myself)
    Apr  2 03:35:14 cpanel postfix/qmgr[12306]: DAA58101172: from=<>, size=3029, nrcpt=1 (queue active)
    Apr  2 03:35:14 cpanel postfix/qmgr[12306]: warning: connect to transport private/retry: Connection refused
    Apr  2 03:35:14 cpanel postfix/qmgr[12306]: DAA58101172: to=<[email protected]>, relay=none, delay=15022, delays=15022/0.1/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
    Apr  2 03:35:14 cpanel postfix/qmgr[12306]: DAF74100E54: from=<>, size=2965, nrcpt=1 (queue active)
    Apr  2 03:35:14 cpanel postfix/qmgr[12306]: warning: defer_append: ignoring dsn code "5.4.6"
    Apr  2 03:35:15 cpanel postfix/qmgr[12306]: DAF74100E54: to=<[email protected]>, relay=none, delay=300697, delays=300697/0.13/0/0, dsn=4.0.0, status=deferred (delivery temporarily suspended: mail for cpanel.mainwebhosting.com loops back to myself)
    Apr  2 03:35:15 cpanel postfix/qmgr[12306]: D861B100E86: from=<>, size=2965, nrcpt=1 (queue active)
    Apr  2 03:35:15 cpanel postfix/qmgr[12306]: warning: defer_append: ignoring dsn code "5.4.6"
    Apr  2 03:35:15 cpanel postfix/qmgr[12306]: D861B100E86: to=<[email protected]>, relay=none, delay=273995, delays=273995/0.27/0/0, dsn=4.0.0, status=deferred (delivery temporarily suspended: mail for cpanel.mainwebhosting.com loops back to myself)
    Apr  2 03:35:15 cpanel postfix/qmgr[12306]: 62945100D5C: from=<[email protected]>, size=4776, nrcpt=1 (queue active)
    Apr  2 03:35:15 cpanel postfix/qmgr[12306]: warning: defer_append: ignoring dsn code "5.4.6"
    Apr  2 03:35:15 cpanel postfix/qmgr[12306]: 62945100D5C: to=<[email protected]>, orig_to=<root>, relay=none, delay=381370, delays=381370/0.3/0/0, dsn=4.0.0, status=deferred (delivery temporarily suspended: mail for cpanel.mainwebhosting.com loops back to myself)
    Apr  2 03:35:15 cpanel postfix/qmgr[12306]: 69F2410111B: from=<[email protected]>, size=820, nrcpt=1 (queue active)
    Apr  2 03:35:15 cpanel postfix/qmgr[12306]: warning: defer_append: ignoring dsn code "5.4.6"
    Apr  2 03:35:15 cpanel postfix/qmgr[12306]: 69F2410111B: to=<[email protected]>, orig_to=<root>, relay=none, delay=8430, delays=8430/0.24/0/0, dsn=4.0.0, status=deferred (delivery temporarily suspended: mail for cpanel.mainwebhosting.com loops back to myself)
    
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Change:
    mydestination = localhost.$mydomain, localhost

    to:

    mydestination = localhost.$mydomain, localhost, cpanel.mainwebhosting.com

    in postfix main.cf and restart postfix.
     
  4. strang3r

    strang3r Member

    Hi Till,

    Thank you for your response. After adding cpanel.mainwehosting.com When I made postfix restart it output me

    Code:
    root@cpanel:~# sudo /etc/init.d/postfix restart
     * Stopping Postfix Mail Transport Agent postfix  [ OK ]
     * Starting Postfix Mail Transport Agent postfix  [ OK ]
    You have mail in /var/mail/root
    
    I went to check /var/mail/ and I see some emails left over there and not received as there are no mailbox assigned with this email.

    Code:
    From [email protected]  Fri Apr  3 17:44:46 2015
    Return-Path: <[email protected]>
    X-Original-To: root
    Delivered-To: [email protected]
    Received: by cpanel.mainwebhosting.com (Postfix, from userid 0)
       id AEB5612153C; Fri,  3 Apr 2015 17:39:30 +0600 (BDT)
    From: [email protected] (Cron Daemon)
    To: [email protected]
    Subject: Cron <root@cpanel>  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime)
    Content-Type: text/plain; charset=ANSI_X3.4-1968
    X-Cron-Env: <SHELL=/bin/sh>
    X-Cron-Env: <HOME=/root>
    X-Cron-Env: <PATH=/usr/bin:/bin>
    X-Cron-Env: <LOGNAME=root>
    Message-Id: <[email protected]>
    Date: Fri,  3 Apr 2015 17:39:30 +0600 (BDT)
    
    -Email Data-
    
    I do check again in /var/log/mail.log and I see that it is delivering emails to mail box now. But I am not receiving any email as I do not have my mail box assigned like this for webmail. eg: [email protected] , [email protected]
    They are supposed to be using main domain as hostname except subdomain. eg: [email protected] , [email protected]

    Also how do I forward emails from above address root@domain to my specific assigned email?. Do I have to modify /etc/alias ?.

    Code:
    Apr  3 17:44:46 cpanel postfix/qmgr[2081]: AEB5612153C: from=<[email protected]>, size=4106, nrcpt=1 (queue active)
    Apr  3 17:44:46 cpanel postfix/qmgr[2081]: 852921214E5: from=<[email protected]>, size=698, nrcpt=1 (queue active)
    Apr  3 17:44:46 cpanel postfix/qmgr[2081]: 961BE12150D: from=<[email protected]>, size=431, nrcpt=1 (queue active)
    Apr  3 17:44:47 cpanel postfix/local[13708]: AEB5612153C: to=<[email protected]>, orig_to=<root>, relay=local, delay=317, delays=316/0.09/0/0.23, dsn=2.0.0, status=sent (delivered to mailbox)
    Apr  3 17:44:47 cpanel postfix/qmgr[2081]: AEB5612153C: removed
    Apr  3 17:44:47 cpanel postfix/local[13709]: 852921214E5: to=<[email protected]>, orig_to=<amavis>, relay=local, delay=8760, delays=8760/0.05/0/0.21, dsn=2.0.0, status=sent (delivered to mailbox)
    Apr  3 17:44:47 cpanel postfix/qmgr[2081]: 852921214E5: removed
    Apr  3 17:44:47 cpanel postfix/smtp[13710]: 961BE12150D: host ASPMX.L.GOOGLE.com[2607:f8b0:400d:c06::1a] said: 550-5.1.1 The email account that you tried to reach does not exist. Please try 550-5.1.1 double-checking the recipient's email address for typos or 550-5.1.1 unnecessary spaces. Learn more at 550 5.1.1 http://support.google.com/mail/bin/answer.py?answer=6596 f1si7874782qcd.49 - gsmtp (in reply to RCPT TO command)
    Apr  3 17:44:47 cpanel postfix/smtp[13710]: 961BE12150D: to=<[email protected]>, relay=ASPMX.L.GOOGLE.com[74.125.22.26]:25, delay=4671, delays=4670/0.05/0.8/0.12, dsn=4.1.1, status=SOFTBOUNCE (host ASPMX.L.GOOGLE.com[74.125.22.26] said: 550-5.1.1 The email account that you tried to reach does not exist. Please try 550-5.1.1 double-checking the recipient's email address for typos or 550-5.1.1 unnecessary spaces. Learn more at 550 5.1.1 http://support.google.com/mail/bin/answer.py?answer=6596 q104si7846259qgq.109 - gsmtp (in reply to RCPT TO command))
    Apr  3 17:45:40 cpanel postfix/master[2061]: terminating on signal 15
    Apr  3 17:45:42 cpanel postfix/master[14436]: daemon started -- version 2.11.0, configuration /etc/postfix
    Apr  3 17:50:42 cpanel postfix/qmgr[14440]: D6010121522: from=<[email protected]>, size=4106, nrcpt=1 (queue active)
    Apr  3 17:50:42 cpanel postfix/local[15059]: D6010121522: to=<[email protected]>, orig_to=<root>, relay=local, delay=2455, delays=2455/0.03/0/0.2, dsn=2.0.0, status=sent (delivered to mailbox)
    Apr  3 17:50:42 cpanel postfix/qmgr[14440]: D6010121522: removed
    
    Thanks.~
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats ok as these are technical mails for the system user root and not emails for a mailbox. If you want to forward them to a different addressthen you can do that in /etc/aliases.

    No, they are not supposed to use the domain name. These emails are technical emails, they have to be sent to the hostname of your server and not to your email domain.
     
  6. strang3r

    strang3r Member

    Thanks Till. This made all sense :) .
    But as I won't be able to connect to SSH All the time to view root user emails so I has forwarded them to a domain email. by adding forward email.. in /etc/aliases/
    I also has to update aliases.db by using # newaliases

    Emails are perfectly getting received now. But a configuration within master.cf still causing my bounce or mail delivery failure email's not getting received instantly.

    Code:
    Apr  4 02:31:45 cpanel postfix/qmgr[2067]: 5E1EB1214F6: from=<[email protected]>, size=444, nrcpt=1 (queue active)
    Apr  4 02:31:48 cpanel postfix/smtp[26616]: 5E1EB1214F6: host ASPMX.L.GOOGLE.com[2607:f8b0:400d:c07::1a] said: 550-5.1.1 The email account that you tried to reach does not exist. Please try 550-5.1.1 double-checking the recipient's email address for typos or 550-5.1.1 unnecessary spaces. Learn more at 550 5.1.1 http://support.google.com/mail/bin/answer.py?answer=6596 f15si6956761qki.107 - gsmtp (in reply to RCPT TO command)
    
    Instead I get an mail delivery system error message after 4 to 5 hours later like this..... Which say that it will keep continue for 5 days till it gets old.

    What should I change back in master.cnf?. so I can get mail delivery failure instantly within less then 30 minutes if an email address is not valid?. And stop automatic retrying?.

    Code:
    ##############################
    ######################################
    # THIS IS A WARNING ONLY.  YOU DO NOT NEED TO RESEND YOUR MESSAGE. #
    ####################################################################
    
    Your message could not be delivered for more than 4 hour(s).
    It will be retried until it is 5 day(s) old.
    
    For further assistance, please send mail to postmaster.
    
    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.
    
                       The mail system
    
    <'[EMAIL][email protected][/EMAIL]>: host [URL='http://mx3.spamtador.com']mx3.spamtador.com[/URL][188.93.73.23] said: 550 5.7.1
        <'[EMAIL][email protected][/EMAIL]>... sorry, no mailbox here by that name. (#5.7.17) (in
        reply to RCPT TO command)
    
    Final-Recipient: rfc822; '[EMAIL][email protected][/EMAIL]
    Original-Recipient: [EMAIL='rfc822%3B%[email protected]']rfc822;'[email protected][/EMAIL]
    Action: delayed
    Status: 4.7.1
    Remote-MTA: dns; [URL='http://mx3.spamtador.com']mx3.spamtador.com[/URL]
    Diagnostic-Code: smtp; 550 5.7.1 <'[EMAIL][email protected][/EMAIL]>... sorry, no mailbox here by
        that name. (#5.7.17)
    Will-Retry-Until: Wed,  8 Apr 2015 18:46:36 +0600 (BDT)
    
     

Share This Page