LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-03-2012, 03:44 AM   #1
pottu
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)@company.com 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)@company.com) but not to outside addresses ((user)@anothercompany.com) 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, 05:21 AM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,382

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Yes, SMTP AUTH is what you need.

http://www.sendmail.org/~ca/email/auth.html will get you started.
 
Old 04-03-2012, 05:39 AM   #3
pottu
LQ Newbie
 
Registered: Apr 2012
Posts: 2

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


Reply


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 09:10 AM
Sendmail possible relay problem wylie1001 Linux - Security 2 09-03-2005 05:28 PM
sendmail relay problem davidsrsb Slackware 2 06-02-2005 11:39 PM
Sendmail relay problem ttricktt Linux - Networking 7 02-08-2005 07:08 PM
sendmail relay problem slack66 Linux - General 4 08-14-2003 10:50 PM


All times are GMT -5. The time now is 06:27 AM.

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