You are not logged in.
Pages: 1
Hey,
Let's begin by saying that mail servers are something I've never been able to wrap my head around, for no apparent reason. It just seems to be over my head, or something. However, I've found myself in a situation where I can not elude setting up such a server, even though the requirement is very simple: a bulletin board needs to send out notification and confirmation emails. Nobody is ever going to receive mail on that domain, and the only "person" ever going to send mail from it, is a PHP script.
In the past, I would have resorted to Google Apps to sort the mail sending, but the customer insists he wants his own server to handle it. And while he's probably just being stubborn, I'm not in the mood to argue over it, so I might as well take the chance to learn a few ropes on MTAs.
Let's head onto the questions, then. First, which MTA should I be using? I understand sendmail is a gargantuan monster that's anything but easy to tame. Let's cross that one off. I've heard about postfix and qmail, but I haven't done enough research (nor do I understand enough about MTA to actually assert their qualities) to decide between one of them. I'll probably go with a disabled shell account for the email thing, but I'm not sure I even need that, since I'm not going to receive mail.
Any hints, tips, tricks, and pointers will be very, very welcome, as I finally take on this peeve of mine. I'm of course googling, but all I can find are "postfix + <12 other packages for various services>" howto documents, that are way too complex and don't seem to fit my situation anyway. But maybe there's a page I've missed?
Thanks in advance!
Fear me! I have root! Sometimes...
Offline
I'm using heirloom-mailx for notification e-mails, but I don't know if it will be the right tool for you.
Offline
Postfix's config files are well documented with comments, making Postfix pretty straightforward to configure. Sendmail, um, not so much.
Offline
+1 for Postfix.
I've put an uber-simple main.cf in the ArchServer postfix package that might be a good starting point for you ![]()
http://git.archserver.org/?p=server-ext … 09;hb=HEAD
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
If you just want to send mails via php script or sth else, why don't you use a smal MTA like msmtp or nbsmtp. They are rather easy to handle.
Offline
Hmm, is exim4 not the standard MTA on Debian? Should count for something, no? I have practically no experience with this, only some email-filtering to mailfolders - that was accomplished pretty straightforward with 1 dot-file in the users homedir...
Offline
Thanks for all the hints. I've gone with Postfix after all, and it wasn't as hard as I thought to get the thing sending mails out. Thanks, again ![]()
Fear me! I have root! Sometimes...
Offline
Pages: 1