Smtp relay problem

Reply

Join Date: Dec 2006
Posts: 249
Reputation: vikonava is an unknown quantity at this point 
Solved Threads: 4
vikonava's Avatar
vikonava vikonava is offline Offline
Posting Whiz in Training

Smtp relay problem

 
0
  #1
Apr 14th, 2008
I installed postfix + dovecot + sasl and so... this is the problem:

I try to send mail from telnet using AUTH LOGIN and it works perfectly sending to gmail and hotmail, then i configure outlook to work with the same account and it bounces back a message telling me im not allow to send mails that looks like this:

<xxxxxxxx@gmail.com>: host gmail-smtp-in.l.google.com[72.14.247.27] said:
550-5.7.1 [XXX.XXX.XXX.XXX] The IP you're using to send mail is not
authorized 550-5.7.1 to send email directly to our servers. Please use the
SMTP 550-5.7.1 relay at your service provider instead. Learn more at
550 5.7.1 http://mail.google.com/support/bin/a...y?answer=10336
1si8196120agb.8 (in reply to end of DATA command)


I think i need to choose and option on outlook or configure someway that everytime i want to send a message it do something like AUTH LOGIN on telnet....
how can i solve that? thanks in advance
VikosHosting.com - Free Website Hosting and Cheap Prices For Starting Business.
TheTechNews.info - Information, newsflash and articles related to technology global.
VikoBlog.com - Completely free Photo/Video Blogs That Can be shared to meet people.
GuruPC.info - Free programming languages tutorials.
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 249
Reputation: vikonava is an unknown quantity at this point 
Solved Threads: 4
vikonava's Avatar
vikonava vikonava is offline Offline
Posting Whiz in Training

Re: Smtp relay problem

 
0
  #2
Apr 14th, 2008
sorry i meant to say ive installed courier postfix.... followed the guidelines from here

http://howtoforge.com/perfect_setup_ubuntu_6.06_p5

All help will be appreciated
VikosHosting.com - Free Website Hosting and Cheap Prices For Starting Business.
TheTechNews.info - Information, newsflash and articles related to technology global.
VikoBlog.com - Completely free Photo/Video Blogs That Can be shared to meet people.
GuruPC.info - Free programming languages tutorials.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 399
Reputation: eggi will become famous soon enough eggi will become famous soon enough 
Solved Threads: 47
eggi eggi is offline Offline
Posting Whiz

Re: Smtp relay problem

 
0
  #3
Apr 14th, 2008
Hey There,

Two things you can try.

Can you make sure these entries, and file, exist - or add them if they don't:

echo 'pwcheck_method: saslauthd' > /etc/postfix/sasl/smtpd.conf
echo 'mech_list: plain login' >> /etc/postfix/sasl/smtpd.conf

You need to run the commands as root, I think, or they won't work.

Let me know if that helps.

Best wishes,

Mike
Linux and Unix Tips, Tricks and Individual Advice - The Linux and Unix Menagerie!
------------------------------------------------------------------------
The greatest viral marketing idea of all time, get your copy of this Free Report now!
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 249
Reputation: vikonava is an unknown quantity at this point 
Solved Threads: 4
vikonava's Avatar
vikonava vikonava is offline Offline
Posting Whiz in Training

Re: Smtp relay problem

 
0
  #4
Apr 15th, 2008
yup ive already had those entries and it still doesnt work... i checked again i have those entries and they are correctly ... thats strange cause i telnet and do auth login and the smtp server works
Last edited by vikonava; Apr 15th, 2008 at 12:21 am.
VikosHosting.com - Free Website Hosting and Cheap Prices For Starting Business.
TheTechNews.info - Information, newsflash and articles related to technology global.
VikoBlog.com - Completely free Photo/Video Blogs That Can be shared to meet people.
GuruPC.info - Free programming languages tutorials.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 399
Reputation: eggi will become famous soon enough eggi will become famous soon enough 
Solved Threads: 47
eggi eggi is offline Offline
Posting Whiz

