Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-16-2014, 08:07 AM   #1
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
Sendmail with roaming clients (non-open relay)

Hi all,

I'm currently building a mail solution.
The server is sendmail.
I configured the daemon and all is working well.
However the mail client gets an relaying denied error.
From what I see this is because the client is not in the domain (so the IP doesn't resolve to a name in the domain and this is not allowed to prevent an open relay and spamming the internet).
I tried with the access file however this does seem to fail because I can't predict what IP he's coming from.

What are the ways to allow this client to send mail with my smtp?
Do I have to use SASL or are there other ways of doing this?

Thanks in advance!
Old 02-16-2014, 12:17 PM   #2
Registered: May 2009
Location: Fort Langley BC
Distribution: Kubuntu,Free BSD,OSX,Windows
Posts: 342

Rep: Reputation: 59
I host a small email server, and most of the clients that roam stay within a certain geographic area. The method I use is simply to put the roaming clients ip and hostname in the /etc/host file. Watching the logs, I have most of the remote IP's that they use inputted and the errors have stopped. But you have to watch your logs - which I do anyways as a 'best practice' habit.

This also is a great way to take care of ip's where the reverse lookup does not match.

Last edited by ceyx; 02-16-2014 at 12:22 PM. Reason: add last line


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
[SOLVED] How to connect Internal Sendmail Server for Roaming Outlook Clients mail4vijay Linux - General 10 11-12-2009 05:56 PM
Sendmail Open Relay sulman Linux - Newbie 1 04-10-2009 11:05 AM
Sendmail Open Relay eman45008 Linux - Server 6 09-02-2007 02:28 PM
How can I tell if my sendmail is an open relay.. Bjorkli Linux - Networking 1 05-28-2004 04:35 AM
sendmail 8.9 open relay subhasis_ray Linux - Software 1 05-27-2003 07:40 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:49 AM.

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