sendmail not working

Robert Huff roberthuff at rcn.com
Thu Jan 10 19:45:31 UTC 2013


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 at 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




More information about the freebsd-questions mailing list