From owner-freebsd-questions Tue Jun 25 5:24:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id 197F637B405 for ; Tue, 25 Jun 2002 05:24:52 -0700 (PDT) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Tue, 25 Jun 2002 13:24:18 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 17MpLi-00010L-00; Tue, 25 Jun 2002 13:23:10 +0100 Date: Tue, 25 Jun 2002 13:23:10 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: Joe & Fhe Barbish Cc: Paul Everlund , FBSDQ Subject: RE: Periodic mails In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 25 Jun 2002, Joe & Fhe Barbish wrote: > The connection attempt message you see in your /var/log/messages is > generated by the log-in-vain rc.conf option because you do not have > software listening on port 25 the pop3 server front door. > Do you have qpopper installed? Eh? Port 25 is for SMTP, not POP. > Do nslookup 192.168.0.5 to see what that ip address is. The address given is a nonrouable local address; potentially the address attached to an internal NIC. > In 4.6 the sendmail program was updated to a newer release level. > If you are using some other MTA as a replacement for sendmail then you > must use sendmail_enable="NONE" to totally deactivate the sendmail MTA. > Your periodic mails are generated by CRON, not the MTA. The MTA just > delivers the mail and acts as the post office. Look in your MTA log for > messages which may point you to the real reason your periodic mails > are being not delivered. The periodic mails default to user root, > are you checking the correct? > > > > > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Paul Everlund > Sent: Tuesday, June 25, 2002 6:46 AM > To: freebsd-questions@freebsd.org > Subject: Periodic mails > > Hi again! > > Thanks for the two replies I got, but unfortunately none > of them did help, so I try again... > > In 4.5 I had sendmail_enable="NO" and got my periodic mails. > > In 4.6 I have sendmail_enable="NONE" and do not get any > periodic mails. > > In /var/log/messages I see: > Jun 25 03:02:57 fw /kernel: Connection attempt to > TCP 213.64.yy.xx:25 from 192.168.0.5:1325 > > Should I set sendmail_enable to "NO" in 4.6, instead of > "NONE" to recieve them? If that's the case, what security > risks are there by using "NO"? > > Would appreciate an answer from any one out there who can > help me out! :-) There are now four (count 'em!) sendmail switches that can be used in /etc/rc.conf - see your updated /etc/default/rc.conf for details. This was discussed in freebsd-stable when the changeover happened, so you may find more information there. Anyhoo, they are: sendmail_enable="YES" # Run the sendmail inbound daemon (YES/NO/NONE). # If NONE, don't start any sendmail processes. sendmail_submit_enable="YES" # Start a localhost-only MTA for mail submission sendmail_outbound_enable="YES" # Dequeue stuck mail (YES/NO). sendmail_msp_queue_enable="YES" # Dequeue stuck clientmqueue mail (YES/NO). You probably want NO, YES, YES, YES, respectively. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk YKYBPTMRogueW... you try to move diagonally in vi. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message