sendmail local mail not working - error 69
am 06.01.2006 16:28:12 von PaulI'm getting a really annoying msg from the /usr/sbin/mail program when
running from cmd line.
This only started happening since upgrading to new kernal and new
sendmail.
Am running Debian latest kernal with sendmail 8.13.x
When I do this:
# mail paul
Subject: test
test
..
I get this return msg:
Can't send mail: sendmail process failed with error code 69
This also happens when I attempt to send to an outside address from the
cmd line.
Sending mail from another machine through sendmail works fine - so this
has to be a problem with local mail somehow.
I know that error code 69 means - resource unavailable (but which one)
procmail is in /usr/bin
tcpwrappers is on and hosts.allow has:
ALL: LOCAL: ALLOW
sendmail: ALL : ALLOW
localhost.localdomain:all:allow
127.0.0.1: ALL : ALLOW
(some of the above were added just to see if things would start
working)
This shows up in the mail log:
liberty:/var/log# tail -f mail.log|grep paul
Jan 6 14:38:27 liberty sendmail[20402]: k06EcR0Y020402:
to=paul@francomm.com, c
tladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay,
pri=30037, rel
ay=[127.0.0.1] [127.0.0.1], dsn=5.0.0, stat=Service unavailable
Here's the necessary access.db records:
dot 6 and dot 201 are the localhost (multiple IPs for machine)
..francomm.com OK
Connect:localhost.localdomain OK
Connect:localhost OK
Connect:127.0.0.1 OK
Connect:208.9.129.6 OK
Connect:208.9.129.201 OK
Mail is MXed to dot 201
Here's the .mc file:
define(`_USE_ETC_MAIL_')dnl
define(`confCONNECTION_RATE_THROTTLE',`15')dnl
define(`confQUEUE_LA',`10')dnl
define(`confDELAY_LA',`7')dnl
define(`confREFUSE_LA',`9')dnl
define(`confLOG_LEVEL',`14')dnl
define(`confMILTER_LOG_LEVEL',`14')dnl
define(`confMILTER_MACROS_CONNECT',confMILTER_MACROS_CONNECT `,{client_resolve}'$
define(`confMILTER_MACROS_HELO',confMILTER_MACROS_HELO`,{ver ify}')dnl
define(`confMAX_RCPTS_PER_MESSAGE', `30')dnl
define(`confBAD_RCPT_THROTTLE',`3')dnl
define(`confPRIVACY_FLAGS',`needmailhelo,needexpnhelo,needvr fyhelo,dnl
restrictqrun,restrictexpand,dnl
nobodyreturn,authwarnings')dnl
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail.mc, v 8.13.4-3 2005-06-03 16:49:22 cowboy Exp
$')
OSTYPE(`debian')dnl
DOMAIN(`debian-mta')dnl
FEATURE(`access_db',`hash -T
FEATURE(`greet_pause', `1000')dnl 1 seconds
FEATURE(`delay_checks', `friend', `n')dnl
FEATURE(`conncontrol', `nodelay', `terminate')dnl
FEATURE(`ratecontrol', `nodelay', `terminate')dnl
FEATURE(`blacklist_recipients')dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
FEATURE(virtusertable)dnl
FEATURE(`smrsh')dnl
FEATURE(`local_procmail',`/usr/bin/procmail')dnl
dnl - These work fine - the line is long so they didn't get completely
copied.
INPUT_MAIL_FILTER(`milter-error',
`S=unix:/var/run/milter/milter-error.socket,T$
INPUT_MAIL_FILTER(`milter-sender',`S=unix:/var/run/milter/mi lter-sender.socket,$
INPUT_MAIL_FILTER(`milter-abook',
`S=unix:/var/run/milter/milter-abook.socket,T$
INPUT_MAIL_FILTER(`milter-report',`S=unix:/var/run/milter/mi lter-report.socket,$
MAILER(local)dnl
MAILER(smtp)dnl
Is this a permissions issue?
It's getting curiouser and curiouser!
TIA - Paul.