View Full Version : Sendmail
02-22-2002, 01:49 PM
Has anyone gotten sendmail working on OS X Server? I'm trying to get it up and running so my ikonboard bbs system can send out emails to notify people when there are new posts... I have webmin setup to config sendmail, so if you guys know how to configure it through that, it would be great. Currently when I try and sendmail function from ikonboard, the page just sits there trying to load, but never getting anywhere. Right now I have sendmail set to deliver outgoing mail "directly" but it has an option to select a mail server... Any help would be appreciated...
02-24-2002, 06:20 PM
I installed UltimateBB on my X Server which uses sendmail, and I didn't have to configure anything out side of UBB prefs telling it where sendmail is located etc.
02-24-2002, 09:12 PM
... but I can't remember exactly how. It was a pain in the a**, though. You have to modify some crazy/weird file, generate something from that, all the time being super-user on the terminal...
In the end, once it's properly configured for my ISP (sendmail doesn't work with IMAP, by the way), I can do "mail -s subject firstname.lastname@example.org" from the command line.
I'll try to remember and I'll send you what I did tomorrow.
02-25-2002, 05:57 PM
First, go in the terminal and make yourself super-user with "su".
Now, make a file called "my_mc.mc" with this:
VERSIONID(`$Id: generic-bsd4.4.mc,v 184.108.40.206 2000/06/10 00:40:28 wsanchez Exp $')
Obviously, replace "smtpserver.com" with your ISP's smtp server.
Put the file in /usr/share/sendmail/conf/cf (with "mv").
Then, enter this "m4 /usr/share/sendmail/conf/m4/cf.m4 my_mc.mc > config.cf"
Then do these:
mv sendmail.cf old_sendmail.cf
mv /usr/share/sendmail/conf/cf/config.cf ./sendmail.cf
Now, sendmail should be able to send your mail to your smtp server. You can test it with "mail -s subject_for_email email@example.com", to end the message type return, control-D, return.
02-25-2002, 08:58 PM
ok, I followed all your instructions. I didn't have a config.cf file, but I did have a config.c file. So I used it instead. Is that right? When I tried sendmail:
[localhost:sendmail/conf/cf] dfalling% cd ~
[localhost:~] dfalling% mail -s subject firstname.lastname@example.org
Is that right? I checked my email and haven't gotten anything (yet.) Anything else I should try. Thanks a lot for the help by the way.
02-25-2002, 10:29 PM
I've managed to get Sendmail functioning on OSXServer 10.1.3 by following the very concise instructions at www.ish.com.au/solutions/sendmailOSX.html
The writer has laid out in detail the steps to follow and even a UNIX newbie like me can follow them.
I am able to send and receive mail, though there are a couple of errors in my logs I need to look into.
Hope this helps.
02-26-2002, 09:06 AM
Dogcow, the "config.cf" is the file you generate with m4. The name is not important, as long as you properly replace /etc/mail/sendmail.cf with whatever file you generated.
And make sure you replace "smtpserver.com" by your smtp server. I assume you don't need a password for your smtp server.
For the mail command, it should work the way you did it.
03-03-2002, 11:08 PM
Have you considered Postfix.
It is a direct replacement for Sendmail.
Much easier to configure.
I am using it and it is working well.
03-20-2002, 11:02 AM
Many people have recommended Postfix to me. But will it work with OSX server people who use Admin server GUI? Will the mail settings in Admin Server conflict with those set with Postfix?
03-20-2002, 01:52 PM
Since it is a direct replacement for Sendmail I imagine that there would be no problems.
If you are exclusively using OSX ServerAdmin then there is probably no reason (other than security) for changing to Postfix.
I am using Webmin which puts a Gui on it But I still do some configuration by hand.
Webmin has a Gui for sendmail as well but I have not used it.
05-08-2003, 02:52 PM
oops, sorry, posted a joke here. :rolleyes: It was meant for the coat room. Sorry.
10-23-2003, 04:00 PM
found a walkthru on this site for setting up OSX http://www.kung-foo.tv/ - some guys bLog, but pretty clear... still have not setup our sendmail yet... :rolleyes:
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.