Tags:
create new tag
view all tags

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 frown

-- PeteGoldsmith - 26 Jun 2001

Sendmail on a Mac ... clearly the revenge of the geeks wink Ok, if you just want to send, it shouldn't be that bad:

  1. Locate your sendmail.cf - should be /etc/mail, but you never know...
  2. Search for "smart" host, uncomment the definition, then it should look like DSmailhost.your.domain, change the name and leave everything else.
  3. 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

SupportStatus:
AnsweredQuestions
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2001-06-27 - JonReid
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.