
I am looking for suggestions and maybe even links, on info on setting up a LAN mail server. It needs to collect ISP email and send email to an ISP. So, collect @orcon.net.nz email, store it in imap or what ever and send it back to orcon. No IP address or domain name, just ISP email. I am a complete email server nub, so any help would be great. Mike

I am looking for suggestions and maybe even links, on info on setting up a LAN mail server. It needs to collect ISP email and send email to an ISP.
So, collect @orcon.net.nz email, store it in imap or what ever and send it back to orcon. No IP address or domain name, just ISP email.
I am a complete email server nub, so any help would be great.
Mike
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug -- Oliver Jones » Roving Code Warrior
For a home LAN? Hardware wise a 386 will do. Can't find a 386? Then find a cheap little 486 or Pentium box on Trademe. Modern distros like at least 32MB of ram, preferably more, size of the disk depends on how much mail you want to store. As for the 'setup'. Use fetchmail (has a great man page) as a cron job or daemon to grab the mail and insert into mailboxes on the local system. It can even do multiple email accounts from the one pop mailbox. Use sendmail to route mail in and out. You probably want to look into the sendmail SMART_HOST() m4 macro to tell sendmail to forward all out bound mail to your ISP's mail server. If you're on dial up Sendmail can also be told that all mail is "expensive" and it will only forward mail when told to explicitly (with sendmail -q). You can plug sendmail into your dialup scripts (driven by cron) so that mail gets exchanged at regular intervals. The sendmail documentation on sendmail.org is actually quite good and with a little experimentation you should be able to sort out what you want. You may also want to read the postscript user guide that should be in /usr/share/doc/sendmail. If you want a good Virus/Spam scanner then I recommend MailScanner (mailscanner.info) which plugs into sendmail very nicely. Maia Mailguard is also good. Regards On Tue, 2005-06-07 at 21:06 +1200, Michael Honeyfield wrote: oliver(a)deeperdesign.com » +64 (21) 41 2238 » www.deeperdesign.com

Oliver Jones wrote:
For a home LAN? Hardware wise a 386 will do. Can't find a 386? Then find a cheap little 486 or Pentium box on Trademe. Modern distros like at least 32MB of ram, preferably more, size of the disk depends on how much mail you want to store.
As for the 'setup'. Use fetchmail (has a great man page) as a cron job or daemon to grab the mail and insert into mailboxes on the local system. It can even do multiple email accounts from the one pop mailbox.
Use sendmail to route mail in and out. You probably want to look into the sendmail SMART_HOST() m4 macro to tell sendmail to forward all out bound mail to your ISP's mail server. If you're on dial up Sendmail can also be told that all mail is "expensive" and it will only forward mail when told to explicitly (with sendmail -q). You can plug sendmail into your dialup scripts (driven by cron) so that mail gets exchanged at regular intervals. The sendmail documentation on sendmail.org is actually quite good and with a little experimentation you should be able to sort out what you want. You may also want to read the postscript user guide that should be in /usr/share/doc/sendmail.
If you want a good Virus/Spam scanner then I recommend MailScanner (mailscanner.info) which plugs into sendmail very nicely. Maia Mailguard is also good.
Thank you. Sendmail is what I planned to use as OpenBSD has it installed by default. Any thoughts of dovevot for IMAP? I have heard its good. Cheers Mike

Michael Honeyfield wrote:
Oliver Jones wrote:
For a home LAN? Hardware wise a 386 will do. Can't find a 386? Then find a cheap little 486 or Pentium box on Trademe. Modern distros like at least 32MB of ram, preferably more, size of the disk depends on how much mail you want to store.
As for the 'setup'. Use fetchmail (has a great man page) as a cron job or daemon to grab the mail and insert into mailboxes on the local system. It can even do multiple email accounts from the one pop mailbox. Use sendmail to route mail in and out. You probably want to look into the sendmail SMART_HOST() m4 macro to tell sendmail to forward all out bound mail to your ISP's mail server. If you're on dial up Sendmail can also be told that all mail is "expensive" and it will only forward mail when told to explicitly (with sendmail -q). You can plug sendmail into your dialup scripts (driven by cron) so that mail gets exchanged at regular intervals. The sendmail documentation on sendmail.org is actually quite good and with a little experimentation you should be able to sort out what you want. You may also want to read the postscript user guide that should be in /usr/share/doc/sendmail.
If you want a good Virus/Spam scanner then I recommend MailScanner (mailscanner.info) which plugs into sendmail very nicely. Maia Mailguard is also good.
Thank you. Sendmail is what I planned to use as OpenBSD has it installed by default.
Any thoughts of dovevot for IMAP? I have heard its good.
Cheers
Mike
err.. dovecot.. :/ Mike

Thank you. Sendmail is what I planned to use as OpenBSD has it installed by default.
Any thoughts of dovevot for IMAP? I have heard its good.
No idea. Never used it. Use Cyrus IMAPd mostly. Regards -- Oliver Jones » Roving Code Warrior oliver(a)deeperdesign.com » +64 (21) 41 2238 » www.deeperdesign.com

