Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: [SOLVED] SMTP FAILURE **have read all wiki's on this** problem still occurs.

  1. #1
    Join Date
    Jan 2008
    Posts
    42
    Rep Power
    7

    Default [SOLVED] SMTP FAILURE **have read all wiki's on this** problem still occurs.

    Hello all,

    I have read all of the wiki articles and am still having smtp errors when sending via imap or pop.

    The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was 'mike.crockett@comcast.net'. Subject 'test', Account: 'mail.bitstechnology.net', Server: 'mail.bitstechnology.net', Protocol: SMTP, Server Response: '554 5.7.1 <mike.crockett@comcast.net>: Relay access denied', Port: 25, Secure(SSL): No, Server Error: 554, Error Number: 0x800CCC79

    I have included all of the requests that have been asked in other threads..
    Beating my head into the wall here..must be something simple? Here is all of the info.

    Any help would be great. Thanks in advance.

    Code:
    ##############Error in /var/log
    
    Feb 18 09:53:47 mail postfix/smtpd[1150]: warning: 75.145.196.29: hostname 75-145-196-29-Richmond.hfc.comcastbusiness.net verification failed: Name or service not known
    Feb 18 09:53:47 mail postfix/smtpd[1150]: connect from unknown[75.145.196.29]
    Feb 18 09:53:47 mail postfix/smtpd[1150]: NOQUEUE: reject: RCPT from unknown[75.145.196.29]: 554 5.7.1 <mike.crockett@comcast.net>: Relay access denied; from=<miketest@bitstechnology.net> to=<mike.crockett@comcast.net> proto=ESMTP helo=<bits01>
    Feb 18 09:53:47 mail postfix/smtpd[1150]: disconnect from unknown[75.145.196.29]
    
    ###hostname########
    
    [root@mail conf]# host `hostname`                                                                                                                                                 
    mail.bitstechnology.net has address 204.15.101.111
    [root@mail conf]# dig bitstechnology.net mx
    
    #########results of dig#########
    
    ; <<>> DiG 9.3.3rc2 <<>> bitstechnology.net mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41075
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;bitstechnology.net.            IN      MX
    
    ;; ANSWER SECTION:
    bitstechnology.net.     14400   IN      MX      10 mail.bitstechnology.net.
    
    ;; Query time: 3 msec
    ;; SERVER: 204.11.208.17#53(204.11.208.17)
    ;; WHEN: Mon Feb 18 12:24:42 2008
    ;; MSG SIZE  rcvd: 57
    
    [root@mail conf]# dig bitstechnology.net any                                                                                                                                      
    
    ; <<>> DiG 9.3.3rc2 <<>> bitstechnology.net any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12993
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;bitstechnology.net.            IN      ANY
    
    ;; ANSWER SECTION:
    bitstechnology.net.     14396   IN      NS      ns2.bitstechnology.net.
    bitstechnology.net.     14396   IN      NS      ns1.bitstechnology.net.
    
    ;; Query time: 1 msec
    ;; SERVER: 204.11.208.17#53(204.11.208.17)
    ;; WHEN: Mon Feb 18 12:24:46 2008
    ;; MSG SIZE  rcvd: 72
    
    ############hosts file##############
    
    [root@mail conf]# cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1       localhost.localdomain   localhost
    204.15.101.111  mail.bitstechnology.net mail
    ::1     localhost6.localdomain6 localhost6
    
    #################resolv.conf##############
    
    [root@mail conf]# more /etc/resolv.conf
    nameserver 204.11.208.17
    nameserver 204.11.208.18
    nameserver 204.15.101.110
    
    #########mynetworks##########
    
    
    [zimbra@mail conf]$ postconf mynetworks
    mynetworks = 127.0.0.0/8 192.168.0.0/24 204.15.101.0/25 71.161.53.0/24 204.15.101.111/32 204.15.101.110/32
    
    [zimbra@mail conf]$ zmprov gs mail.bitstechnology.net | grep zimbraMtaMyNetworks
    zimbraMtaMyNetworks: 127.0.0.0/8 192.168.0.0/24 204.15.101.0/25 71.161.53.0/24 204.15.101.111/32 204.15.101.110/32
    
    
    #########postfix###################
    
    [zimbra@mail log]$ cat /opt/zimbra/postfix/conf/master.cf
    #
    # Postfix master process configuration file.  For details on the format
    # of the file, see the Postfix master(5) manual page.
    #
    # ==========================================================================
    # service type  private unpriv  chroot  wakeup  maxproc command + args
    #               (yes)   (yes)   (yes)   (never) (100)
    # ==========================================================================
    smtp      inet  n       -       n       -       -       smtpd
    #submission inet n      -       n       -       -       smtpd
    #       -o smtpd_etrn_restrictions=reject
    #       -o smtpd_client_restrictions=permit_sasl_authenticated,reject
    465    inet  n       -       n       -       -       smtpd
      -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
    #submission   inet    n       -       n       -       -       smtpd
    #  -o smtpd_etrn_restrictions=reject
    #  -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
    #628      inet  n       -       n       -       -       qmqpd
    pickup    fifo  n       -       n       60      1       pickup
    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.
    #
    # Many of the following services use the Postfix pipe(8) delivery
    # agent.  See the pipe(8) man page for information about ${recipient}
    # and other message envelope options.
    # ====================================================================
    #
    # maildrop. See the Postfix MAILDROP_README file for details.
    # Also specify in main.cf: maildrop_destination_recipient_limit=1
    #
    maildrop  unix  -       n       n       -       -       pipe
      flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
    #
    # The Cyrus deliver program has changed incompatibly, multiple times.
    #
    old-cyrus unix  -       n       n       -       -       pipe
      flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
    # Cyrus 2.1.5 (Amos Gouaux)
    # Also specify in main.cf: cyrus_destination_recipient_limit=1
    cyrus     unix  -       n       n       -       -       pipe
      user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
    #
    # See the Postfix UUCP_README file for configuration details.
    #
    uucp      unix  -       n       n       -       -       pipe
      flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
    #
    # Other external delivery methods.
    #
    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
    #
    # AMAVISD-NEW
    #
    smtp-amavis unix -      -       n       -       10  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  -       n       -       -  smtpd
            -o content_filter=
            -o local_recipient_maps=
            -o virtual_mailbox_maps=
            -o virtual_alias_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 mynetworks_style=host
            -o mynetworks=127.0.0.0/8
            -o strict_rfc821_envelopes=yes
            -o smtpd_error_sleep_time=0
            -o smtpd_soft_error_limit=1001
            -o smtpd_hard_error_limit=1000
            -o smtpd_client_connection_count_limit=0
            -o smtpd_client_connection_rate_limit=0
            -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings
    [zimbra@mail log]$
    Last edited by mikec; 02-18-2008 at 09:13 PM.

  2. #2
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,322
    Rep Power
    13

    Default

    Where are the client computers trying to send mail, on your LAN or "away" (I suppose "away")?

    If they are away, you need to use authenticated SMTP to allow your user to send mail through your Zimbra server.

    This is the wiki page you need: Mail client Configuration - Zimbra :: Wiki

  3. #3
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Another point, you don't appear to have an A record listed in the output above. You should have one pointing to your server.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    Join Date
    Jan 2008
    Posts
    42
    Rep Power
    7

    Default

    Im not sure why the dig domain.com any did not list the A record but this command did.

    [zimbra@mail log]$ dig bitstechnology.net

    Code:
     
    <<>> DiG 9.3.3rc2 <<>> bitstechnology.net
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26550
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;bitstechnology.net.            IN      A
    
    ;; ANSWER SECTION:
    bitstechnology.net.     14315   IN      A       204.15.101.110
    
    ;; Query time: 1 msec
    ;; SERVER: 204.11.208.17#53(204.11.208.17)
    ;; WHEN: Mon Feb 18 13:39:00 2008
    ;; MSG SIZE  rcvd: 52
    
    [zimbra@mail log]$

    As far as the clients go I have them set up properly.. They are not on the Lan
    Road Warriors.

  5. #5
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    That A record is incorrect, it should point to your Zimbra server (mail.bitstechnology.net) and not the domain name. The record you list also has the wrong ip according to your information above:
    [root@mail conf]# host `hostname`
    mail.bitstechnology.net has address 204.15.101.111
    So, the situation is that you don't have a valid A record.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    Join Date
    Jan 2008
    Posts
    42
    Rep Power
    7

    Default

    Let me explain what I have set up it may help a bit... I have box spit into 2vps..
    1)zimbra mail server = mail.bitstechnology.net 204.15.101.111
    2)webserver running Direct Admin = bitstechnology.net 204.15.101.110

    The x.x.x.110 box manages the DNS and I have the following set up in the DNS on that box.

    bitstechnology.net. A 204.15.101.110
    ftp A 204.15.101.110
    localhost A 127.0.0.1
    mail A 204.15.101.111
    pop A 204.15.101.110
    www A 204.15.101.110
    bitstechnology.net. NS ns1.bitstechnology.net.
    bitstechnology.net. NS ns2.bitstechnology.net.
    mail MX 10
    bitstechnology.net. TXT "v=spf1 a mx ip4:204.15.101.110 ?all"

    Do you see any problems with my entries here?

  7. #7
    Join Date
    Jan 2008
    Posts
    42
    Rep Power
    7

    Default

    Problem has been fixed.
    Last edited by mikec; 02-18-2008 at 09:11 PM. Reason: include dig

  8. #8
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,322
    Rep Power
    13

    Default

    Was it the DNS record problem or something else (for other forum readers that might get into the same problem) ?

  9. #9
    Join Date
    Jan 2008
    Posts
    42
    Rep Power
    7

    Default

    This was not a DNS issue. I had to configure IMAP in the admin gui to handle SSL for Imap and enable clear txt login. After setting these 2 values it will now let me send to other email accounts that are not on the Zserver. Im not sure which of those 2 settings made it work or if it was a combo of both.

  10. #10
    Join Date
    Jul 2007
    Location
    San Jose, CA
    Posts
    1,027
    Rep Power
    10

    Default

    You really don't want clear text login. . .that is just asking somebody to sniff your network stream and capture passwords.

    I suspect you have a problem I encountered for different reasons because of my own network setup. . .if I read your post correctly you have both the .110 and .111 ip addresses on your same box. Your mail is being routed to .111, well and good; however, what ip is your box using for OUTGOING mail traffic? My guess is that your IMAP clients are trying (as they ought) to log in on .111, and the outgoing TCP/IP traffic on your box is all going thru .110. That causes a failure in IMAP every time.

    You can verify this by sending a mail message from one of your (successful, LAN-side) clients or the web client, to an independent email address "out there" somewhere. Take a look at the full headers on that message, and I bet you'll see that it came from .110. You need to change the network routing settings on your box so that all traffic from the mail server--port 25 as well as IMAP 993 and SMTP-SSL 465--are sent from .111.

    Incidentally, failure to fix this will also cause certain spam filters to reject your mail, because when they do an MX lookup on your sending domain they'll find that the source IP address is different from the one in your MX record. So you need to fix this irrespective of the IMAP problem.

    Dan

Similar Threads

  1. Replies: 3
    Last Post: 03-30-2011, 12:51 AM
  2. service.FAILURE: system failure: SMTP connect failure
    By DavidNicholson in forum Error Reports
    Replies: 0
    Last Post: 11-29-2010, 06:23 AM
  3. Replies: 1
    Last Post: 08-18-2010, 11:22 PM
  4. Error in NoteBook. system failure: wiki formatter failure
    By a.ambrosio in forum Administrators
    Replies: 7
    Last Post: 12-31-2009, 03:17 AM
  5. [SOLVED] Sync Failure: Wiki Is Not Enabled
    By jerelabs in forum Error Reports
    Replies: 1
    Last Post: 10-22-2008, 11:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •