Attempt to use system sendmail include list fails

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

hzujmccescsl
Posts: 30
Joined: Thu Feb 07, 2013 11:15 pm

Attempt to use system sendmail include list fails

Post by hzujmccescsl »

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
8) 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.
hzujmccescsl
Posts: 30
Joined: Thu Feb 07, 2013 11:15 pm

Re: Attempt to use system sendmail include list fails

Post by hzujmccescsl »

For some reason, the "sendmail process" on OpenEMM-2013 is unable to fully resolve the sendmail ":include:" directive. A sendmail debug session shows the sendmail process stopping after it reads the alias Db entry (eg; it returns ":include:/path/to/file") but does nothing after that.

To make "external mailing lists" work, we had to use a separate host as the "external mailing list SMTP server" where IT contained all of the sendmail/mailing list definitions/configurations and IT recieved one e-mail from OpenEMM and then IT (again) succeeded in the full sendmail alias/include resolution and then sent out the e-mail to the mailing list.

Yes - running "sendmail" as a standalone service when OpenEMM is down will work, but not when OpenEMM is working.
Post Reply