Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-30-2008, 02:07 AM
Junior Member
 
Posts: 8
Unhappy [SOLVED] 5.1.1 Recipient address rejected

Hi everybody!

If I try to send a mail to an external account which definitely exists, I get the error mentioned in the title. The strange thing is, that this only happens, if I try to send this mail from my zimbra account. If I send it from a gmx account for example, it works pretty well.

What could be the reason for that? I didn't change anything of the configuration on zimbra, but since yesterday clients start complaining about it.

Some weeks ago I followed the "Improving Anti-spam system" thread of the wiki and made the following restrictions:

Code:
zimbra@mail-new:/root> zmprov gacf | grep zimbraMtaRestriction
zimbraMtaRestriction: reject_invalid_hostname
zimbraMtaRestriction: reject_non_fqdn_hostname
zimbraMtaRestriction: reject_non_fqdn_sender
Further, I enabled smtpd_reject_unlisted_recipients in zmmta.cf, but this is just for incoming mails, right?

Maybe you need to know my main.cf as well:

Code:
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 = mail-new.domain.com
virtual_mailbox_domains = ldap:/opt/zimbra/conf/ldap-vmd.cf
mydestination = localhost
mailbox_size_limit = 0
setgid_group = postdrop
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.4z/sbin/sendmail
message_size_limit = 10240000
broken_sasl_auth_clients = yes
alias_maps = hash:/etc/aliases
manpage_directory = /opt/zimbra/postfix-2.4.3.4z/man
smtpd_helo_required = yes
in_flow_delay = 1s
daemon_directory = /opt/zimbra/postfix-2.4.3.4z/libexec
virtual_transport = error
mynetworks = 127.0.0.0/8 196.7.100.0/24
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_invalid_hostname, reject_non_fqdn_hostname, reject_non_fqdn_se
nder, permit
smtpd_tls_loglevel = 3
relayhost =
disable_dns_lookups = no
content_filter = smtp-amavis:[127.0.0.1]:10024
virtual_mailbox_maps = ldap:/opt/zimbra/conf/ldap-vmm.cf
mail_owner = postfix
version = 2.4.3.4z
mailq_path = /opt/zimbra/postfix-2.4.3.4z/sbin/mailq
header_checks = pcre:/opt/zimbra/conf/postfix_header_checks
smtpd_use_tls = yes
queue_directory = /opt/zimbra/data/postfix/spool
newaliases_path = /opt/zimbra/postfix-2.4.3.4z/sbin/newaliases
smtpd_reject_unlisted_recipient = yes
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_tls_key_file = /opt/zimbra/conf/smtpd.key
command_directory = /opt/zimbra/postfix-2.4.3.4z/sbin
smtpd_sasl_auth_enable = yes
If you have any idea why this error occurs, please let me know! Thank you!

Cheers,
Stefan
Reply With Quote
  #2 (permalink)  
Old 05-30-2008, 07:22 AM
Moderator
 
Posts: 7,928
Default

Please post a extract from /var/log/zimbra.log for when this happens. Need to see the exact details of why it is being rejected.
__________________
Reply With Quote
  #3 (permalink)  
Old 05-30-2008, 07:45 AM
Junior Member
 
Posts: 8
Default

Thanks for your reply!

In /var/log/zimbra.log nothing really special happens. This is all I get when I try to send that mail:

Code:
May 30 16:44:20 mail-new saslauthd[11993]:
auth_zimbra: stefan.asanger@ourcompany.co.za auth OK
I found more details in /var/log/mail.info:

Code:
May 30 16:08:50 mail-new postfix/smtpd[20897]:
NOQUEUE: reject: RCPT from unknown[196.7.*.*]: 550 5.1.1
<dietmar@domain.co.za>: Recipient address rejected: domain.co.za;
from=<stefan.asanger@ourcompany.co.za> to=<dietmar@domain.co.za>
proto=ESMTP helo=<[196.7.*.*]>
Does that help you?
Reply With Quote
  #4 (permalink)  
Old 03-28-2010, 08:12 PM
Junior Member
 
Posts: 8
Default

I am experiencing the same errors. Why is this thread marked "solved"? I see no solution.
Reply With Quote
  #5 (permalink)  
Old 03-29-2010, 04:26 AM
Outstanding Member
 
Posts: 594
Default

disable smtpd_reject_unlisted_recipients. The rejection is because of this.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.