Notes on the Mail System

For what it's worth, I'm using Courier here.


Courier-webmail package requires the 'cronie' package. In actuality, this only means that it wants the /etc/cron.hourly directory to exist; it will be perfectly happy on a Redhat-oid system. Purportedly this is being fixed in the more recent specfiles for Courier.

If you've just installed the webmail package on a running instance of Courier, you'll get messages about a resource not being available. That's because you need to run /etc/init.d/courier restart, which will actually start the webmail service. It doesn't detect that Courier is running and start webmail automatically. The issue is that there's a /var/spool/courier/sqwebmail.sock file which the CGI needs to find.

Incidentally, if you've configured Apache with suexec and it doesn't like the suid root nature of sqwebmail - or indeed, if YOU don't like it - the easy way around it is to simply use a courier user who is able to access all the email on the system. Then you have a universal mail user (arguably somewhat bad), but you don't have a suid root executable (totally bad if an exploit opens up for it).

-- SeanNewton - 27 Apr 2011

Topic revision: r1 - 2011-04-27 - SeanNewton
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback