Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Ubuntu

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-22-2008, 03:56 AM
Jonathan N. Little
 
Posts: n/a
mail server for web development only

What is the best was to setup a mail server for local test web
development only. No problem setting up with Apache, MySql, Bind, but
the array of mail servers is bewildering. Need mail server just to test
cgi and php scripts for development sites. Need to access mailboxes from
my LAN, my workstations are WinXP and servers are Ubuntu. So far all
I have found is either woefully obsolete, overly complicated, and or for
relaying email to and from public internet. I want this only for hosts
on "private.lan" domain.

Anyone point me to a resource?


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Reply With Quote
  #2 (permalink)  
Old 07-22-2008, 04:18 AM
Ignoramus14558
 
Posts: n/a
Re: mail server for web development only

On 2008-07-22, Jonathan N. Little <lws4art@central.net> wrote:
> What is the best was to setup a mail server for local test web
> development only. No problem setting up with Apache, MySql, Bind, but
> the array of mail servers is bewildering. Need mail server just to test
> cgi and php scripts for development sites. Need to access mailboxes from
> my LAN, my workstations are WinXP and servers are Ubuntu. So far all
> I have found is either woefully obsolete, overly complicated, and or for
> relaying email to and from public internet. I want this only for hosts
> on "private.lan" domain.
>
> Anyone point me to a resource?


postfix is very easy. I would say use postfix. It should be good to
use as-installed.
--
Due to extreme spam originating from Google Groups, and their inattention
to spammers, I and many others block all articles originating
from Google Groups. If you want your postings to be seen by
more readers you will need to find a different means of
posting on Usenet.
http://improve-usenet.org/
Reply With Quote
  #3 (permalink)  
Old 07-22-2008, 12:01 PM
Jonathan N. Little
 
Posts: n/a
Re: mail server for web development only

Ignoramus14558 wrote:
> On 2008-07-22, Jonathan N. Little <lws4art@central.net> wrote:
>> What is the best was to setup a mail server for local test web
>> development only. No problem setting up with Apache, MySql, Bind, but
>> the array of mail servers is bewildering. Need mail server just to test
>> cgi and php scripts for development sites. Need to access mailboxes from
>> my LAN, my workstations are WinXP and servers are Ubuntu. So far all
>> I have found is either woefully obsolete, overly complicated, and or for
>> relaying email to and from public internet. I want this only for hosts
>> on "private.lan" domain.
>>
>> Anyone point me to a resource?

>
> postfix is very easy. I would say use postfix. It should be good to
> use as-installed.


So I have read, but all the configuration examples|tutorials have it
allowing "outside" connection. I only want "intra-LAN". Do I have to
install it to get more complete info?

Came across exim that seems to show LAN-only mail configuration...any
comments?


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Reply With Quote
  #4 (permalink)  
Old 07-22-2008, 12:15 PM
Niklaus Kuehnis
 
Posts: n/a
Re: mail server for web development only

Jonathan N. Little <lws4art@central.net> wrote:

> Came across exim that seems to show LAN-only mail configuration...any
> comments?


exim4 is a MTA. It only does smtp/lmtp, no pop3 or imap. It can put
e-mail sent locally into a local mailbox file.

--
Niklaus
Reply With Quote
  #5 (permalink)  
Old 07-22-2008, 01:02 PM
Jonathan N. Little
 
Posts: n/a
Re: mail server for web development only

Niklaus Kuehnis wrote:
> Jonathan N. Little <lws4art@central.net> wrote:
>
>> Came across exim that seems to show LAN-only mail configuration...any
>> comments?

>
> exim4 is a MTA. It only does smtp/lmtp, no pop3 or imap. It can put
> e-mail sent locally into a local mailbox file.
>

I have experience in a number of things but mail servers is not one of
them, so pardon me as I ask for some clarification. So exim4 as an MTA
can only receive requests says from a script and store the message on
the server's local mailbox file but cannot deliver the message to some
other computer on the LAN via an email client?

Whereas postfix is handles both processes? If postfix is what I need
then can anyone please point to to some info that explains how to set it
up as a local LAN-only mail server? Plain English would help. TIA

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Reply With Quote
  #6 (permalink)  
Old 07-22-2008, 01:04 PM
Ignoramus2245
 
Posts: n/a
Re: mail server for web development only

On 2008-07-22, Jonathan N. Little <lws4art@central.net> wrote:
> Niklaus Kuehnis wrote:
>> Jonathan N. Little <lws4art@central.net> wrote:
>>
>>> Came across exim that seems to show LAN-only mail configuration...any
>>> comments?

>>
>> exim4 is a MTA. It only does smtp/lmtp, no pop3 or imap. It can put
>> e-mail sent locally into a local mailbox file.
>>

