[Ilugc] SMTP Relay

  • From: vpadarsh@xxxxxxxxx (~adarsh~)
  • Date: Sun May 14 13:40:12 2006

hi all,
I am using a zimbra mail server locally.when i am trying to relay the
mails through an exim mail server (ISP) its is not allowing me to
relay through eventhough i am trying it with authorised username and
password.
Logs from the exim server says that

006-05-14 11:43:31 H=de2-b1225.alshamil.net.ae
(testserver2.mydomain.net) [83.112.214.22] F=<adarsh@xxxxxxxxxxxx>
rejected RCPT <vpadarsh@xxxxxxxxx>: de2-b1225.alshamil.net.ae
(testserver2.mydomain.net) [83.112.214.22] is currently not permitted
to relay through this server. Perhaps you have not logged into the
pop/imap server in the last 30 minutes or do not have SMTP
Authentication turned on in your email client.

i am able to send mail out when i am not using the relayhost entry.

i have the zimbra postfix entries as
content_filter = smtp-amavis:[127.0.0.1]:10024
myhostname = testserver2.mydomain.net
recipient_delimiter =
smtpd_sasl_auth_enable = yes
smtpd_tls_auth_only = yes
smtpd_use_tls = yes
disable_dns_lookups = yes
message_size_limit = 10240000
relayhost = mail.testdomainforme.net
smtpd_recipient_restrictions = reject_non_fqdn_recipient,
permit_sasl_authenticated, permit_mynetworks, reject_invalid_hostname,
reject_unknown_sender_domain, reject_unauth_destination, permit
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /opt/zimbra/postfix-2.2.9/sbin
daemon_directory = /opt/zimbra/postfix-2.2.9/libexec
header_checks = pcre:/opt/zimbra/conf/postfix_header_checks
mailq_path = /opt/zimbra/postfix-2.2.9/sbin/mailq
manpage_directory = /opt/zimbra/postfix-2.2.9/man
newaliases_path = /opt/zimbra/postfix-2.2.9/sbin/newaliases
queue_directory = /opt/zimbra/postfix-2.2.9/spool
sender_canonical_maps = ldap:/opt/zimbra/conf/ldap-scm.cf
sendmail_path = /opt/zimbra/postfix-2.2.9/sbin/sendmail
smtpd_client_restrictions = reject_unauth_pipelining
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_helo_required = yes
smtpd_tls_cert_file = /opt/zimbra/conf/smtpd.crt
smtpd_tls_key_file = /opt/zimbra/conf/smtpd.key
smtpd_tls_loglevel = 3
transport_maps = ldap:/opt/zimbra/conf/ldap-transport.cf
version = 2.2.9
virtual_alias_domains = ldap://opt/zimbra/conf/ldap-vad.cf
virtual_alias_maps = ldap:/opt/zimbra/conf/ldap-vam.cf
virtual_mailbox_domains = ldap:/opt/zimbra/conf/ldap-vmd.cf
virtual_mailbox_maps = ldap:/opt/zimbra/conf/ldap-vmm.cf
virtual_transport = error
smtp_sasl_security_options =
smtp_sasl_password_maps = hash:/opt/zimbra/conf/relay_password

can anybody help me solve this problem(for me)

Thanks &Regards

Adarsh

Other related posts: