Article View: comp.os.linux.networking
Article #148Re: Mail downloading and sorting
From: will
Date: Mon, 16 Jul 2001 03:18
Date: Mon, 16 Jul 2001 03:18
46 lines
3572 bytes
3572 bytes
Michael Junek wrote: > i connect to the internet via ISDN.... > at my provider there is an account that holds all of the email for > @my.domain.com > this server holds the email for 24 hours until i retrive it. > i need to access this server via POP and get all of the emails onto my > server. > from there i need to look at the user for examle joe@my.domain.com > and send the email to the corresponding account on my linux box (via > sendmail perhaps, unless if someone else has a better idea) > from there the user has to have web access to his or her email, but not > POP......(anyone recommend a good, FREE web email system??) > any email that cant get sorted to an email account (i.e. no user exists on > the linux box), needs to be put into a central account > (postmaster@my.domain.com or something similar) it's fairly simple to set up, but forget about using popmail for it, it's not really appropriate for that sort of use. what you need to do is run sendmail on your local server. set it up in your domain's dns record as the primary mail exchanger for that domain (i assume your local server has got a fixed ip address?) set up your isp's mail server as the secondary mx (mail exchanger) for that domain (they shouldn't have a problem with that). and get mail delivered direct to your local machine. sendmail and (probably) procmail will see to the local delivery side of it. for mail addresses that don't have an account of the same name, you can either put an entry in /etc/mail/aliases or use sendmail's virtual user configuration (/etc/mail/virtusertable). virtusertable is necessary if you want a "catchall" option like you describe, so that mail addressed to non-existent users gets delivered to an administrator or something, rather than bouncing. all this is fairly simple to set up. the documentation that comes with the sendmail sources should be enough to get by with. however, you'll be much better off if you can get your hands on a copy of the o'reilly sendmail book. i doubt very much you'll want to buy this (last time i looked, it was over au$100!!!) but you might just find it in a library somewhere. i'm pretty experienced in this stuff, so feel free to ask for more info if you need it. but please don't cross-post to multiple newsgroups. later will
Technical Details
Message-ID:
<3B525CF7.E26B1A93@infoshop.org.au.xxx>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.mel.connect.com.au!not-for-mailReferences:
<9irt8e$pt0$1@lust.ihug.co.nz>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111240,15564fea28543c5e X-Google-Attributes: gid111240,public X-Google-Thread: 102983,15564fea28543c5e X-Google-Attributes: gid102983,public X-Google-Thread: 10669a,15564fea28543c5e X-Google-Attributes: gid10669a,public X-Google-ArrivalTime: 2001-07-15 23:20:45 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.mel.connect.com.au!not-for-mail From: will <will@infoshop.org.au.xxx> Newsgroups: comp.os.linux.networking,linux.redhat.misc,aus.computers.linux Subject: Re: Mail downloading and sorting Date: Mon, 16 Jul 2001 13:18:15 +1000 Organization: Customer of Connect.com.au Pty. Ltd. Lines: 47 Message-ID: <3B525CF7.E26B1A93@infoshop.org.au.xxx> References: <9irt8e$pt0$1@lust.ihug.co.nz> NNTP-Posting-Host: acc9-ppp222.bri.dialup.connect.net.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: perki.connect.com.au 995264445 23801 210.10.197.222 (16 Jul 2001 06:20:45 GMT) X-Complaints-To: abuse@connect.com.au NNTP-Posting-Date: 16 Jul 2001 06:20:45 GMT X-Mailer: Mozilla 4.77 [en] (Win95; U) X-Accept-Language: en