Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

outlook will not relay

Status
Not open for further replies.

fzx5v0

IS-IT--Management
Jan 13, 2003
79
GB
Hi
i haveing problems with outlook not relaying and the only way I can get the server to relay the e-mails sent form outlook is to ad my wan ip address in the relay list

sendmail is compiled with SASLv2

sendmail -d0.1 -bv root | grep SASL
NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF SOCKETMAP STARTTLS

I have the bellow in my sendmail.cf and have setup an saslauthd2 password for my account i want to use also saslauthd is running


dnl define(`confAUTH_OPTIONS', `A p')dnl
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl

I do not understand what I am doing wrong

can anyone advise thanks


Easyinkz Printer cartridges
 
From what I can tell, you seem to have everything for relaying to work with authsmtp. Here is a sample sendmail.mc you can use to check against yours.

Code:
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')dnl
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')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
LOCAL_DOMAIN(`localhost.localdomain')dnl
MAILER(smtp)dnl
MAILER(procmail)dnl

Assuming everything is correct with sendmail.mc, I have to ask if you've rebuilt sendmail.cf after making changes? Authentication won't work until you do. Here is how you do that:

Code:
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

Sendmail will now ask for authentication before it will not relay any mail from this client until it does. To setup Outlook to authenticate, you have to open the account you use for this mail server. Go to the "Server" tab and click on the "SMTP" or "Outgoing Server". There should be a box to check that says "This server requires authentication". Click on it and a window will pop up. There should be a choice to use the pop3 (outgoing) server info. Check that and save your settings. Everything should work now. If it doesn't, we need to know what the error message is when you are trying to send mail.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top