Attempt to use system sendmail include list fails
Posted: Fri Mar 01, 2013 12:33 am
OS: Centos6+seLinux enabled
1) create entry in sendmail Aliases file such as: "testmlist: :include:/path/to/file"
2) update aliases db (newaliases)
3) create "/path/to/file" with 640 permissions and group=mail (sendmail DefaultUser)
4) insert one or more simple/regular e-mail addresses in "include file"
5) create/modify recipient with e-mail address: testmlist@<local/OpenEMM host FQDN>
6) create simple mailing list
7) create simple mailing
assign new recipient above to new mailing list as "test recipient"
9) send out test mailing
10) normal Sendmail qf/df files appear in OpenEMM:/var/spool/ADMIN "queue", showing "testmlist@<FQDN>" as the recipient (To) address
11) files removed from ADMIN queue but mailing never delvered; no entries in any OpenEMM or system log offer any information about attempt or failure to deliver;OpenEMM log shows mail send action "complete"
12) try again with sendmail debug flags on all OpenEMM "sendmail queue runners"
13) sendmail debug output shows lookup of alias name and expected replacement value
14) debug output stops with BADDR and a value of ":include:/path/to/file"
15) qf/df files are removed from ADMIN queue
16) no mail gets sent out
The external, included, mailing list file is never opened and its addresses are never used. There are no seLinux reported violations.
Using "normal" system mail client and normal/default system Sendmail processes, the full alias resolution and address substitution process works as it should, and mail gets sent.
1) create entry in sendmail Aliases file such as: "testmlist: :include:/path/to/file"
2) update aliases db (newaliases)
3) create "/path/to/file" with 640 permissions and group=mail (sendmail DefaultUser)
4) insert one or more simple/regular e-mail addresses in "include file"
5) create/modify recipient with e-mail address: testmlist@<local/OpenEMM host FQDN>
6) create simple mailing list
7) create simple mailing

9) send out test mailing
10) normal Sendmail qf/df files appear in OpenEMM:/var/spool/ADMIN "queue", showing "testmlist@<FQDN>" as the recipient (To) address
11) files removed from ADMIN queue but mailing never delvered; no entries in any OpenEMM or system log offer any information about attempt or failure to deliver;OpenEMM log shows mail send action "complete"
12) try again with sendmail debug flags on all OpenEMM "sendmail queue runners"
13) sendmail debug output shows lookup of alias name and expected replacement value
14) debug output stops with BADDR and a value of ":include:/path/to/file"
15) qf/df files are removed from ADMIN queue
16) no mail gets sent out
The external, included, mailing list file is never opened and its addresses are never used. There are no seLinux reported violations.
Using "normal" system mail client and normal/default system Sendmail processes, the full alias resolution and address substitution process works as it should, and mail gets sent.