LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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

Reply
 
Search this Thread
Old 10-20-2006, 06:15 AM   #1
TomGibbons
Member
 
Registered: Sep 2003
Location: San Diego, CA
Distribution: Fedora 8 and CentOS 5.1
Posts: 31

Rep: Reputation: 15
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
 
Old 10-22-2006, 09:03 AM   #2
TomGibbons
Member
 
Registered: Sep 2003
Location: San Diego, CA
Distribution: Fedora 8 and CentOS 5.1
Posts: 31

Original Poster
Rep: Reputation: 15
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?
 
Old 10-23-2006, 02:35 AM   #3
TomGibbons
Member
 
Registered: Sep 2003
Location: San Diego, CA
Distribution: Fedora 8 and CentOS 5.1
Posts: 31

Original Poster
Rep: Reputation: 15
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
 
Old 11-05-2006, 08:59 AM   #4
TomGibbons
Member
 
Registered: Sep 2003
Location: San Diego, CA
Distribution: Fedora 8 and CentOS 5.1
Posts: 31

Original Poster
Rep: Reputation: 15
I have not yet been able to solve this. Can anyone help?
 
  


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
407 Proxy Authentication Required cucolin@ Linux - Networking 3 09-12-2006 09:54 AM
required Wireless Authentication issinho Linux - Security 2 07-16-2006 04:32 PM
SQUID Authentication help required killerbrain Linux - Software 0 06-23-2006 08:13 PM
Authentication required connecting FTP eaglemc10s Linux - Newbie 2 08-04-2004 10:36 AM
authentication required on smtp on LAN only. ashfaq Linux - Software 0 02-25-2004 11:54 PM


All times are GMT -5. The time now is 10:21 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration