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 02-23-2011, 06:44 AM
Intermediate Member
 
Posts: 20
Default [SOLVED] Relay access denied

Hi All,

Had someone complain they cannot send email from their iPhone. Each time I test it out - it works. I checked the mail server logs and here are the logs for a failed and a succesful mail send from the iPhone.

Code:
FAIL
	Feb 22 16:08:37 svr01 postfix/smtpd[12894]: connect from unknown[82.132.139.18]
	Feb 22 16:08:37 svr01 postfix/smtpd[12894]: setting up TLS connection from unknown[82.132.139.18]
	Feb 22 16:08:38 svr01 postfix/smtpd[12894]: Anonymous TLS connection established from unknown[82.132.139.18]: TLSv1 with cipher AES128-SHA (128/128 bits)
	Feb 22 16:08:38 svr01 postfix/smtpd[12894]: NOQUEUE: reject: RCPT from unknown[82.132.139.18]: 554 5.7.1 <anotheruser@anothercompany.com>: Relay access denied; from=<user@companyname.com> to=<anotheruser@anothercompany.com> proto=ESMTP helo=<[10.25.154.5]>
	Feb 22 16:08:39 svr01 postfix/smtpd[12894]: disconnect from unknown[82.132.139.18]


SUCCESS
	Feb 22 16:27:28 svr01 postfix/smtpd[3316]: connect from unknown[82.132.248.36]
	Feb 22 16:27:29 svr01 postfix/smtpd[3316]: setting up TLS connection from unknown[82.132.248.36]
	Feb 22 16:27:30 svr01 postfix/smtpd[3316]: Anonymous TLS connection established from unknown[82.132.248.36]: TLSv1 with cipher AES128-SHA (128/128 bits)
	Feb 22 16:27:30 svr01 postfix/smtpd[3316]: B40938F4100: client=unknown[82.132.248.36]
	Feb 22 16:27:34 svr01 amavis[26797]: (26797-02) Checking: JLZuke8139HO [82.132.248.36] <user@companyname.com> -> <yetanotheruser@companyname.com>
	Feb 22 16:27:38 svr01 amavis[26797]: (26797-02) Passed CLEAN, [82.132.248.36] [82.132.248.36] <user@companyname.com> -> <yetanotheruser@companyname.com>, Message-ID: <65656EEE-49D1-4947-8709-9333CAAF19F4@companyname.com>, mail_id: JLZuke8139HO, Hits: 2.23, size: 3652, queued_as: B64048F4139, 4825 ms
	Feb 22 16:28:35 svr01 postfix/smtpd[3316]: disconnect from unknown[82.132.248.36]
I just realised this is a rubbish test - as the SUCCESS is to a local user, where as the FAIL is to a remote user. Will re-test and update,
Reply With Quote
  #2 (permalink)  
Old 02-23-2011, 07:41 AM
Intermediate Member
 
Posts: 20
Default

So. It failed when we tested it to an external email. I understand that having relay access denied is sensible, but shouldn't the clients be authenticating alongside SMTP - to allow relaying for authorized users?
Reply With Quote
  #3 (permalink)  
Old 02-23-2011, 07:46 AM
Moderator
 
Posts: 7,928
Default

What port are they trying to send through ? Are they using 25 or 587 ?
__________________
Reply With Quote
  #4 (permalink)  
Old 02-23-2011, 07:57 AM
Intermediate Member
 
Posts: 20
Default

Hi uxbod, its using port 25.

I have another iPhone which is working with a seemingly identical configuration!
Reply With Quote
  #5 (permalink)  
Old 02-23-2011, 08:02 AM
Intermediate Member
 
Posts: 20
Default

After reading the logs it seems one of the phones manages SASL, and one does not.
Reply With Quote
  #6 (permalink)  
Old 02-23-2011, 08:34 AM
Intermediate Member
 
Posts: 20
Default

Updated the iOS version and it works now.. peculiar. might have been fixed by re-creating the profile too. Or me going over the config better


Ta
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.