> I have experience in a number of things but mail servers is not one of
> them, so pardon me as I ask for some clarification. So exim4 as an MTA
> can only receive requests says from a script and store the message on
> the server's local mailbox file but cannot deliver the message to some
> other computer on the LAN via an email client?


both exim4 and postfix can do it and both are easy to use.

> Whereas postfix is handles both processes? If postfix is what I need
> then can anyone please point to to some info that explains how to set it
> up as a local LAN-only mail server? Plain English would help. TIA
>


sudo aptitude install postfix

should ask you some questions such as how your computer is set up
etc.
--
Due to extreme spam originating from Google Groups, and their inattention
to spammers, I and many others block all articles originating
from Google Groups. If you want your postings to be seen by
more readers you will need to find a different means of
posting on Usenet.
http://improve-usenet.org/
Reply With Quote
  #7 (permalink)  
Old 07-22-2008, 04:22 PM
Niklaus Kuehnis
 
Posts: n/a
Re: mail server for web development only

Jonathan N. Little <lws4art@central.net> wrote:
> Niklaus Kuehnis wrote:
> > Jonathan N. Little <lws4art@central.net> wrote:
> >

> I have experience in a number of things but mail servers is not one of
> them, so pardon me as I ask for some clarification. So exim4 as an MTA
> can only receive requests says from a script and store the message on
> the server's local mailbox file but cannot deliver the message to some
> other computer on the LAN via an email client?
> Whereas postfix is handles both processes? If postfix is what I need
> then can anyone please point to to some info that explains how to set it
> up as a local LAN-only mail server? Plain English would help. TIA


I may not be more of an expert on this topic than you are. From what
you wrote/write I thought you needed a server from which a user can
remotely pull mail using an e-mail client. If that's correct, I'd say
you need a POP3 or IMAP server.

exim and postfix are both MTAs and do roughly the same. They can send
mail from one machine to another (or to localhost) using smtp. They
will not send to an e-mail client directly.

HTH a bit,
Niklaus
Reply With Quote
  #8 (permalink)  
Old 07-22-2008, 04:23 PM
Ian Pawson
 
Posts: n/a
Re: mail server for web development only

Jonathan N. Little wrote:
> Niklaus Kuehnis wrote:
>> Jonathan N. Little <lws4art@central.net> wrote:
>>
>>> Came across exim that seems to show LAN-only mail configuration...any
>>> comments?

>>
>> exim4 is a MTA. It only does smtp/lmtp, no pop3 or imap. It can put
>> e-mail sent locally into a local mailbox file.
>>

> I have experience in a number of things but mail servers is not one of
> them, so pardon me as I ask for some clarification. So exim4 as an MTA
> can only receive requests says from a script and store the message on
> the server's local mailbox file but cannot deliver the message to some
> other computer on the LAN via an email client?
>
> Whereas postfix is handles both processes? If postfix is what I need
> then can anyone please point to to some info that explains how to set it
> up as a local LAN-only mail server? Plain English would help. TIA
>

It works on the local lan by default. You have to setup a mailbox for
each user and then decide how the user will access their mail ie
pop3/imap/web. You will then need to install a package to handle this.
Have a look at squirrelmail and dovecot. As in all things Linux, there
are endless choices for what you want to do.
Reply With Quote
  #9 (permalink)  
Old 07-23-2008, 01:39 AM
Jonathan N. Little
 
Posts: n/a
Re: mail server for web development only

Ian Pawson wrote:

> It works on the local lan by default. You have to setup a mailbox for
> each user and then decide how the user will access their mail ie
> pop3/imap/web. You will then need to install a package to handle this.
> Have a look at squirrelmail and dovecot. As in all things Linux, there
> are endless choices for what you want to do.


Wound up using postfix + dovecot. Seems to do what I need, php scripts
are able to send messages and I am able to retrieve them from
Thunderbird on my workstation.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Reply With Quote
  #10 (permalink)  
Old 07-23-2008, 01:00 PM
Florian Diesch
 
Posts: n/a
Re: mail server for web development only

"Jonathan N. Little" <lws4art@central.net> wrote:

> What is the best was to setup a mail server for local test web
> development only. No problem setting up with Apache, MySql, Bind, but
> the array of mail servers is bewildering. Need mail server just to
> test cgi and php scripts for development sites. Need to access
> mailboxes from my LAN, my workstations are WinXP and servers are
> Ubuntu. So far all I have found is either woefully obsolete, overly
> complicated, and or for relaying email to and from public internet. I
> want this only for hosts on "private.lan" domain.
>
> Anyone point me to a resource?


Install postfix or exim and choose "Local delivery only" when
asked. Should work out of the box.

Florian
--
<http://www.florian-diesch.de/>
-----------------------------------------------------------------------
** Hi! I'm a signature virus! Copy me into your signature, please! **
-----------------------------------------------------------------------
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:07 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109