[wellylug] Meeting idea

Don Jones don.jones at linuxmail.org
Wed Feb 26 16:12:07 NZDT 2003


> I'd love to see someone do a practical presentation on setting up and
> email server under Linux. I'd love to have my own email server (and
> domain of course) to get rid of the joys of relying on my ISP for
> email ... well OK, mainly for the 'geek factor'!
> Would anyone like to volunteer for a presentation such as this in the
> future (perhaps April or May meetings)?

Sendmail is often installed by default (eg Red Hat, FreeBSD), youll probably find it listening on port 25 ( netstat -na | egrep '25\>.+LISTEN' ), then you just need to edit some of the config files like /etc/mail/local-host-names 9used to be sendmail.cw) and /etc/mail/relay-domains to tell the box what domains its happy to accept mail for and relay mail for, then you need to make a .db file for the config files that use db files like so: 
/usr/sbin/makemap -v hash /etc/mail/access < /etc/mail/access 
then you need to stop and restart sendmail, 
cat /var/run/sendmail.pid
kill the process and start it again with the command on the second line of /var/run/sendmail.pid and away you go. Webmin has a good sendmail module which makes admin a bit easier. 

The last thing you need to do is point the mx record of any domain you wish to accept mail for, you need to send this request to whoever looks after your zone file, if thats you and you run bind* its a line like this:
      IN      MX      5 mailhost.domain.net.nz. 
save and restart bind.
Alternately you may wish to investigate postfix, exim or qmail all worthy replacements. All in all its not that difficult to setup sendmail and admin sendmail, but it is a bit scary, sendmail.cf has got to be one of the most arcane files in the world but luckly you can avoid it by using the macro configuration file sendmail.mc. Reading the Bat book doesnt help much with demystifying sendmail either!

I spose I could do a presentation ... Im a bit of a newbie sendmail admin tho, wouldnt want to show myself up in front of the gurus :)

I was thinking about preparing a small presentation on using regexes, just some general stuff on how they work and then some practical examples with perl vim and grep sort of thing, would there be any intrest in this? (again im a relative newbie to this stuff, but am willing to give it a go if not much else if happening on the presentation front). If I do one it would be April at the earliest as I want to see what the facilities are like (I would like to use a laptop).

Don Jones

Microsoft cannot prosper during the open source wave as an island, with defenses built out of litigation and proprietary protocols.
<David Stutz>
-- 
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/FpY02D/vN2EAA/xGHJAA/0XFolB/TM
---------------------------------------------------------------------~->

  .-.   Wellington
  /V\   Linux
 // \\  Users       
/(   )\ Group
 ^^-^^
        http://wlug.paradise.net.nz/

To unsubscribe from this group, send an email to:
wellylug-unsubscribe at egroups.com
  

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 





More information about the wellylug mailing list