[Herefordshire] Mail Server

Mark Broadbent markb at wetlettuce.com
Wed Nov 24 19:29:49 GMT 2004


Hi Gary,

Gary Watts wrote:

> Thanks Mark
>  
> I couldn't get the netstat -lp | grep -i smtp command to work, but 
> everything else seems to be in place.  


Should have mentioned that it should be run as root.

 > I'm now getting the message
> "could not lock /var/mail/spool/gary".

Does it exist?  Are the permissions set correctly?

Thanks
Mark

> I've had to abandon this project now as the deadline has passed - 
> regrettably I've had to install a Windows-based solution that took less 
> then 5 minutes to install and configure, but I expect it to go wrong 
> before long.
>  
> Worth a try though and if anyone else has any ideas I'll try them when 
> I've got a bit more time.
>  
> Thanks again
>  
> Gary
>  
> 
>     -----Original Message-----
>     *From:* herefordshire-bounces at mailman.lug.org.uk
>     [mailto:herefordshire-bounces at mailman.lug.org.uk]*On Behalf Of *Mark
>     Broadbent
>     *Sent:* 22 November 2004 19:45
>     *To:* Herefordshire Linux Users Group.
>     *Subject:* RE: [Herefordshire] Mail Server
> 
>     Hi Gary,
> 
>     On Sun, 2004-11-21 at 22:28 +0000, Gary Watts wrote:
> 
>>Hi
>>
>>I think I've made some progress.
>>
>>Telnet 192.168.3.2 25 works
>>
>>None of the others do though and for some reason I can't reference the PC as localhost or 127.0.0.1, so I suspect DNS has gone awry somewhere.
> 
>     Check the configuration file for the SMTP server and ensure in
>     doesn't bind to a particular IP address.  A good way to check is to do:
> 
>     # netstat -lp |grep -i smtp
> 
>     This is the output of my mail server:
> 
>     tcp6       0      0 *:smtp                  *:*                    
>     LISTEN     1693/exim
> 
>     Notice the *:smtp means it'll respond on the SMTP port on any IP
>     address.
> 
>     Next, check your /etc/hosts file contains the line:
> 
>     127.0.0.1    localhost    localhost.localdomain
> 
>     Note using IP addresses doesn't use DNS.
> 
>>I have managed to send mail out and it has arrived at it's destination, so SMTP seems to be working well enough for now.
>>
>>POP on port 110 is still the main problem though.
> 
>     What package are you using to provide the POP3 daemon? Is it
>     running? Firewall appropriately set to let through packets to port 110?
> 
>     If your using postfix try (for a Fedora based system):
> 
>     Enable the daemon to start at system startup
>     # chkconfig postfix on
> 
>     Start the postfix daemon right now
>     # service postfix start
> 
>     or for a Debian based system:
> 
>     # /etc/init.d/postfix start
> 
>     and check it's running using:
> 
>     # ps aux | grep -i postfix | grep -v grep
> 
>     There's a few ideas, let us know how it goes.
> 
>     Thanks
>     Mark
> 
>>Gary
>>
>>
>>-----Original Message-----
>>From: Andrew Hodgson [mailto:andrew at hodgsonfamily.org <mailto:andrew at hodgsonfamily.org>]
>>Sent: 21 November 2004 19:12
>>To: Herefordshire Linux Users Group.
>>Subject: RE: [Herefordshire] Mail Server
>>
>>
>>Hi,
>>
>>DNS - not at this stage.  Can you do the following:
>>>From the Linux machine:
>>1.  telnet 127.0.0.1 25 (you should get the SMTP banner up)
>>2.  telnet 127.0.0.1 110 (pop banner)
>>3.  telnet 127.0.0.1 143 (IMAP banner)
>>4.  Telnet as above, using the 192.168.x.x IP).
>>
>>Then try the same using a Windows machine, using 192.168.x.x IP.
>>
>>My guess is the Daemons aren't autostarting.
>>
>>Andrew.
>>
>>-----Original Message-----
>>From: herefordshire-bounces at mailman.lug.org.uk <mailto:herefordshire-bounces at mailman.lug.org.uk>
>>[mailto:herefordshire-bounces at mailman.lug.org.uk <mailto:herefordshire-bounces at mailman.lug.org.uk>] On Behalf Of Gary
>>Watts
>>Sent: 21 November 2004 19:10
>>To: Herefordshire Linux Users Group.
>>Subject: RE: [Herefordshire] Mail Server
>>
>>Hi
>>
>>How can I make the Daemons listen on that IP?  I presume I'm running POP
>>daemons - how can I tell?  Nothing I've tried on either the local PC or
>>another one on the LAN works.  I guess there's something really
>>fundamental that I'm not aware of.  Does DNS have anything to do with
>>it?
>>
>>Gary
>>
>>
>>-----Original Message-----
>>From: Andrew Hodgson [mailto:andrew at hodgsonfamily.org <mailto:andrew at hodgsonfamily.org>]
>>Sent: 21 November 2004 18:41
>>To: Herefordshire Linux Users Group.
>>Subject: RE: [Herefordshire] Mail Server
>>
>>
>>Hi,
>>
>>Simply the Daemons are not listening on that ip (you should use the
>>xxx.xxx.xxx.xxx address, don't add anything to it), from the local
>>machine you can use 127.0.0.1, localhost or sometimes
>>localhost.localdomain.  Fetchmail by default usually shoves stuff
>>through the MTA, so either it is using the internal mail command or it
>>is getting access ok.  Also are you running POP or IMAP daemons.
>>
>>Andrew.
>>
>>-----Original Message-----
>>From: herefordshire-bounces at mailman.lug.org.uk <mailto:herefordshire-bounces at mailman.lug.org.uk>
>>[mailto:herefordshire-bounces at mailman.lug.org.uk <mailto:herefordshire-bounces at mailman.lug.org.uk>] On Behalf Of Gary
>>Watts
>>Sent: 21 November 2004 18:03
>>To: Herefordshire Linux Users Group.
>>Subject: RE: [Herefordshire] Mail Server
>>
>>Hi Andrew
>>
>>I followed your advice re: Fetchmail and it is retrieving mail nicely
>>from 4 different domains and putting them into the relevant user
>>mailboxes on my Fedora server.
>>
>>Haven't managed to get Postfix working yet, or Sendmail.
>>
>>The big problem now is this.  I cannot retrieve any of the mail sat on
>>the Fedora machine from my mail client (Outlook).  The Fedora server on
>>the Samba domain "CMC" is called "CMCTS" and is on IP address
>>192.168.3.2.  How do I refer to it from my mail client in the server
>>settings?
>>
>>I have tried the following in both the POP3 and SMTP fields:
>>
>>192.168.3.2
>>cmcts
>>192.168.3.2.cmc
>>cmcts.cmc
>>192.168.3.2.cmc.local
>>cmcts.cmc.local
>>
>>I have also tried these in Ximian Evolution, which is actually running
>>on the same machine as Fetchmail. Postfix and Sendmail plus:
>>
>>127.0.0.1
>>localhost
>>127.0.0.1.cmc
>>localhost.cmc
>>127.0.0.1.cmc.local
>>localhost.cmc.local
>>
>>The mail servers simply cannot be seen!
>>
>>Any help greatly appreciated.
>>
>>Gary
>>
>>
>>
>>
>>
>>
>>
>>
>>-----Original Message-----
>>From: Andrew Hodgson [mailto:andrew at hodgsonfamily.org <mailto:andrew at hodgsonfamily.org>]
>>Sent: 20 November 2004 17:57
>>To: Gary Watts (external); Herefordshire Linux Users Group.
>>Subject: RE: [Herefordshire] Mail Server
>>
>>
>>Hi,
>>
>>You need Fetchmail to fetch messages from pop server.  Use
>>Postfix/Qmail, not Sendmail because if SM gets screwed you end up with a
>>mess plus security holes in your install.
>>
>>Andrew. 
>>
>>-----Original Message-----
>>From: herefordshire-bounces at mailman.lug.org.uk <mailto:herefordshire-bounces at mailman.lug.org.uk>
>>[mailto:herefordshire-bounces at mailman.lug.org.uk <mailto:herefordshire-bounces at mailman.lug.org.uk>] On Behalf Of Gary
>>Watts
>>Sent: 20 November 2004 11:49
>>To: 'Herefordshire Linux Users Group.'
>>Subject: [Herefordshire] Mail Server
>>
>>Hi
>>
>>I want to setup a simple mail server at home for 4 users.
>>
>>I have Dovecot and Sendmail install on Fedora 2.
>>
>>Anybody got any experience with these?  My first problem is how to
>>configure dovecot t retrieve e-mails from my ISP and delivery them into
>>the apppropriate users mailboxes.
>>
>>Gary
>>
>>
>>
>>-----Original Message-----
>>From: herefordshire-bounces at mailman.lug.org.uk <mailto:herefordshire-bounces at mailman.lug.org.uk>
>>[mailto:herefordshire-bounces at mailman.lug.org.uk <mailto:herefordshire-bounces at mailman.lug.org.uk>]On Behalf Of Julian
>>Robbins
>>Sent: 13 November 2004 14:01
>>To: Herefordshire Linux Users Group.
>>Subject: [Herefordshire] UbuntuLinux FREE CD's avaliable
>>
>>
>>Hi
>>
>>If you have not come across it before, Ubuntu is a new Linux
>>distribution that is very, very promising. I already run it as my main
>>Linux of choice at home ! (displacing my Mandrake 10.1 which never
>>seemed to work quite right).
>>
>>Why should you consider Ubuntu ?
>>
>>1) It's based on Debian, which most Linux users would suggest is the
>>most stable, usable system.
>>
>>2) It uses apt-get in all its glory, an extremely easy to use
>>Packagement Management & Update system, to grab more than 10000 packages
>>down from cmd line or from a simple but powerful GUI. Bit like urpmi or
>>yum, but much better. You can even upgrade the all of your distro from
>>here !!
>>
>>3) Where Debian always got me and most others was its old-fashioned
>>installation routine. Although, Debian's installer has improved a lot of
>>late, Ubuntu still has an easier more straightforward text based system.
>>
>>4) The default package choice is excellent, with firefox the main
>>browser (ver 1.0PR), evolution and thunderbird as possible mail clients.
>>
>>5) It's based on the brand new Gnome 2.8. I used to always go for KDE,
>>since vers 1.0 of KDE, but to be honest after trying out Ubuntu I really
>>like Gnome as I can get the job done so much better and faster. The
>>fonts are so well presented, in fact the presentation generally through
>>the distro, is very polished, more so than any I've seen.
>>
>>6) It's fast - my 1.1 GHz Athlon feels like XP @ at around 2.5 GHz !!
>>Everything runs very snappily.
>>
>>7) It's free, and will remain free. You can even get paid support if you
>>wish.
>>
>>I get the feeling that Ubuntu will become one of the major players in
>>linux, especially on the desktop. The beauty is that as its Debian
>>based, it is also such a good choice as a server platform too.
>>
>>
>>If anyone's interested, I have ordered 10 cd's from them (they're
>>available FREE but only till TODAY !!!). Even the postage is FREE !!
>>www.ubuntulinux.org <http://www.ubuntulinux.org>
>>
>>Don't know when I will get them but will bring them along to a future
>>LUG meeting.
>>
>>Hopefully will download the CD based version (knoppix like) so that we
>>can see it up and running on Thursday at HCT.
>>
>>Hope we'll have a good turn out Thursday, as Box as excelled himself
>>with getting such a good venue.
>>
>>We have a couple of new members recently signed up that I hope will be
>>able to attend Thursday. For any new members, please feel free to
>>introduce yourself via the list, with a little about what you want out
>>of Linux/Open source Software, and what you hope to get out of the LUG.
>>
>>We were all new to Linux at some time, and the Herefordshire LUG tries
>>to be helpful to EVERYONE whatever their experience, skill level and
>>background.
>>
>>See you all Thursday,
>>
>>Cheers
>>
>>Julian
>>
>>_______________________________________________
>>Herefordshire mailing list
>>Herefordshire at mailman.lug.org.uk <mailto:Herefordshire at mailman.lug.org.uk>
>>http://mailman.lug.org.uk/mailman/listinfo/herefordshire
>>
>>
>>
>>_______________________________________________
>>Herefordshire mailing list
>>Herefordshire at mailman.lug.org.uk <mailto:Herefordshire at mailman.lug.org.uk>
>>http://mailman.lug.org.uk/mailman/listinfo/herefordshire
>>
>>_______________________________________________
>>Herefordshire mailing list
>>Herefordshire at mailman.lug.org.uk <mailto:Herefordshire at mailman.lug.org.uk>
>>http://mailman.lug.org.uk/mailman/listinfo/herefordshire
>>
>>
>>
>>_______________________________________________
>>Herefordshire mailing list
>>Herefordshire at mailman.lug.org.uk <mailto:Herefordshire at mailman.lug.org.uk>
>>http://mailman.lug.org.uk/mailman/listinfo/herefordshire
>>
>>_______________________________________________
>>Herefordshire mailing list
>>Herefordshire at mailman.lug.org.uk <mailto:Herefordshire at mailman.lug.org.uk>
>>http://mailman.lug.org.uk/mailman/listinfo/herefordshire
>>
>>
>>
>>_______________________________________________
>>Herefordshire mailing list
>>Herefordshire at mailman.lug.org.uk <mailto:Herefordshire at mailman.lug.org.uk>
>>http://mailman.lug.org.uk/mailman/listinfo/herefordshire
>>
>>_______________________________________________
>>Herefordshire mailing list
>>Herefordshire at mailman.lug.org.uk <mailto:Herefordshire at mailman.lug.org.uk>
>>http://mailman.lug.org.uk/mailman/listinfo/herefordshire
>>
>>
>>
>>_______________________________________________
>>Herefordshire mailing list
>>Herefordshire at mailman.lug.org.uk <mailto:Herefordshire at mailman.lug.org.uk>
>>http://mailman.lug.org.uk/mailman/listinfo/herefordshire
>>
>     -- 
>     Mark Broadbent <markb at wetlettuce.com <mailto:markb at wetlettuce.com>>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Herefordshire mailing list
> Herefordshire at mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/herefordshire




More information about the Herefordshire mailing list