Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Jan 2013 09:26:25 -0800
From:      Chuck Swiger <cswiger@mac.com>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        FreeBSD - <freebsd-questions@freebsd.org>
Subject:   Re: sendmail not working
Message-ID:  <85230C2D-F6DE-4647-B080-D4A9F5E2A02B@mac.com>
In-Reply-To: <50EC52D0.9020505@rcn.com>
References:  <201301081418.r08EIGS2022423@mail.r-bonomi.com> <50EC52D0.9020505@rcn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 8, 2013, at 9:09 AM, Robert Huff wrote:
>>  WHAT HAPPENS when you 'telnet' to your mailserver port(s) and try
>>  doing smtp transaction(s) manually?
> 
> 	I don't get the SMTP prompt.

OK, so sendmail either isn't starting, isn't binding to port 25, or some sort of network/firewall issue is blocking the connection.  You should see a log entry like:

sendmail[XXXX]: starting daemon (8.14.6): SMTP+queueing@01:00:00

...and netstat -an | grep 25 (or similar with lsof) should find a LISTENing process on the port.

>> What do the sendmail log messages say?
> 
> Jan  8 10:12:44 jerusalem sm-mta[28896]: r05KsfdB048780: forward /home/huff/.forward.jerusalem+: Group writable directory
> Jan  8 10:12:44 jerusalem sm-mta[28896]: r05KsfdB048780: forward /home/huff/.forward+: Group writable directory
> Jan  8 10:12:44 jerusalem sm-mta[28896]: r05KsfdB048780: forward /home/huff/.forward.jerusalem: Group writable directory
> Jan  8 10:12:44 jerusalem sm-mta[28896]: r05KsfdB048780: forward /home/huff/.forward: Group writable directory
> Jan  8 10:12:44 jerusalem sm-mta[28896]: r05KsfdB048780: smtpquit: mailer local exited with exit value 1
> Jan  8 10:12:44 jerusalem sm-mta[28896]: r05KsfdB048780: to=<huff@localhost>, delay=2+18:16:27, xdelay=00:00:00, mailer=local, pri=56791038, relay=local, dsn=4.4.2, stat=Deferred: Connection reset by local

You either need to fix the permissions by running something like:

   chmod go-w / /home /home/huff /etc /etc/mail

...or you can add something like the following to your sendmail.cf:

   O DontBlameSendmail=ForwardFileInGroupWritableDirPath

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85230C2D-F6DE-4647-B080-D4A9F5E2A02B>