Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Sendmail on a recently acquired Fedora 7 server is giving me trouble. When I attempt to send email from a remote client (e.g. Thunderbird from home), I get "Relaying denied. Proper authentication required."
If I add my IP address to relay-domains, it relays just fine. But of course, that means adding any given IP address I happen to want to send mail from (which isn't a viable solution).
I suspect this is a configuration issue with SMTP-AUTH, and I've done over an hour of googling in an attempt to fix this. But so far, nothing has worked.
Is there a kind-hearted sendmail guru willing to help me get to the bottom of this one? And if so, what do you need me to provide to get started on a solution?
Have you tried setting up a username and password in thunderbird for the "Outgoing Server" setting?
You need to be careful you don't create an open relay.
Yes, in Thunderbird the outgoing server has the "requires username and password" box checked, and I have supplied the necessary data. As stated, if I add my IP to relay-domains, it works just fine.
What I need is a solution that accepts email without requiring an IP in relay-domains. In other words, I need smtp-auth properly configured. I can't find any configuration issues, but I'm no expert in this area so could well (must) have missed something.
Last edited by 60s TV Batman; 11-16-2008 at 04:37 PM.
I'm no sendmail expert, but I suggest that you try sending as setu, and then have a look at what the logs are telling you. I'd assume that there is more that the message you are showing.
Perhaps try connecting vi telnet and initiate the whole process manually.
When I connect via telnet and send manually it works just fine. But of course, I'm localhost in that case, so there is no relaying my end.
I'm fairly certain (given what's working) that this has to have something to do with SMTP-AUTH, rather than anything else. Unfortunately, all the info I've been able to find so far is either too specific, or too generic (or perhaps beyond my current knowledge).
I'm sure I'll get there, and perhaps an SMTP-AUTH expert will drop with some time to kill :-)
Just looking at my sendmail.rc (CentOS starts with sendmail, even though I switch to postfix), and it would suggest that
1) You need saslauthd running - no surprise there
2) It won't by default, allow plaintext passwords unless you are operating over TLS.
I'd be making sure saslauthd is running and try it over TLS. Check that the basic certificates are in place.
SASLAUTHD is definitely running. Sending from Thunderbird (remote client) fails with TLS set (and without). I used make to build a sendmail.pem file, and this is referenced from sendmail.mc (all rebuilt and sendmail restarted).
Here's the level 12 log from my last send attempt, which might shed more light (IP/domain information replaced with ***)...
Nov 16 22:09:44 wad2 sendmail: NOQUEUE: connect from ***.dsl.***.co.uk [***]
Nov 16 22:09:44 wad2 sendmail: AUTH: available mech=ANONYMOUS, allowed mech=DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
Nov 16 22:09:44 wad2 sendmail: mAH39iWE012105: Milter: no active filter
Nov 16 22:09:44 wad2 sendmail: mAH39iWE012105: ruleset=check_rcpt, arg1=<***@***.com>, relay=***.dsl.***.co.uk [***], reject=550 5.7.1 <***@***.com>... Relaying denied. Proper authentication required.
Nov 16 22:09:45 wad2 sendmail: mAH39iWE012105: from=<***@***.com>, size=405, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=***.dsl.***.co.uk [***]
Last edited by 60s TV Batman; 11-16-2008 at 05:17 PM.