Sorry, I forgot one thing. Added the modifications needed for /etc/rc.conf or /etc/defaults/rc.conf at the bottom.

Thanks, ed

Quoting Gordon Messmer <[EMAIL PROTECTED]>:

Yvonne wrote:

And the maillog messages : ruleset=check_rcpt, arg1=<[EMAIL PROTECTED]>, relay=xyz [192.168.1.2], reject=550 \5.7.1 <[EMAIL PROTECTED]>... Relaying denied from=<[EMAIL PROTECTED]>, size=337, class=0, nrcpts=0, proto=ESMTP, \daemon=MTA, relay=xyz [192.168.1.2]

That's sendmail. Stop sendmail and configure courier's esmtpd to start. You're probably best off removing sendmail entirely (though I'm not sure how best to do that on FreeBSD).

Depending on the version of FreeBSD, but most of the later versions have a /etc/mail/mailer.conf that will determine the courier paths as shown below from one of my FreeBSD boxes. That should work on any installation if it isn't more that a couple of years old by just modifying/varifying the paths.

If courier is installed from ports it will give the person the opportunity to change the sendmail default if not it can easily be added and rc.conf modified as at the end.

------------------------------------------

# $FreeBSD: src/etc/mail/mailer.conf,v 1.3 2002/04/05 04:25:12 gshapiro Exp $
#
# Execute the Courier sendmail program, named /usr/local/bin/sendmail
#
sendmail  /usr/local/bin/sendmail
send-mail /usr/local/bin/sendmail
mailq   /usr/local/bin/mailq
newaliases  /usr/local/sbin/makealiases

----------------------------------------------
Modifcation to rc.conf either in /etc/rc.conf or /etc/defaults/rc.conf
-------------------------------------------------------

sendmail_submit_enable="NO" # Start a localhost-only MTA for mail submission
sendmail_outbound_enable="NO"   # Dequeue stuck mail (YES/NO).
sendmail_msp_queue_enable="NO"  # Dequeue stuck clientmqueue mail (YES/NO).
ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib /usr/local/lib/courier-authlib /usr/local/lib/compat/pkg" courier_authdaemond_enable=${courier_authdaemond_enable-"YES"} # Run courier-authdaemond (YES/NO).
courier_authdaemond_enable="YES"
courier_enable="YES"
sendmail_enable="NONE"




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to