Not sure if this is a bug or a feature (using 1.94.4, 5.005_02, and 8.8.8
on solaris 2.5.1)...
I have a simple set up:
test: "|/home/majordomo/current/wrapper resend -l test test-list"
owner-test: test-owner
test-list: :include:/home/majordomo/lists/test
and the list looks like:
postman<capelisd> cat /home/majordomo/lists/test
capelisd@postman.sd.conexant.com
unknown_user@postman.sd.conexant.com
nfsuser
(the middle one is a bogus address, as if I have to say...)
Anyway, if I email to test-list, I get a MAILER-DAEMON bounce email
every time:
----- The following addresses had permanent fatal errors -----
unknown_user@postman.sd.conexant.com
(expanded from: :include:/home/majordomo/lists/test)
which is what I expect. However, when I send to test, although the
real users get the email, I repeatably DONT get any bounce--nowhere,
not root, postmaster, anybody.
If I add a -v option onto sendmail invocation via the majordomo.cf file:
was: $mailer = "$sendmail_command -oi -oee -f\$sender";
now: $mailer = "$sendmail_command -v -oi -oee -f\$sender";
then I _repeatably_ get the unknown_user bounce when sending to test.
Bug or feature? I think without the -v option sendmail forks to do
the DSN bounce after its done with the good users, but the resend
exits as soon as the pipe to the original parent sendmail is done
killing the child. The -v finishes because the main sendmail process
does not exit until all mailing is done and therefore the pipe stays open.
If anyone can test if they get similar results, I'd be grateful.
Chip.
--
Output of the -v captured:
Chipnew: /usr/lib/sendmail -v -oi -oee -fowner-test@postman.sd.conexant.com -t
owner-test@postman.sd.conexant.com... aliased to test-owner
test-owner... aliased to capelisd@sd.conexant.com
capelisd@sd.conexant.com... aliased to capelisd@postman.sd.rss.rockwell.com
capelisd@sd.conexant.com... Connecting to local...
capelisd@sd.conexant.com... Sent
capelisd@postman.sd.conexant.com... aliased to capelisd@postman.sd.rss.rockwell.com
/home/majordomo/lists/test: line 2: sending to unknown_user@postman.sd.conexant.com
/home/majordomo/lists/test: line 3: sending to nfsuser
/home/majordomo/lists/test: line 3: nfsuser... aliased to nfsuser@postman.sd.rss.rockwell.com
capelisd@postman.sd.conexant.com... Connecting to local...
capelisd@postman.sd.conexant.com... Sent
nfsuser... Connecting to local...
nfsuser... Sent
test-owner... aliased to capelisd@sd.conexant.com
capelisd@sd.conexant.com... aliased to capelisd@postman.sd.rss.rockwell.com
capelisd@sd.conexant.com... Connecting to local...
capelisd@sd.conexant.com... Sent
Send direct to test-list:
postman<capelisd> grep RAA07657 /var/log/syslog
Jan 13 17:34:53 postman sendmail[7657]: RAA07657: from=<nfsuser@rooster.sd.rss.rockwell.com>, size=393, class=0, pri=30393, nrcpts=1, msgid=<199901140134.RAA15830@rooster.sd.rss.rockwell.com>, proto=ESMTP, relay=rooster [157.152.131.192]
Jan 13 17:34:53 postman sendmail[7658]: RAA07657: alias <test-list@postman.sd.conexant.com> => :include:/home/majordomo/lists/test
Jan 13 17:34:53 postman sendmail[7658]: RAA07657: alias capelisd@postman.sd.conexant.com => capelisd@postman.sd.rss.rockwell.com
Jan 13 17:34:54 postman sendmail[7658]: RAA07657: to=unknown_user@postman.sd.conexant.com, ctladdr=:include:/home/majordomo/lists/test (26351/26), delay=00:00:01, mailer=local, stat=User unknown
Jan 13 17:34:54 postman sendmail[7658]: RAA07657: alias nfsuser => nfsuser@postman.sd.rss.rockwell.com
Jan 13 17:34:54 postman sendmail[7658]: RAA07658: clone RAA07657, owner=test-owner
Jan 13 17:34:54 postman sendmail[7658]: RAA07657: done
Jan 13 17:34:55 postman sendmail[7658]: RAA07658: RAB07658: DSN: User unknown
Jan 13 17:34:55 postman sendmail[7658]: RAB07658: to=capelisd@sd.conexant.com, delay=00:00:00, xdelay=00:00:00, mailer=local, stat=Sent
Jan 13 17:34:56 postman sendmail[7658]: RAB07658: done
Send to test -- No bounce:
postman<capelisd> egrep 'SAA07975|SAA07976|SAA07982|SAB07982' /var/log/syslog
Jan 13 18:01:27 postman sendmail[7975]: SAA07975: from=<nfsuser@rooster.sd.rss.rockwell.com>, size=388, class=0, pri=30388, nrcpts=1, msgid=<199901140201.SAA15849@rooster.sd.rss.rockwell.com>, proto=ESMTP, relay=rooster [157.152.131.192]
Jan 13 18:01:27 postman sendmail[7976]: SAA07975: alias <test@postman.sd.conexant.com> => "|/home/majordomo/current/wrapper resend -l test test-list"
Jan 13 18:01:28 postman sendmail[7976]: SAA07976: clone SAA07975, owner=test-owner
Jan 13 18:01:28 postman sendmail[7976]: SAA07975: done
Jan 13 18:01:31 postman sendmail[7982]: SAA07982: alias test-list => :include:/home/majordomo/lists/test
Jan 13 18:01:32 postman sendmail[7982]: SAA07982: alias capelisd@postman.sd.conexant.com => capelisd@postman.sd.rss.rockwell.com
Jan 13 18:01:32 postman sendmail[7982]: SAA07982: to=unknown_user@postman.sd.conexant.com, ctladdr=:include:/home/majordomo/lists/test (26351/26), delay=00:00:01, mailer=local, stat=User unknown
Jan 13 18:01:32 postman sendmail[7982]: SAA07982: alias nfsuser => nfsuser@postman.sd.rss.rockwell.com
Jan 13 18:01:32 postman sendmail[7982]: SAA07982: from=owner-test@postman.sd.conexant.com, size=761, class=-60, pri=198761, nrcpts=3, msgid=<199901140201.SAA15849@rooster.sd.rss.rockwell.com>, relay=majordomo@localhost
Jan 13 18:01:32 postman sendmail[7982]: SAB07982: clone SAA07982, owner=test-owner
Jan 13 18:01:33 postman sendmail[7984]: SAB07982: alias capelisd@postman.sd.conexant.com => capelisd@postman.sd.rss.rockwell.com
Jan 13 18:01:33 postman sendmail[7976]: SAA07976: to="|/home/majordomo/current/wrapper resend -l test test-list", delay=00:00:06, xdelay=00:00:05, mailer=prog, stat=Sent
Jan 13 18:01:33 postman sendmail[7976]: SAA07976: done
Jan 13 18:01:33 postman sendmail[7984]: SAB07982: alias nfsuser => nfsuser@postman.sd.rss.rockwell.com
Jan 13 18:01:33 postman sendmail[7984]: SAB07982: to=capelisd@postman.sd.conexant.com, delay=00:00:02, xdelay=00:00:00, mailer=local, stat=Sent
Jan 13 18:01:34 postman sendmail[7984]: SAB07982: to=nfsuser, delay=00:00:03, xdelay=00:00:01, mailer=local, stat=Sent
Jan 13 18:01:34 postman sendmail[7984]: SAB07982: done
Jan 13 18:01:34 postman sendmail[7984]: SAA07982: done
Using -v sending to test, receives bounce:
postman<capelisd> egrep 'SAA08088|SAA08089|SAA08094|SAC08094' /var/log/syslog
Jan 13 18:08:01 postman sendmail[8088]: SAA08088: from=<nfsuser@rooster.sd.rss.rockwell.com>, size=388, class=0, pri=30388, nrcpts=1, msgid=<199901140208.SAA15856@rooster.sd.rss.rockwell.com>, proto=ESMTP, relay=rooster [157.152.131.192]
Jan 13 18:08:01 postman sendmail[8089]: SAA08088: alias <test@postman.sd.conexant.com> => "|/home/majordomo/current/wrapper resend -l test test-list"
Jan 13 18:08:01 postman sendmail[8089]: SAA08089: clone SAA08088, owner=test-owner
Jan 13 18:08:02 postman sendmail[8089]: SAA08088: done
Jan 13 18:08:04 postman sendmail[8094]: SAA08094: alias test-list => :include:/home/majordomo/lists/test
Jan 13 18:08:05 postman sendmail[8094]: SAA08094: alias capelisd@postman.sd.conexant.com => capelisd@postman.sd.rss.rockwell.com
Jan 13 18:08:05 postman sendmail[8094]: SAA08094: to=unknown_user@postman.sd.conexant.com, ctladdr=:include:/home/majordomo/lists/test (26351/26), delay=00:00:01, mailer=local, stat=User unknown
Jan 13 18:08:05 postman sendmail[8094]: SAA08094: alias nfsuser => nfsuser@postman.sd.rss.rockwell.com
Jan 13 18:08:05 postman sendmail[8094]: SAA08094: from=owner-test@postman.sd.conexant.com, size=761, class=-60, pri=198761, nrcpts=3, msgid=<199901140208.SAA15856@rooster.sd.rss.rockwell.com>, relay=majordomo@localhost
Jan 13 18:08:05 postman sendmail[8094]: SAB08094: clone SAA08094, owner=test-owner
Jan 13 18:08:06 postman sendmail[8094]: SAA08094: done
Jan 13 18:08:07 postman sendmail[8094]: SAB08094: SAC08094: DSN: User unknown
Jan 13 18:08:07 postman sendmail[8094]: SAC08094: to=capelisd@sd.conexant.com, delay=00:00:00, xdelay=00:00:00, mailer=local, stat=Sent
Jan 13 18:08:07 postman sendmail[8094]: SAC08094: done
Jan 13 18:08:08 postman sendmail[8089]: SAA08089: to="|/home/majordomo/current/wrapper resend -l test test-list", delay=00:00:07, xdelay=00:00:06, mailer=prog, stat=Sent
Jan 13 18:08:08 postman sendmail[8089]: SAA08089: done
|
|