johnk@gordian.com (John Kalucki) (05/10/91)
I'm having trouble with sendmail on my Sun IPC, SunOS 4.1, Sun's sendmail 5.64 and the version that comes off of the distribution. (I've tried both) My configuration file appears to be fine- I've made few changes from the example and correctly addressed mail works well. If one of the mailers fails (uux or /bin/mail) sendmail dumps core and leaves queue files in /usr/spool/queue and mail is not bounced to the sender. The mailers fail, as a normal course of business, such as sending mail to a non-existant local user, or to a non existant directly connected uucp machine, etc. In any case, sendmail shouldn't dump core and should bounce the mail to the sender. I do not run yp, dns, or such. The machine is the main mail machine for my site- thus not having mis-addressed mail bounce is very disconcerting. Look: gordius:/usr/spool/mqueue# ls gordius:/usr/spool/mqueue# la ./ ../ gordius:/usr/spool/mqueue# date | sendmail foo foo... User unknown gordius:/usr/spool/mqueue# ls core dfAA01116 lfAA01116 qfAA01116 xfAA01116 gordius:/usr/spool/mqueue# more [d-x]* :::::::::::::: dfAA01116 :::::::::::::: Tue Apr 30 10:20:57 PDT 1991 :::::::::::::: lfAA01116 :::::::::::::: :::::::::::::: qfAA01116 :::::::::::::: P1079 T673032058 DdfAA01116 MUser unknown Sjohnk Rfoo H?P?return-path: <johnk> Hreceived: by gordius.gordian.com (4.1/SMI-4.1) id AA01116; Tue, 30 Apr 91 10:20:58 PDT H?D?date: Tue, 30 Apr 91 10:20:58 PDT H?F?from: johnk (John Kalucki) H?x?full-name: John Kalucki gordius.gordian.com> Happarently-to: foo :::::::::::::: xfAA01116 :::::::::::::: 550 foo... User unknown gordius:/usr/spool/mqueue# ll -d / /usr/spool /var /var/spool /var/spool/mqueuedrwxr-xr-x 18 root 1024 Apr 30 02:43 // lrwxrwxrwx 1 root 12 Jul 6 1990 /usr/spool -> ../var/spool drwxr-sr-x 10 bin 512 Oct 15 1990 /var/ drwxrwsrwx 15 uucp 512 Apr 29 19:13 /var/spool/ drwxrwsrwx 2 root 512 Apr 30 10:20 /var/spool/mqueue/ gordius:/usr/spool/mqueue# diff /etc/sendmail.cf /usr/lib/sendmail.main.cf 23c23 < #Dj$m --- > Dj$m 25c25 < Dj$w.$m --- > #Dj$w.$m 34,35c34,35 < DRuunet < CRuunet --- > DR ddn-gateway > CR ddn-gateway gordius:/usr/spool/mqueue# ll /usr/lib/sendmail /etc/sendmail.cf -rw-r--r-- 1 root 10660 Apr 15 15:58 /etc/sendmail.cf -r-sr-xr-x 1 root 155648 Apr 24 09:13 /usr/lib/sendmail* gordius:/usr/spool/mqueue# Any suggestions? Sendmail has no problem writing into /var/spool/mqueue or using /bin/mail or uux normally. Why is it failing on a bad exit status from /bin/mail or uux? -John Kalucki johnk@gordian.com