still more sendmail trouble

Giorgos Keramidas keramida at ceid.upatras.gr
Tue Nov 2 09:11:03 PST 2004


On 2004-11-02 11:15, Steel City Phantom <scphantm at yahoo.com> wrote:
> i still can't get the mail function in PHP to work.  my sendmail log
> shows this
>
> Nov  2 10:41:36 ironcity sendmail[89186]: iA2FfagI089186: from=www,
> size=473, class=0, nrcpts=0,
> msgid=<200411021541.iA2FfagI089186 at ironcity.showroomtech.com>,
> relay=www at localhost

This means that the `submit' sendmail daemon is running properly on
127.0.0.1:25 and it did receive your message.

> which is a step up because before i made the changes to the rc.conf, i
> would get this
>
> Nov  2 00:14:22 ironcity sm-msp-queue[86045]: iA1HGR7Q085413:
> to=sadicutza2000 at yahoo.com, ctladdr=www (80/80), delay=11:57:55,
> xdelay=00:00:00, mailer=relay, pri=2190203, relay=[127.0.0.1],
> dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

No submit sendmail process here.

> here is what i put in my rc.conf
>
>    sendmail_enable="NO"
>    sendmail_submit_enable="YES"
>    sendmail_outbound_enable="NO"
>    sendmail_msp_queue_enable="YES"
>
> any ideas?

Do you have a properly configured HOST.mc and HOST.submit.mc in your
/etc/mail directory[1]?

Have you generated the sendmail.cf and submit.cf configuration files in
/etc/mail and restarted sendmail after you edited rc.conf[2]?

[1] The `HOST' part should be the hostname of the machine.

[2] This should be as easy as:

	# cd /etc/mail
	# make && make install && make restart



More information about the freebsd-questions mailing list