Hate replying to myself, but I seem to have come up with a workaround.
I hope it's actually a good fix.

As part of my efforts earlier (deinstall and reinstall postfix) I also
searched for and rm'ed all of the sendmail binaries I could find,
before the reinstall.

That broke it in a 'better' way, for some value of better:

    atrun[1032]: exec failed for mail command: No such file or directory

I went looking at my other FreeBSD boxes, and found this:

    tophat# ll /usr/sbin/sendmail
    lrwxrwxrwx  1 root  wheel  21 Nov 22  2005 /usr/sbin/sendmail ->
/usr/sbin/mailwrapper

This was missing on my problem system, so I put in the link per the
above, and all now seems quite happy.

Someone then pointed me at 'man mailwrapper'.

Still doesn't tell me how I botched it, but it surely does tell me
that I fixed it.

Kurt

On 4/9/07, Kurt Buff <[EMAIL PROTECTED]> wrote:
All,

I've been putting together a FreeBSD 6.2 box with
postfix/spamassassin/clamav/maia-mailguard, and have somehow munged
things a bit.

I've got it all pretty well configured, except for stuff generated by
cron/at/daily periodic, which were working before, but are not working
now. I've deinstalled and reinstalled postfix, with no joy. It looks
as if the box is still using sendmail instead of postfix. If I submit
mail via telnet/blat/whatever remotely, it works just fine - it's only
the system-generated stuff that's misbehaving currently.

Can anyone make a suggestion on how to correct this?

Thanks,

Kurt

Here's the output from ' at -f /root/mailme -m 12:20'
Apr  9 12:20:00 mx1 atrun[1032]: exec failed for mail command: No such
file or directory

Here's the entry in my syslog from the nightly run:

Apr  9 03:01:08 mx1 sendmail[14622]: l39A18st014622: from=root,
size=458, class=0, nrcpts=1,
msgid=<[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
Apr  9 03:01:08 mx1 postfix/smtpd[14643]: connect from
localhost.example.com[127.0.0.1]
Apr  9 03:01:08 mx1 postfix/smtpd[14643]: NOQUEUE: reject: RCPT from
localhost.example.com[127.0.0.1]: 550 5.1.1 <[EMAIL PROTECTED]>:
Recipient address rejected: User unknown in relay recipient table;
from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=ESMTP
helo=<mx1.example.com>
Apr  9 03:01:08 mx1 sendmail[14622]: l39A18st014622: to=root,
ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay,
pri=30458, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Apr  9 03:01:08 mx1 sendmail[14622]: l39A18st014622: l39A18su014622:
DSN: User unknown
Apr  9 03:01:08 mx1 postfix/smtpd[14643]: NOQUEUE: reject: RCPT from
localhost.example.com[127.0.0.1]: 550 5.1.1 <[EMAIL PROTECTED]>:
Recipient address rejected: User unknown in relay recipient table;
from=<> to=<[EMAIL PROTECTED]> proto=ESMTP helo=<mx1.example.com>
Apr  9 03:01:08 mx1 sendmail[14622]: l39A18su014622: to=root,
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31482,
relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Apr  9 03:01:08 mx1 sendmail[14622]: l39A18su014622: l39A18sv014622:
return to sender: User unknown
Apr  9 03:01:08 mx1 postfix/smtpd[14643]: NOQUEUE: reject: RCPT from
localhost.example.com[127.0.0.1]: 550 5.1.1
<[EMAIL PROTECTED]>: Recipient address rejected: User unknown
in relay recipient table; from=<> to=<[EMAIL PROTECTED]>
proto=ESMTP helo=<mx1.example.com>
Apr  9 03:01:08 mx1 sendmail[14653]: l39A18l4014653: from=root,
size=1535, class=0, nrcpts=1,
msgid=<[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
Apr  9 03:01:08 mx1 sendmail[14622]: l39A18sv014622: to=postmaster,
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32506,
relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Apr  9 03:01:08 mx1 sendmail[14622]: l39A18su014622: Losing
./qfl39A18su014622: savemail panic
Apr  9 03:01:08 mx1 sendmail[14622]: l39A18su014622: SYSERR(root):
savemail: cannot save rejected email anywhere
Apr  9 03:01:08 mx1 postfix/smtpd[14643]: disconnect from
localhost.example.com[127.0.0.1]

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to