Results 1 to 4 of 4

Thread: Problems with outgoing SMTP Relay

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

    Wink Problems with outgoing SMTP Relay

    Hello,

    i know that is not a new problem... but a dont know this problem.

    The zimbra version 5 GA runs on a opensuse 10.1 server. This runs perfect...
    but a cant send emails!

    My external server runs with postfix on "port 25" with "no tls" and with Authentication.

    I have write the login data in the file /opt/zimbra/conf/relay_password
    (12.34.567.890:25 username: password)

    following messages are show in /var/log/mail
    (a have change the adresses and the ip)


    Jan 10 20:52:43 my-server postfix/smtpd[32699]: connect from localhost[127.0.0.1]
    Jan 10 20:52:43 my-server postfix/smtpd[32699]: D7C7B138782: client=localhost[127.0.0.1]
    Jan 10 20:52:43 my-server postfix/cleanup[32703]: D7C7B138782: message-id=<32129358.391199994763648.JavaMail.root@contrac-sh>
    Jan 10 20:52:43 my-server postfix/qmgr[32704]: D7C7B138782: from=<my@dress.de>, size=524, nrcpt=1 (queue active)
    Jan 10 20:52:43 my-server postfix/qmgr[32704]: 9218213878D: from=<my@dress.de>, size=1146, nrcpt=1 (queue active)
    Jan 10 20:52:43 my-server postfix/smtpd[32699]: disconnect from localhost[127.0.0.1]
    Jan 10 20:52:43 my-server postfix/smtp[32705]: warning: database /opt/zimbra/conf/relay_password.db is older than source file /opt/zimbra/conf/relay_password
    Jan 10 20:52:44 my-server postfix/qmgr[32704]: F041B138784: from=<my@dress.de>, size=1145, nrcpt=1 (queue active)
    Jan 10 20:52:44 my-server postfix/smtp[32706]: warning: database /opt/zimbra/conf/relay_password.db is older than source file /opt/zimbra/conf/relay_password
    Jan 10 20:52:44 my-server postfix/smtp[32707]: warning: database /opt/zimbra/conf/relay_password.db is older than source file /opt/zimbra/conf/relay_password
    Jan 10 20:52:44 my-server postfix/smtp[32706]: F041B138784: to=<web@webadress.de>, relay=12.34.567.890[12.34.567.890]:25, delay=10180, delays=10180/0.07/0.1/0.22, dsn=5.0.0, status=bounced (host 12.34.567.890[12.34.567.890] said: 554 <web@webadress.de>: Relay access denied (in reply to RCPT TO command))
    Jan 10 20:52:44 my-server postfix/smtp[32707]: 9218213878D: to=<web@webadress.de>, relay=12.34.567.890[12.34.567.890]:25, delay=1286, delays=1285/0.12/0.11/0.21, dsn=5.0.0, status=bounced (host 12.34.567.890[12.34.567.890] said: 554 <web@webadress.de>: Relay access denied (in reply to RCPT TO command))
    Jan 10 20:52:44 my-server postfix/cleanup[32703]: 6F27F13878F: message-id=<20080110195244.6F27F13878F@my-server.net>
    Jan 10 20:52:44 my-server postfix/cleanup[32710]: 754E7138790: message-id=<20080110195244.754E7138790@my-server.net>
    Jan 10 20:52:44 my-server postfix/bounce[32708]: F041B138784: sender non-delivery notification: 6F27F13878F
    Jan 10 20:52:44 my-server postfix/qmgr[32704]: 6F27F13878F: from=<>, size=3155, nrcpt=1 (queue active)
    Jan 10 20:52:44 my-server postfix/qmgr[32704]: F041B138784: removed
    Jan 10 20:52:44 my-server postfix/qmgr[32704]: 754E7138790: from=<>, size=3156, nrcpt=1 (queue active)
    Jan 10 20:52:44 my-server postfix/bounce[32709]: 9218213878D: sender non-delivery notification: 754E7138790
    Jan 10 20:52:44 my-server postfix/qmgr[32704]: 9218213878D: removed
    Jan 10 20:52:44 my-server postfix/error[32711]: 6F27F13878F: to=<my@dress.de>, relay=none, delay=0.41, delays=0.27/0.07/0/0.06, dsn=5.0.0, status=bounced (cednet.de)
    Jan 10 20:52:44 my-server postfix/qmgr[32704]: 6F27F13878F: removed
    Jan 10 20:52:44 my-server postfix/error[32712]: 754E7138790: to=<my@dress.de>, relay=none, delay=0.4, delays=0.26/0.07/0/0.06, dsn=5.0.0, status=bounced (cednet.de)
    Jan 10 20:52:44 my-server postfix/qmgr[32704]: 754E7138790: removed
    Jan 10 20:52:44 my-server postfix/smtpd[32713]: connect from localhost[127.0.0.1]
    Jan 10 20:52:44 my-server postfix/smtpd[32713]: E08CE138784: client=localhost[127.0.0.1]
    Jan 10 20:52:44 my-server postfix/cleanup[32703]: E08CE138784: message-id=<32129358.391199994763648.JavaMail.root@my-server>
    Jan 10 20:52:44 my-server postfix/qmgr[32704]: E08CE138784: from=<my@dress.de>, size=1147, nrcpt=1 (queue active)
    Jan 10 20:52:44 my-server postfix/smtp[32705]: D7C7B138782: to=<web@webadress.de>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.1, delays=0.1/0.12/0.24/0.65, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as E08CE138784)
    Jan 10 20:52:44 my-server postfix/qmgr[32704]: D7C7B138782: removed
    Jan 10 20:52:44 my-server postfix/smtpd[32713]: disconnect from localhost[127.0.0.1]
    Jan 10 20:52:45 my-server postfix/smtp[32706]: E08CE138784: to=<web@webadress.de>, relay=12.34.567.890[12.34.567.890]:25, delay=0.22, delays=0.05/0.01/0.08/0.09, dsn=5.0.0, status=bounced (host 12.34.567.890[12.34.567.890] said: 554 <web@webadress.de>: Relay access denied (in reply to RCPT TO command))
    Jan 10 20:52:45 my-server postfix/cleanup[32710]: 2773213878B: message-id=<20080110195245.2773213878B@my-server.net>
    Jan 10 20:52:45 my-server postfix/qmgr[32704]: 2773213878B: from=<>, size=3157, nrcpt=1 (queue active)
    Jan 10 20:52:45 my-server postfix/bounce[32709]: E08CE138784: sender non-delivery notification: 2773213878B
    Jan 10 20:52:45 my-server postfix/qmgr[32704]: E08CE138784: removed
    Jan 10 20:52:45 my-server postfix/error[32711]: 2773213878B: to=<my@dress.de>, relay=none, delay=0.1, delays=0.05/0.01/0/0.04, dsn=5.0.0, status=bounced (dress.de)
    Jan 10 20:52:45 my-server postfix/qmgr[32704]: 2773213878B: removed



    and my "main.cf" file:

    sender_canonical_maps = ldap:/opt/zimbra/conf/ldap-scm.cf
    virtual_alias_domains = ldap:/opt/zimbra/conf/ldap-vad.cf
    recipient_delimiter =
    smtpd_tls_cert_file = /opt/zimbra/conf/smtpd.crt
    smtpd_tls_auth_only = no
    myhostname = my-server.net
    virtual_mailbox_domains = ldap:/opt/zimbra/conf/ldap-vmd.cf
    mydestination = localhost
    mailbox_size_limit = 0
    smtpd_client_restrictions = reject_unauth_pipelining
    virtual_alias_maps = ldap:/opt/zimbra/conf/ldap-vam.cf
    transport_maps = ldap:/opt/zimbra/conf/ldap-transport.cf
    sendmail_path = /opt/zimbra/postfix-2.4.3.3z/sbin/sendmail
    message_size_limit = 10240000
    broken_sasl_auth_clients = yes
    alias_maps = hash:/etc/aliases
    manpage_directory = /opt/zimbra/postfix-2.4.3.3z/man
    smtpd_helo_required = yes
    daemon_directory = /opt/zimbra/postfix-2.4.3.3z/libexec
    virtual_transport = error
    mynetworks = 127.0.0.0/8 10.1.0.0/16 0.0.0.0 0.0.0.0/32 12.34.567.0/24
    smtpd_recipient_restrictions = reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_unlisted_recipient, reject_invalid_hostname, reject_non_fqdn_sender, permit
    smtpd_tls_loglevel = 1
    relayhost = 12.34.567.890
    disable_dns_lookups = yes
    content_filter = smtp-amavis:[127.0.0.1]:10024
    virtual_mailbox_maps = ldap:/opt/zimbra/conf/ldap-vmm.cf
    version = 2.4.3.3z
    mailq_path = /opt/zimbra/postfix-2.4.3.3z/sbin/mailq
    header_checks = pcre:/opt/zimbra/conf/postfix_header_checks
    smtpd_use_tls = yes
    queue_directory = /opt/zimbra/postfix-2.4.3.3z/spool
    newaliases_path = /opt/zimbra/postfix-2.4.3.3z/sbin/newaliases
    smtpd_reject_unlisted_recipient = no
    smtpd_data_restrictions = reject_unauth_pipelining
    smtpd_tls_key_file = /opt/zimbra/conf/smtpd.key
    command_directory = /opt/zimbra/postfix-2.4.3.3z/sbin
    smtpd_sasl_auth_enable = yes
    smtp_sasl_auth_enable = yes
    smtp_sasl_password_maps = hash:/opt/zimbra/conf/relay_password
    smtp_cname_overrides_servername = no
    smtp_sasl_security_options = noanonymous

    Thx for your help!!!

    (can everyone help of german? thats very better for me )

  2. #2
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Welcome to the forums,

    Quote Originally Posted by cyber_jack View Post
    My external server runs with postfix on "port 25" with "no tls" and with Authentication.
    You have smtpd_use_tls = yes
    try:
    su - zimbra
    postconf - e smtpd_use_tls=no
    postfix reload
    Also be sure you don't have smtpd_enforce_tls=yes set somewhere; which implies smtpd_tls_auth_only=yes even though your config below has smtpd_tls_auth_only = no

    Outgoing SMTP Authentication - Zimbra :: Wiki

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

    Default

    Thx for answer..

    i have problems with change smtp_use_tls = no...

    i have "smtpd_tls_auth_only = no"


    the message have i forgot:

    Jan 10 20:52:05 contrac-sh zmmailboxdmgr[32258]: status requested
    Jan 10 20:52:05 contrac-sh zmmailboxdmgr[32258]: status OK
    Jan 10 20:52:28 contrac-sh postfix/postfix-script[32683]: refreshing the Postfix mail system
    Jan 10 20:52:28 contrac-sh postfix/master[31933]: reload configuration /opt/zimbra/postfix-2.4.3.3z/conf
    Jan 10 20:52:28 contrac-sh postfix/master[31933]: warning: ignoring inet_protocols change
    Jan 10 20:52:28 contrac-sh postfix/master[31933]: warning: to change inet_protocols, stop and start Postfix
    Jan 10 20:52:28 contrac-sh postfix/master[31933]: warning: service smtp: ignoring inet_interfaces change
    Jan 10 20:52:28 contrac-sh postfix/master[31933]: warning: to change inet_interfaces, stop and start Postfix
    Jan 10 20:52:28 contrac-sh postfix/master[31933]: warning: service 465: ignoring inet_interfaces change
    Jan 10 20:52:28 contrac-sh postfix/master[31933]: warning: to change inet_interfaces, stop and start Postfix
    Jan 10 20:52:28 contrac-sh postfix/master[31933]: warning: service 127.0.0.1:10025: ignoring inet_interfaces change
    Jan 10 20:52:28 contrac-sh postfix/master[31933]: warning: to change inet_interfaces, stop and start Postfix
    Last edited by cyber_jack; 01-10-2008 at 04:54 PM.

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

    Default

    ok, i can´t change the "smtp_use_tls" to no!
    after postfix reload is it on yes!

    the "smtp_enforce_tls=no" is set in the master.cf

    and now????

    thx
    Last edited by cyber_jack; 01-10-2008 at 04:53 PM.

Similar Threads

  1. SMTP Relay
    By adarsh in forum Administrators
    Replies: 4
    Last Post: 11-11-2010, 04:36 AM
  2. server dropped connection
    By ferra in forum Installation
    Replies: 20
    Last Post: 10-06-2008, 05:32 PM
  3. SMTP authentication problems continue
    By EdMartin in forum Installation
    Replies: 2
    Last Post: 01-11-2008, 03:23 AM
  4. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 08:46 PM
  5. Open Relay Help & Telnet Security Issue
    By OfMacAndMen in forum Installation
    Replies: 17
    Last Post: 07-10-2007, 08:51 PM

Posting Permissions

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