Penguin
Diff: LocalMailRepository
EditPageHistoryDiffInfoLikePages

Differences between current version and previous revision of LocalMailRepository.

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 3 Last edited on Tuesday, June 1, 2004 11:43:24 pm by MattBrown
Older page: version 2 Last edited on Sunday, November 17, 2002 11:26:38 pm by PerryLorier Revert
@@ -1,15 +1,15 @@
 If you're sick of your ISP's shitty mail service, or want to be able to get at all your email from multiple machines, you might want to look at establishing a Local Mail Repository. 
  
 You will need: 
  
-* an imap server (see MailServerNotes)  
-* a MTA 
+* an [IMAP] server  
+* a [ MTA]  
 * fetchmail(1) 
  
-If you run a 'traditional' Linux like RedHat or DebianLinux you might have an IMAP server already installed. If not then grab the RPM/deb and install it. RedHat still defaults to using wu-imapd which is fine for people who don't have mailboxes with > 1000 messages in them like I do. wu-imapd uses /var/spool/mail/<username> for the inbox and /home/<username>/mail/ as the storage folder for other mail folders. This is compatiable with the pine mail reader which was also developed at WU. Other mail readers are also compatible with this system. And of course any IMAP enabled mail reader will work. Outlook Express , Netscape Mail, Eudora et al. 
+If you run a 'traditional' Linux like RedHat or DebianLinux you might have an [ IMAP] server already installed. If not then grab the [ RPM] /deb and install it. RedHat still defaults to using wu-imapd which is fine for people who don't have mailboxes with > 1000 messages in them like I do. wu-imapd uses /var/spool/mail/<username> for the inbox and /home/<username>/mail/ as the storage folder for other mail folders. This is compatiable with the pine mail reader which was also developed at WU. Other mail readers are also compatible with this system. And of course any [ IMAP] enabled mail reader will work. OutlookExpress , Netscape Mail, Eudora et al. 
  
-wu-imapd is envoked from (x)inetd. The deb or RPM should take care of enabling the service for you. If not then use chkconfig or whatever to enable it. Once it is running check you can connect to it from an IMAP mail client. Use mail on the linux command line to send a message to yourself and check that you can move it around and put it in different folders etc on the IMAP server via you IMAP client. 
+wu-imapd is envoked from (x)inetd. The deb or [ RPM] should take care of enabling the service for you. If not then use chkconfig or whatever to enable it. Once it is running check you can connect to it from an [ IMAP] mail client. Use mail on the linux command line to send a message to yourself and check that you can move it around and put it in different folders etc on the [ IMAP] server via your [ IMAP] client. 
  
 Fetchmail is also easy to setup. All you do is create .fetchmailrc files in each user's account that look like this: 
  
  poll popserver.isp.co.nz with protocol pop3, 
@@ -17,9 +17,9 @@
  fetchall, pass8bits 
  
 The .fetchmailrc should be mode 0600. 
  
-I used to also do multidrop mail (ie, all mail for @somedomain.co.nz is delivered to a single ISP pop mail box). However it is years since I used that particular feature of fetchmail. If I remember rightly it is really easy to setup. Just read the MULTIDROP man page section. 
+I used to also do multidrop mail (ie, all mail for @somedomain.co.nz is delivered to a single [ ISP] [POP3] mail box). However it is years since I used that particular feature of fetchmail. If I remember rightly it is really easy to setup. Just read the MULTIDROP man page section. 
  
 To test it works su to accountname and run fetchmail. fetchmail should print out progress on the screen. 
  
 Fetchmail has a daemon mode but I've never used it. Instead I wrote a cron job and chucked it in /etc/cron.hourly. The perl script is as attached.