From owner-freebsd-questions@FreeBSD.ORG Sat Jan 5 20:09:02 2008 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 552F416A41A for ; Sat, 5 Jan 2008 20:09:02 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by mx1.freebsd.org (Postfix) with ESMTP id 3390913C442 for ; Sat, 5 Jan 2008 20:09:02 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so11839592waf.3 for ; Sat, 05 Jan 2008 12:09:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=63BWtH2JprF1uw7Ft54vWEofLpNIcsUhwFUhh7LRYcU=; b=bB2aY/okPk4qW3tfqMjEkwlsP/m4zqDv+O5NxuIzEuwiEJF4fMkp6tQ0pRVVEcdG7FmjFTrV4aCY6leY+aPptzck3syBqo4B8wirQxn/YGGBXxcvvU3hlTt4fpwjoVqr8S8PUui0rvDhliPg5UEQ1QjEpDFlNvOBBl8eOlOu86E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=bR3XXz0wwAlnTf+VXMr8gDT3g/09fesjtIUkKeq4oNEOQLS1SBPLrCzX9e4aQP0iZPgdP00AeSs9bjJL0j0ic0x4Q7sK1857wlifiFwwFpql8whxCOu6vpjxn56zJFcQd7UqfZKcK+mRFNc9D8T7+fLzFqBgQJ4psBbaL4+QP7s= Received: by 10.114.177.1 with SMTP id z1mr19612131wae.144.1199563740937; Sat, 05 Jan 2008 12:09:00 -0800 (PST) Received: from sniper ( [75.167.131.116]) by mx.google.com with ESMTPS id k35sm31631514waf.30.2008.01.05.12.09.00 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 05 Jan 2008 12:09:00 -0800 (PST) From: Andrew Falanga To: FreeBSD Questions Date: Sat, 5 Jan 2008 13:08:53 -0700 User-Agent: KMail/1.9.6 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801051308.53420.af300wsm@gmail.com> Subject: My sendmail appears to be fixed, advice needed though 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: Sat, 05 Jan 2008 20:09:02 -0000 Hi everybody, Sorry for this flurry of e-mail from me over the last few days. This has been highly frustrating. At any rate, I think I've worked it out. Although, I'd like to have some folks look over this .mc file and tell me if the fix is legitimate. Basically, the instructions for setting up SSL and Authentication (from http://www.puresimplicity.net/~hemi/freebsd/sendmail.html) instruct to have the following lines in the .mc file: define(`confAUTH_MECHANISMS',`PLAIN LOGIN')dnl TRUST_AUTH_MECH(`PLAIN LOGIN')dnl define(`CERT_DIR', `/etc/mail/certs')dnl define(`confCACERT_PATH', `CERT_DIR')dnl define(`confCACERT', `CERT_DIR/mycert.pem')dnl define(`confSERVER_CERT', `CERT_DIR/mycert.pem')dnl define(`confSERVER_KEY', `CERT_DIR/mykey.pem')dnl define(`confCLIENT_CERT', `CERT_DIR/mycert.pem')dnl define(`confCLIENT_KEY', `CERT_DIR/mykey.pem')dnl DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl I deleated this line: DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl And all is working ok now (at least it seems so). I also went over Josh's instructions with a finer tooth comb than before (I skipped a couple of steps because they looked identical to what was in the FreeBSD handbook for this, but found there were some very subtle differences). After recompiling and installing a new sendmail binary per Josh's instructions at the above line, I actually still have the "can't bind to port" problems, but things are now working as I said, without that line in the *.mc file. Is this a viable fix or will I be missing something? I was able to telnet to port 25 and send mail that way. I cannot relay without logging in, so I think it's fixed. Andy