View Single Post
  #1 (permalink)  
Old 06-26-2006, 03:07 AM
czaveri czaveri is offline
Zimbra-Yahoo Consultant
 
Posts: 294
Default Problems sending email using any email client for some domain

Server has:
P4-2.8 / 1 GB RAM (mostly unused) / CentOS 4.3 / Zimbra Open Source 3.1.3

Total domains: 4
sub.domain1.com, domain1.com, domain2.com, domain3.com

cat /etc/hosts:
127.0.0.1 localhost.localdomain localhost
72.21.35.126 sub.domain1.com sub

Problem:
I can't send emails from user@domain2.com using Microsoft Outlook.

Error: Server Response 554 - Relay Access Denied

cat /var/log/zimbra.log | grep postfix | grep domain2 yields an error of the following form:

Jun 26 12:44:00 226 postfix/smtpd[7346]: NOQUEUE: reject: RCPT from unknown[59.95.194.29]: 554 <therecipient@recipientsdomain.com>: Relay access denied; from=<user@domain2.com> to=<therecipient@recipientsdomain.com> proto=ESMTP helo=<bzaveri>

59.95.194.29 is my IP.
therecipient@recipientsdomain.com is the Recipient to whom mail is to be sent

I also did the following:

[zimbra@sub ~]$ postconf smtpd_recipient_restrictions
smtpd_recipient_restrictions = reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_invalid_hostname, reject_non_fqdn_sender, reject_unauth_destination, permit
[zimbra@sub ~]$ cat /opt/zimbra/cyrus-sasl/etc/saslauthd.conf.in
zimbra_url: %%zimbraMtaAuthURL%%
zimbra_cert_file: /opt/zimbra/conf/smtpd.crt
zimbra_cert_check: off
[zimbra@sub ~]$ cat /opt/zimbra/cyrus-sasl/etc/saslauthd.conf
zimbra_url: https://sub.domain1.com:6443/service/soap/
zimbra_cert_file: /opt/zimbra/conf/smtpd.crt
zimbra_cert_check: off

Notes:

1. SMTP Authentication is enabled
2. This server requires a secure connection checked on the advanced tab for incoming mail server
3. This server requires a secure connection NOT checked on the advanced tab for outgoing mail server (if I check this, I get another error).
4. Another thing is that everytime I try to retrieve emails I get the SSL prompt asking me if I want to proceed. This is a fresh install but on other systems where I installed Zimbra, it only asks the first time I try to connect, not everytime.

Help :-)

Sincerely,

Chintan Zaveri.
__________________
Regards,

Chintan Zaveri
(Yet another ZIMBRAN!)

"Dhundhne par Bhagwan bhi ..."

Last edited by czaveri : 06-28-2006 at 01:10 AM. Reason: changed the Title
Reply With Quote