I am looking for suggestions and maybe even links, on info on setting up a LAN mail server. It needs to collect ISP email and send email to an ISP.
So, collect @orcon.net.nz email, store it in imap or what ever and send it back to orcon. No IP address or domain name, just ISP email.
I am a complete email server nub, so any help would be great.
Mike
Use getmail (much simpler and easier to use than fetchmail) to pickup your email from your isp (crontab, login scripts, any other imaginative way you feel like calling it) Exim4 for email server cos sendmail makes me cry. There are others though - postfix, qmail I've been using Cyrus for the imap server (or there's courier, binc blah blah) So, getmail grabs email from your ISP, pushes it through to exim4 which then delivers it to cyrus for storage. As for sending, the email server makes the outbound connections to where ever it needs to to deliver the email, eg other ISP's, companies etc. It can be configured to send everything through your ISP's email server, but that's not necessary and considerably less geek-worthy. http://pyropus.ca/software/getmail/ http://asg.web.cmu.edu/cyrus/download/imapd/ http://www.exim.org/ The bit that you'll probably find the most difficult about it all is creating a new router in the email server config file. As per usual, read everything you can get your hands on. After that, you can set getmail up to pipe your email through spam filters & virus scanners etc.

As for sending, the email server makes the outbound connections to where ever it needs to to deliver the email, eg other ISP's, companies etc. It can be configured to send everything through your ISP's email server, but that's not necessary and considerably less geek-worthy.
Actually, using your ISP's mail server is better form. Yes running your own is more geeky and you still can run your own server but it should be configured to forward all outbound mail to your ISP's server. The reason for this is that some servers on the Internet do not accept mail from dialup or ADSL IP ranges (in an effort to combat spam). Bigpond.com.au springs to mind. Regards -- Oliver Jones » Roving Code Warrior oliver(a)deeperdesign.com » +64 (21) 41 2238 » www.deeperdesign.com

As for sending, the email server makes the outbound connections to where ever it needs to to deliver the email, eg other ISP's, companies etc. It can be configured to send everything through your ISP's email server, but that's not necessary and considerably less geek-worthy.
It's worth noting that many ISPs (and RBLs etc) will drop (or at least weight highly negatively) any mail originating from an IP that is a registered dynamic block. You might find that running your own MTA on whatever IP your ISP gives you works out ok. Or you might find that some mail gets dropped completely by the receiving MTA, with or without notification. There has also been increasing noise for ISPs to drop any port 25 traffic originating from their dialup/dsl networks, as the vast majority of it is going to be spam. Personally, I wouldn't risk it :) I believe this "correct" solution in this case is for your home LAN email server to smarthost through your ISP's MTA, or through a colocated MTA you or a friendly person controls, making good use of TLS and SMTP auth. It maybe not be as geek-worthy, but it's more robust.

* Daniel Lawson <daniel(a)meta.net.nz> [2005-06-07 23:10]:
It maybe not be as geek-worthy, but it's more robust.
And, let’s be honest, more courteous. Regards, -- Aristotle <http://plasmasturm.org/>

completely by the receiving MTA, with or without notification. There has also been increasing noise for ISPs to drop any port 25 traffic originating from their dialup/dsl networks, as the vast majority of it is going to be spam.
Perry just posted me this link: http://computerworld.co.nz/news.nsf/0/220264123067C2A4CC2570190038909E It seems that Xtra is considering dropping any outgoing port 25 traffic from within their network, as a preventative measure to counter zombies and botnets.

Perry just posted me this link: http://computerworld.co.nz/news.nsf/0/220264123067C2A4CC2570190038909E
It seems that Xtra is considering dropping any outgoing port 25 traffic from within their network, as a preventative measure to counter zombies and botnets.
One thing that I have seen done is that if you want to use port 25 you have to opt in. So by default all users don't have port 25 and then if you want it you just go to webpage and select it - the idea being that you know what you are doing! I think it might have been AOL who did this. Hopefully if people start rolling out port 25 blocks that you will be able to do this and not have to purchase a fixed IP or business account. Ian

Hopefully if people start rolling out port 25 blocks that you will be able to do this and not have to purchase a fixed IP or business account.
Ian
This is Telecom; they'll charge $90 to switch you to an unblocked access plan.. and then charge 'business rates' to keep it open. You really think they'd give that away for free?? -- Disclaimer: Any disclaimer attached to this message may be ignored.

On Wed, Jun 08, 2005 at 11:40:25AM +1200, Ian McDonald wrote:
Perry just posted me this link: http://computerworld.co.nz/news.nsf/0/220264123067C2A4CC2570190038909E
It seems that Xtra is considering dropping any outgoing port 25 traffic from within their network, as a preventative measure to counter zombies and botnets.
One thing that I have seen done is that if you want to use port 25 you have to opt in. So by default all users don't have port 25 and then if you want it you just go to webpage and select it - the idea being that you know what you are doing! I think it might have been AOL who did this.
Hopefully if people start rolling out port 25 blocks that you will be able to do this and not have to purchase a fixed IP or business account.
If there's a way it can be leveraged to make money... James.
participants (8)
-
A. Pagaltzis
-
Daniel Lawson
-
Ian McDonald
-
James Clark
-
Michael Honeyfield
-
Oliver Jones
-
Shane Taylor
-
zcat