[wellylug] Meeting idea

Tony Booth tbooth at infometrics.co.nz
Wed Feb 26 11:02:11 NZDT 2003


> -----Original Message-----
> From: Jamie Dobbs [mailto:jamie.dobbs at paradise.net.nz]
> Sent: Wednesday, 26 February 2003 09:53
> To: 'wellylug at yahoogroups.com'
> Subject: [wellylug] Meeting idea
> 
> 
> 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)?
> 
> - Jamie -
> 

It's a fairly simple process (on Debian anyway).  I can't promise a
presentation, but here's an outline:

1) make sure exim is installed -- the config on debian gives you the option
to make it a full mail server, and disables mail relaying be default (you
REALLY need that)
2) make sure exim is configured to accept mail for the domain/s you want

Somewhere in /etc/exim you need something like this:

virtual:
    driver = aliasfile
    domains = mail.domain.nz:mail.domain2.nz:...
    file = /etc/aliases.$domain
    search_type = lsearch*
end

Then you need files /etc/aliases.sub.domain.nz, /etc/aliases.sub2.domain2.nz
etc, each containing a mapping from e-mail address to username on the local
system:

e.g.

bob	bob
timmy	tim
*	admin

(* is a catch-all, and is not required if you don't mind bouncing mail to
your domain).

3) Ensure that your ISP puts an MX entry in their DNS which points
mail.domain.nz/mail.domain2.nz etc. at your external IP.

4) Make sure the firewall is open to incoming connections on port 25.

This is all you need to receive and send e-mails from the local system
using, e.g., Mutt.  You can set up IMAP/Webmail on top of that if you want
to access it from anywhere on the web -- let's leave that for another time!

Happy hacking

Tony

------------------------ 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