Re: Running mail and web servers on UNIX

cryptearth <[email protected]> Sat, 25 Jan 2025 07:08:16 +0100
Newsgroups gmane.comp.jakarta.james.user
Message-ID <[email protected]>
Hey David,

my point was not that James can't be used as primary mail server - I do 
run it myself as my primary one.
But my point was that for at least some services typical run on a linux 
system there base config seem to either require a working sendmail 
provider or bring them along as dependencies, namely cron and php on apache:

When you have cron setup to autostart james at reboot it will try to 
send a status message to root via sendmail. Not having sendmail can lead 
to cron fail and not correctly starting james - or even worse: killing 
it when managed to start.
PHP on Apache also has its mail() command default to sendmail. Sure this 
can be changed but from my experience it seems like either php or apache 
(or both?) expect sendmail to be available.

Please feel free to share your experience.

Matt


Am 21.01.25 um 11:20 schrieb David Matthews:
> hello
>
>> Most Linux services require some sort of sendmail - either sendmail
>> itself or wrappers from exim or postfix. So although you can use James
>> as your primary server you have to provide some implementation of
>> sendmail or have to connect it to James.
> I have to dissent from that.
>
> I'm a long time unix user and did investigate James maybe  3 years ago on linux; I'm also a java programmer, so I did have to  take a look. I stuck with my  exim4/dovecot solution, at least one reason being that the devils you know (almost 25 years of experience) are better than the devil you don't.
>
> But there is no reason I know that you cannot dispense with sendmail/exim4/postfix on unix and run james. I would expect your setup on windows would need no or minimal changes. So you have the same james/java on a much improved base - linux/unix > windows (by a very long way)
>
> My email howto might be of interest, I can't check the url as I'm in a public library that blocks part of my domain, but I think:
>
> https://dmatthews.org/email_server/perfect_email.html
>
> If not check the start menu at dmatthews.org
>
> --
> David Matthews
> [email protected]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>