From owner-freebsd-questions@FreeBSD.ORG Tue Jul 19 14:28:07 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DBF1106566B for ; Tue, 19 Jul 2011 14:28:07 +0000 (UTC) (envelope-from ssgriffonuser@gmail.com) Received: from mail-pz0-f49.google.com (mail-pz0-f49.google.com [209.85.210.49]) by mx1.freebsd.org (Postfix) with ESMTP id 247958FC21 for ; Tue, 19 Jul 2011 14:28:06 +0000 (UTC) Received: by pzk33 with SMTP id 33so6528159pzk.8 for ; Tue, 19 Jul 2011 07:28:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; bh=1CfhybaM4y82F3b4uCEg0yyHr1Qq9/OZBKoWk/yBr0I=; b=LjY3cIratUTym6xib2FS3Sb0E9TixklQJ07s9hxmtRr6rzizBZiT4HnMvB7HdyZjE7 ACjvN/6TyiGkF17lNf4ZIwUiRzWLA32Ji9WjmqAadqy3q/TghtLlndE4UIfYMoLkEt4C p9c6j8HIxeceEz/l5ZyaddayCAHmvHYFbvRss= Received: by 10.142.44.14 with SMTP id r14mr1669629wfr.49.1311084239898; Tue, 19 Jul 2011 07:03:59 -0700 (PDT) Received: from [192.168.1.5] (ip24-251-146-122.ph.ph.cox.net [24.251.146.122]) by mx.google.com with ESMTPS id l15sm4192318wfh.6.2011.07.19.07.03.58 (version=SSLv3 cipher=OTHER); Tue, 19 Jul 2011 07:03:59 -0700 (PDT) Message-ID: <4E252C5E.8090803@gmail.com> Date: Tue, 19 Jul 2011 00:03:58 -0700 From: ssgriffonuser User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.17) Gecko/20110610 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Mailman-Approved-At: Tue, 19 Jul 2011 15:39:48 +0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Sendmail not accepting connections on port 25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2011 14:28:07 -0000 Hi all, I'm having difficulty getting sendmail set up on my server. I can send and receive to localhost and I can send to external networks but I can not receive from external networks (I receive a 550: Address rejected). Netstat says sendmail is listening on port 25 but I cannot telnet to it. When I do a port scan of the server, nmap does not show anything on port 25 but does show smtp on 587. As far as configuration goes, I added my hostname to /etc/mail/local-host-names and created a /etc/host/virtusertable that looks like: admin@host.com shane shane@host.com shane then I ran 'make all install restart' . A couple more things that might be useful, I have a second ethernet interface that I am guessing my provider uses for maintenance (internal lan) and I shut my firewall completely off while testing. The output of netstat and (filtered) nmap is: netstat -a | grep smtp*: *tcp6**0 0 0 *.smtp *.* LISTEN tcp4**0 0 0 *.smtp *.* LISTEN nmap -A -T4 gatanova.com Starting Nmap 5.51 ( http://nmap.org ) at 2011-07-18 22:27 MST Not shown: 996 filtered ports PORT STATE SERVICE VERSION 587/tcp open smtp Sendmail 8.14.4/8.14.4 | smtp-commands: gatanova Hello ip24-251-146-122.ph.ph.cox.net [24.251.146.122], pleased to meet you, ENHANCEDSTATUSCODES, PIPELINING, 8BITMIME, SIZE, DSN, DELIVERBY, HELP |_ 2.0.0 This is sendmail version 8.14.4 2.0.0 Topics: 2.0.0 HELO EHLO MAIL RCPT DATA 2.0.0 RSET NOOP QUIT HELP VRFY 2.0.0 EXPN VERB ETRN DSN AUTH 2.0.0 STARTTLS 2.0.0 For more info use "HELP ". 2.0.0 To report bugs in the implementation see 2.0.0 http://www.sendmail.org/email-addresses.html 2.0.0 For local information send email to Postmaster at your site. 2.0.0 End of HELP info Any help is greatly appreciated!