niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Postfix
Postfix SMTP client issues
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
damber
*nix forums beginner


Joined: 19 Apr 2008
Posts: 2

PostPosted: Sat Apr 19, 2008 11:49 am    Post subject: Reply with quote

I've just tried changing to standard HELO/SMTP rather than the default extended command set and it does separate out the commands individually - but the problem still occured Sad

I then decided to change the IP address the smtp out binds.... and yup.. godaddy sucks big time. it only allows 1 of the 3 ips to actually send mail..... and none of their staff seems to know this, as I asked this question (amongst many others) and got the usual "it should work - your server is at fault".

ah well... Smile
Back to top
damber
*nix forums beginner


Joined: 19 Apr 2008
Posts: 2

PostPosted: Sat Apr 19, 2008 11:33 am    Post subject: Postfix SMTP client issues
Subject description: relaying through smarthost fails due to postfix commands (manual telnet works)
Reply with quote

I'm trying to get postfix setup and working on a dedicated server within godaddy's network, which must relay through their smarthost/smtp relay server.

Unfortunately I keep getting "553 Sorry, that domain isn't in my list of allowed rcpthosts. (in reply to RCPT TO command))"

So, I tested that the server could actually send mail through this relay server using "telnet k2smtpout.secureserver.net 25" (godaddy's smtp gateway), and it worked fine.

I checked that all the DNS records were ok (with correct MX records etc) in case that was being validated etc, I also checked that the same IP was used in the manual connection as the postfix connection.. both ok.

To check what was being 'said' during the event I did a tcpdump of the session and compared the postfix session and the telnet session outputs.

This resulted in my seeing that THE EXACT SAME COMMANDS are issued (from ehlo hostname to MAIL FROM, RCPT TO, DATA etc) from both sessions... so, the same DNS records, the same hostname, the same source/target emails, the same commands etc were all being used.. but one works, and the other doesn't.

The ONLY difference I can see from the packet trace is that the automated session sends the MAIL FROM, RCPT TO and DATA commands in a single packet separated with crlf's (0d 0a), whereas the manual session sends the packets individually (as you would expect as each crlf in the telnet client issues a packet).

I am running CentOS 5 with Postfix v2.3.3. Godaddy's smtp server (I think) runs qmail, and doesn't require SMTP auth (I assume it uses the IP / network of the server, seeing as it's dedicated and hosted by them, they can trust it to some degree.

As this is the only difference between the packets, I can only assume this is the issue... so a) am I right about that, or do you have any other ideas how/why this bizarre behaviour might occur and b) how do I resolve this problem? Can I force postfix to send the commands individually rather than in a single packet? or is there some configuration flag to fix this type of scenario ?

if you want to know a particular part of the postconf output or other trace/config info let me know (not included for brevity).

Thanks for any help you can give.


Last edited by damber on Sat Apr 19, 2008 11:51 am; edited 1 time in total
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Thu Dec 04, 2008 8:14 am | All times are GMT
navigation Forum index » Apps » Postfix
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Postfix - Do not generate bounce messages in some cases. LaGatorVII Postfix 0 Wed Nov 26, 2008 2:56 pm
No new posts Postfix fatal authentication errors! JamesMaxwell Postfix 0 Tue Oct 28, 2008 3:37 pm
No new posts Postfix relay to specific domain and to everybody else golgotha Postfix 0 Thu Oct 23, 2008 11:11 pm
No new posts Postfix + Altermime on FC6 Not working simjith Setup 0 Sat Oct 11, 2008 3:06 pm
No new posts postfix smtp authentication using mysql stored user/pass rtresidd Postfix 0 Fri Oct 03, 2008 5:58 am

MPAA | Personal Finance | Get mysqli last insert id | skincare-istore.com | Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1626s ][ Queries: 20 (0.0923s) ][ GZIP on - Debug on ]