?
Solved

Permit personal workstation to relay mail with sendmail

Posted on 2014-07-21
5
Medium Priority
?
67 Views
Last Modified: 2015-05-26
I am self-hosting my domain email on Linux using sendmail. I want my laptop to be able to use this email server as the smtp/pop server, including being able to cc: to other recipients.

I've set up the Outlook outgoing server to require authentication and I've put my Linux ID and password in the "Log on using" section. This permits mail send from my laptop to be delivered to my Linux account, but anyone I cc on some other domain gets reject with "relaying denied".

How do I fix this?
0
Comment
Question by:jmarkfoley
  • 3
  • 2
5 Comments
 
LVL 29

Expert Comment

by:Jan Springer
ID: 40209539
modify /etc/mail/access and add your internal subnet:

i.e.,
  Connect:192.168.1                  RELAY

when done:

  makemap hash access < access
0
 
LVL 1

Author Comment

by:jmarkfoley
ID: 40211977
Hmmm, is there nothing else to filter on? The Outlook client is a laptop which can travel and may get different IPs.
0
 
LVL 29

Accepted Solution

by:
Jan Springer earned 1500 total points
ID: 40211984
then you need to configure SMTP AUTH by creating a self-signed certificate, installing sasld and modifying the sendmail.mc to reflect the changes.
0
 
LVL 1

Author Comment

by:jmarkfoley
ID: 40222221
Well, I guess I need some help setting this up. I've created a certificate using CAcert.org, which I've used successfully before. And I've configured sendmail as I've done before. According to checktls.com, I'm OK.
However, My Android mail program says
Username or password incorrect.
(535 5.7.0 authentication failed)

Open in new window



I've run `saslauthd -a shadow` and the user is in the /etc/shadow file. I've re-enter the userid and password multiple times. I'm *sure* it is correct.

Any idea how to fix this?
0
 
LVL 1

Author Closing Comment

by:jmarkfoley
ID: 40797704
I figured out all of Jan's "things I need to do" on my own.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article outlines some of the reasons why an email message gets flagged as spam on a recipient's end.
Microsoft Jet database engine errors can crop up out of nowhere to disrupt the working of the Exchange server. Decoding why a particular error occurs goes a long way in determining the right solution for it.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to moveā€¦
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month9 days, 16 hours left to enroll

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question