Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Jan 2013 17:04:51 -0500
From:      Robert Huff <roberthuff@rcn.com>
To:        freebsd-questions@freebsd.org, Robert Huff <roberthuff@rcn.com>, Robert Bonomi <bonomi@mail.r-bonomi.com>
Subject:   Re: sendmail not working
Message-ID:  <50EC9803.5030601@rcn.com>
In-Reply-To: <201301081904.r08J4Nd1025687@mail.r-bonomi.com>
References:  <201301081904.r08J4Nd1025687@mail.r-bonomi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/8/2013 2:04 PM, Robert Bonomi 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.
>
> "Insufficient data"
>    a) does telnet say "connected"?

	Yes.

>    b) if yes, how long did you wait for the banner?
>       (if there's a DNS problem, it can be 90 seconds befre the banner line)

	Good catch - yes sendmail does seem to be hooked to port 25.

>> Jan  8 10:12:44 jerusalem sm-mta[28896]: r05KsfdB048780: forward
>> /home/huff/.forward.jerusalem+: Group writable directory
>
> Supposedly you fixed the above problem.  But sendmail disagrees.  <wry grin>
> check permissions on / /home and /home/huff

	Exactly.  I fixed the file permissions, but not those on /home/huff. 
Permissions are now 755.


>> 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
>
> ok, it's been trying to deliver for nearly three days. with local delivery
> (program mail.local) failing.
>
> mail.local can fail for a number of reasons that shouldn't happen.
>    check permissions on the mailbox directory also owner/permissions on the
>    mailbox, for starters.

	/var/mail is owned by root:mail with permissions 775
	/var/spool/mqueue is owned by root:daemon with permissions 755

 >     maildir quota set??

	No.


				Robert Huff





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50EC9803.5030601>