[csw-maintainers] CSWX packages

James Lee james at opencsw.org
Fri Dec 24 14:48:57 CET 2010


On 24/12/10, 12:28:25, Ben Walton <bwalton at opencsw.org> wrote regarding Re:
[csw-maintainers] CSWX packages:

> > I don't have a problem leaving /usr/lib/sendmail in situ and system
> > programs like /usr/bin/mail work via sendmail when exim is the MTA.

> Wouldn't this imply the requirement for a working sendmail config
> though?  (At least for any site that does things above and beyond push
> this mail out any way you can...)  At the very least, you'd then need
> to force queue runs for sendmail periodically in the event it couldn't
> fire off an immediate delivery for some reason.

Not a problem, it does.

Choice: either make sure exim is running or run keep sendmail-client.

Set up:
svcadm disable sendmail
svcadm enable sendmail-client
svcadm enable cswexim


Test:
svcadm disable cswexim
mail address at domain < testemail
syslog says queued
svcadm enable cswexim
wait
syslog says queue flushed to exim




> > It's better to fix programs that assume system paths rather than
> > alter the system paths.

> And for things like /usr/sbin/cron that has /usr/bin/mail hardcode
> which in turn hardcodes /usr/lib/sendmail...?

No problems, if they inject via sendmail they get relayed via exim.


Try it!  I just did.




James.


More information about the maintainers mailing list