Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st March 2007, 19:01
wonka wonka is offline
Junior Member
 
Join Date: Feb 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Question regarding sendmail AUTH / Relaying denied

Hi,

Im using ISPConfig 2.2.10 with Centos 4.4 and sendmail 8.13.1. Ive been trying to configure SMTP auth so any user that would like to use the server for sending mails anywhere should authenticate first with its POP3 login.

Ive followed the tutorials, and the suggestions from the forum, but Im stuck where the user can only send mail to local accounts and when trying to send to another domain (i.e. gmail, hotmail) it gets the following error:

reject=550 5.7.1 <user@gmail.com>... Relaying denied, IP name lookup failed [192.168.1.50]

Of course if I add

192.168.1.50 RELAY

to /etc/mail/access, i get no message and then the user can send. But my question is, isn't the SMTP auth option precisely a way to avoid entering each IP address to the /etc/mail/access file so any user can send mails as long as the user authenticates? Or is it that even if I define SMTP auth I should include in /etc/mail/access all the IPs from the users that are going to use the server?

By the way, when I do:

testsaslauthd -u web1_user -p password

I get "OK Success" so it seems the SASL config is working. And also, if I do

telnet localhost 25
EHLO localhost

I can see 250 AUTH LOGIN PLAIN, so it seems the config is also in place.

Thank you and regards,

Edo
Reply With Quote
Sponsored Links
  #2  
Old 1st March 2007, 20:16
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 265
Thanked 151 Times in 131 Posts
Default

Did you enable "My outgoing server (SMTP) requites authentication" in your email client?
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
  #3  
Old 1st March 2007, 20:53
wonka wonka is offline
Junior Member
 
Join Date: Feb 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, I enabled that option at the e-mail client.
Reply With Quote
  #4  
Old 2nd March 2007, 13:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by wonka
reject=550 5.7.1 <user@gmail.com>... Relaying denied, IP name lookup failed [192.168.1.50]
The problem is that your mail server "sends" his local IP address instead of your router's public IP address.
What's in /etc/postfix/main.cf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 2nd March 2007, 18:04
wonka wonka is offline
Junior Member
 
Join Date: Feb 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The mail server is using a public IP address. The IP that the log shows is the address of the PC where the email is sent using the mail server. If I use a public IP address on the PC, I get the same error, but with different IP:

reject=550 5.7.1 <user@gmail.com>... Relaying denied, IP name lookup failed [public_ip_of_PC_that_sends_the_email]
Reply With Quote
  #6  
Old 3rd March 2007, 15:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Is your public IP blacklisted? http://www.mxtoolbox.com/blacklists.aspx
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36
smtp auth with sendmail Toney Installation/Configuration 1 5th September 2006 18:32
sendmail config question westb Server Operation 1 1st September 2006 17:00
Sendmail SMTP Auth and cyrus-sasl-2.1.17 glitch dan28088 HOWTO-Related Questions 3 6th August 2006 19:03
Questions in regards to ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" rbrantley HOWTO-Related Questions 16 10th April 2006 18:26


All times are GMT +2. The time now is 12:27.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.