Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-03-2012, 02:44 AM   #1
LQ Newbie
Registered: Apr 2012
Posts: 2

Rep: Reputation: Disabled
sendmail relay problem

Hi all,

I have following situation:

my mailserver has
CentOS 5.2
sendmail 8.13.8

mail server contains mail accounts with, lets say (user) accounts. Everyone inside same network as mail server, can send mail to local accounts and external accounts.

However if user is using mail (outlook as client) from outside the network mail server, he/she can send mail to local users ((user) but not to outside addresses ((user) receiving relaying denied error.

I found out that this is quite safe situation against spammers, but it makes mailing difficult for people who cannot get into same network as server.

How could SMTP usage be authenticated and allowed by sender, who has mail account on my mail server (could it be username and password like used on receiving mail)?

I found out that IP addresses can be allowed to be relayed but the problem there is, that you never know beforehand from which ip the user is currently connecting from (home, friend's home, etc...). So this does not work. Also allowing list of recipents does not work here since mail should be allowed to send to any mail domain.

I assume some kind of secure connection (as in outlook it can be checked) is also needed when mail is coming from outside mail server's network. How can this be done?

Thank you for your time.
Old 04-03-2012, 04:21 AM   #2
Senior Member
Registered: Mar 2012
Posts: 1,487

Rep: Reputation: 390Reputation: 390Reputation: 390Reputation: 390
Yes, SMTP AUTH is what you need. will get you started.
Old 04-03-2012, 04:39 AM   #3
LQ Newbie
Registered: Apr 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you for directing me on right way.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail relay problem. shan_nathan Linux - Server 1 09-25-2010 08:10 AM
Sendmail possible relay problem wylie1001 Linux - Security 2 09-03-2005 04:28 PM
sendmail relay problem davidsrsb Slackware 2 06-02-2005 10:39 PM
Sendmail relay problem ttricktt Linux - Networking 7 02-08-2005 06:08 PM
sendmail relay problem slack66 Linux - General 4 08-14-2003 09:50 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration