From owner-freebsd-questions Mon Nov 27 2:55:36 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ghost.blacktrap.net (20-230.CampusNet.ucl.ac.be [130.104.20.230]) by hub.freebsd.org (Postfix) with ESMTP id C515237B479 for ; Mon, 27 Nov 2000 02:55:33 -0800 (PST) Received: from anoat.blacktrap.net (anoat [192.168.1.11]) by ghost.blacktrap.net (8.11.1/8.11.0) with ESMTP id eARAtVa73727; Mon, 27 Nov 2000 11:55:31 +0100 (CET) (envelope-from lex@blacktrap.net) Received: (from lex@localhost) by anoat.blacktrap.net (8.11.1/8.11.0) id eARAtVM84493; Mon, 27 Nov 2000 11:55:31 +0100 (CET) (envelope-from lex) Date: Mon, 27 Nov 2000 11:55:31 +0100 From: Chive To: "T.K C.Chua" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Sendmail Message-ID: <20001127115531.A20674@blacktrap.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from chewchua@hotmail.com on Mon, Nov 27, 2000 at 09:45:56AM +0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Nov 27, 2000 at 09:45:56AM +0800, T.K C.Chua wrote: > Hi, > How do I test the the mail server? > The problem is who ever setup the server is no more with the company and I'm > new in FreeBSD. Need help. > > Best regards, > chua. Depends of what you want to do with it, but, usually, the best test is to send a mail :P If it does not goes through, look at the end of /var/log/maillog, see if there is anything relevant. If you are sending from another machine on your lan, check that sendmail is accepting mail by telnetting the server on port 25. If it gives you a 'connection refused' error, the server is not even started. If you know a bit of SMTP, you can try typing some commands directly there. Try to see what exactly is wrong with the server: does it refuse your mails, or accept then drop them? After that, it depends a lot of what server you are using and what version of it... For sendmail, you will have to check the handbook, and possibly /usr/src/contrib/sendmail/cf/README. For qmail there is very comprehensive documentation in /var/qmail/doc (including testing and troubleshooting instructions). -- Chive. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message