Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
10-20-2006, 05:15 AM
#1
Member
Registered: Sep 2003
Location: San Diego, CA
Distribution: Fedora 8 and CentOS 5.1
Posts: 31
Rep:
Sendmail Proper Authentication Required
I have set up sendmail with sasl authentication. Everything seemed fine but when I attempt to send emails I'm getting "Relaying denied. Proper authentication required". I can appreciate that, however, this log shows that I am correctly authenticating:
Quote:
02557 >>> 220 ... ESMTP Sendmail 8.13.7/8.13.7; Fri, 20 Oct 2006 11:13:49 +0100
02557 <<< EHLO ...
02557 >>> 250-... Hello ... [...], pleased to meet you
02557 >>> 250-ENHANCEDSTATUSCODES
02557 >>> 250-PIPELINING
02557 >>> 250-8BITMIME
02557 >>> 250-SIZE
02557 >>> 250-DSN
02557 >>> 250-ETRN
02557 >>> 250-STARTTLS
02557 >>> 250-DELIVERBY
02557 >>> 250 HELP
02557 <<< STARTTLS
02557 >>> 220 2.0.0 Ready to start TLS
02557 <<< EHLO ...
02557 >>> 250-... Hello ... [...], pleased to meet you
02557 >>> 250-ENHANCEDSTATUSCODES
02557 >>> 250-PIPELINING
02557 >>> 250-8BITMIME
02557 >>> 250-SIZE
02557 >>> 250-DSN
02557 >>> 250-ETRN
02557 >>> 250-AUTH LOGIN PLAIN
02557 >>> 250-DELIVERBY
02557 >>> 250 HELP
02557 <<< AUTH PLAIN ...
02557 >>> 235 2.0.0 OK Authenticated
02557 <<< MAIL FROM:<...> SIZE=323
02557 >>> 250 2.1.0 <...>... Sender ok
02557 <<< RCPT TO:<...>
02557 >>> 550 5.7.1 <...>... Relaying denied. Proper authentication required.
I've been stuck on this for a while. I've searched Google for hours but I've turned up nothing relevant.
Thanks
10-22-2006, 08:03 AM
#2
Member
Registered: Sep 2003
Location: San Diego, CA
Distribution: Fedora 8 and CentOS 5.1
Posts: 31
Original Poster
Rep:
Hmm nothing yet and I'm still stuck. Is this in the wrong place?
I'm using the sendmail that came with Fedora. Perhaps it's a bug and I should uninstall it and compile it from source?
10-23-2006, 01:35 AM
#3
Member
Registered: Sep 2003
Location: San Diego, CA
Distribution: Fedora 8 and CentOS 5.1
Posts: 31
Original Poster
Rep:
This is my sendmail.mc
Quote:
divert(-1)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for linux')dnl
OSTYPE(`linux')dnl
define(`confDEF_USER_ID',``8:12'')dnl
define(`confTO_CONNECT', `1m')dnl
define(`confTRY_NULL_MX_LIST',true)dnl
define(`confDONT_PROBE_INTERFACES',true)dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
define(`ALIAS_FILE', `/etc/aliases')dnl
define(`STATUS_FILE', `/var/log/mail/statistics')dnl
define(`UUCP_MAILER_MAX', `2000000')dnl
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
define(`confAUTH_OPTIONS', `A p y')dnl
TRUST_AUTH_MECH('GSSAPI DIGEST-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl
define(`confCACERT_PATH',`/etc/pki/tls/certs')dnl
define(`confCACERT',`/etc/pki/tls/certs/ca-bundle.crt')dnl
define(`confSERVER_CERT',`/etc/pki/tls/certs/sendmail.pem')dnl
define(`confSERVER_KEY',`/etc/pki/tls/certs/sendmail.pem')dnl
define(`confTO_IDENT', `0')dnl
FEATURE(`no_default_msa',`dnl')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
FEATURE(`blacklist_recipients')dnl
EXPOSED_USER(`root')dnl
FEATURE(`accept_unresolvable_domains')dnl
dnl FEATURE(`relay_based_on_MX')dnl
LOCAL_DOMAIN(`localhost.localdomain')dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
dnl MAILER(cyrusv2)dnl
11-05-2006, 07:59 AM
#4
Member
Registered: Sep 2003
Location: San Diego, CA
Distribution: Fedora 8 and CentOS 5.1
Posts: 31
Original Poster
Rep:
I have not yet been able to solve this. Can anyone help?
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 05:57 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News