Question
Can anyone give me some tips on configuring sendmail within a corporate intranet? I figure all it needs is the name of the internal SMTP server, but I have no idea where to specify that, and all the sendmail configuration files are mumbo-jumbo.
...Needless to say, without this, we have no change notification.
- TWiki version: 01 Dec 2000
- Web server: Apache/1.3.19 (Darwin)
- Server OS: Mac OS X 10.0.3
--
JonReid - 21 Jun 2001
Answer
You might want to investigate Net::SMTP, a Perl module available from CPAN (check
http://www.perl.com
) that should be supported in the Dec2000 release (check your
TWikiHistory page). This avoids the need to install sendmail. Alternatively, other packages such as Qmail may be easier to set up, though I haven't used them.
--
RichardDonkin - 23 Jun 2001
Unfortunately that support is not included in the Dec 2000 release. Is there an anticipated timeframe for the next release? --
JonReid - 25 Jun 2001
Yes, this would be a very good thing to have, I installed the perl module thinking it was working, now am faced with the beast that is sendmail
--
PeteGoldsmith - 26 Jun 2001
Sendmail on a Mac ... clearly the revenge of the geeks

Ok, if you just want to send, it shouldn't be
that bad:
- Locate your sendmail.cf - should be /etc/mail, but you never know...
- Search for "smart" host, uncomment the definition, then it should look like
DSmailhost.your.domain, change the name and leave everything else.
- Except if running w/o DNS: you will need to hardwire your sending domain: locate "domain", uncomment the definition and edit sth like:
DJ$w.your.domain Plus add the alias yourbox.your.domain to /etc/hosts
Warning: Darwin probably uses the "newer"
m4 preprocessing stuff to create sendmail.cf.
If you happen to trigger the generation,
your sendmail.cf gets overwritten.
Good luck!
--
PeterKlausner - 26 Jun 2001
Thanks, that did it! I noticed in /var/log/mail.log that it was complaining about line 81 of sendmail.cf, so I just commented that line out. I also had to change the permission settings of
.changes and
.mailnotify in each of the TWiki/data subdirectories.
--
JonReid - 26 Jun 2001
Topic revision: r8 - 2001-06-27
- JonReid