Re: Smtp relay problem

 
0
  #5
Apr 15th, 2008
Hmmm...

If you do

telnet localhost 25
ehlo localhost

do you have this line in your output (and could you post that)?

250-STARTTLS

I would have thought it was Outlook authentication setting, but if you can go direct to the IP, I'm wondering if it's a TLS handshake problem.

, Mike
Linux and Unix Tips, Tricks and Individual Advice - The Linux and Unix Menagerie!
------------------------------------------------------------------------
The greatest viral marketing idea of all time, get your copy of this Free Report now!
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 249
Reputation: vikonava is an unknown quantity at this point 
Solved Threads: 4
vikonava's Avatar
vikonava vikonava is offline Offline
Posting Whiz in Training

Re: Smtp relay problem

 
0
  #6
Apr 15th, 2008
yes mike, thank you... this is the full output of ehlo command:


250-vikonava.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
VikosHosting.com - Free Website Hosting and Cheap Prices For Starting Business.
TheTechNews.info - Information, newsflash and articles related to technology global.
VikoBlog.com - Completely free Photo/Video Blogs That Can be shared to meet people.
GuruPC.info - Free programming languages tutorials.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 399
Reputation: eggi will become famous soon enough eggi will become famous soon enough 
Solved Threads: 47
eggi eggi is offline Offline
Posting Whiz

Re: Smtp relay problem

 
0
  #7
Apr 15th, 2008
Man,

I'm at a loss, unless it's with Outlook. Is it set to have the outbound server use authentication and SSL (port 465)? Also, set it so that it doesn't hide the transmission details, like it does by default. I'm not sure how to do that off the top of my head and we use Lotus at work


Also, if that isn't the issue, could you post your main.cf?

Thanks

, Mike
Linux and Unix Tips, Tricks and Individual Advice - The Linux and Unix Menagerie!
------------------------------------------------------------------------
The greatest viral marketing idea of all time, get your copy of this Free Report now!
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 249
Reputation: vikonava is an unknown quantity at this point 
Solved Threads: 4
vikonava's Avatar
vikonava vikonava is offline Offline
Posting Whiz in Training

Re: Smtp relay problem

 
0
  #8
Apr 15th, 2008
im gonna send u details on PM see if you can get to help me
VikosHosting.com - Free Website Hosting and Cheap Prices For Starting Business.
TheTechNews.info - Information, newsflash and articles related to technology global.
VikoBlog.com - Completely free Photo/Video Blogs That Can be shared to meet people.
GuruPC.info - Free programming languages tutorials.
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 249
Reputation: vikonava is an unknown quantity at this point 
Solved Threads: 4
vikonava's Avatar
vikonava vikonava is offline Offline
Posting Whiz in Training

Re: Smtp relay problem

 
0
  #9
Apr 16th, 2008
aparently im getting this...

unable to load Private Key
14674:error:0906D06CEM routinesEM_read_bio:no start line:pem_lib.c:644:Expecting: ANY PRIVATE KEY
VikosHosting.com - Free Website Hosting and Cheap Prices For Starting Business.
TheTechNews.info - Information, newsflash and articles related to technology global.
VikoBlog.com - Completely free Photo/Video Blogs That Can be shared to meet people.
GuruPC.info - Free programming languages tutorials.
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 249
Reputation: vikonava is an unknown quantity at this point 
Solved Threads: 4
vikonava's Avatar
vikonava vikonava is offline Offline
Posting Whiz in Training

Re: Smtp relay problem

 
0
  #10
Apr 16th, 2008
looks like solved what i did was just changing the line that said cacert.pem to the created one smtp.key on the tutorial for Ubuntu Dapper Perfect Installation, thanks to Mike that solved this
VikosHosting.com - Free Website Hosting and Cheap Prices For Starting Business.
TheTechNews.info - Information, newsflash and articles related to technology global.
VikoBlog.com - Completely free Photo/Video Blogs That Can be shared to meet people.
GuruPC.info - Free programming languages tutorials.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the *nix Software Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC