From owner-freebsd-questions@FreeBSD.ORG Sun Apr 3 15:36:39 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C34E216A4CE for ; Sun, 3 Apr 2005 15:36:39 +0000 (GMT) Received: from web54007.mail.yahoo.com (web54007.mail.yahoo.com [206.190.36.231]) by mx1.FreeBSD.org (Postfix) with SMTP id 4285043D3F for ; Sun, 3 Apr 2005 15:36:39 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: (qmail 44111 invoked by uid 60001); 3 Apr 2005 15:36:38 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=Z4OMgS6Jq8CrFUwfuJiLIh64/cqmfnmju51G5cLlfoHjo6Khua05u1OE2e66nx4v1wxs6trgi/gtIYoaw05X8tT4QAT7/IRybBjXq8OD30FzKCMEIGUJXIUa0EEv9qK5AddGZRgdC2EohOVg91MQ5WkeKZ8LoK66jTS7ddfbncw= ; Message-ID: <20050403153638.44109.qmail@web54007.mail.yahoo.com> Received: from [147.47.254.184] by web54007.mail.yahoo.com via HTTP; Sun, 03 Apr 2005 08:36:38 PDT Date: Sun, 3 Apr 2005 08:36:38 -0700 (PDT) From: Rob To: emanuel.strobl@gmx.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: FreeBSD questions Subject: Re: FreeBSD server behind router-NAT; how to configure sendmail? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Apr 2005 15:36:39 -0000 Emanuel Strobl wrote:\> > If you don't have /etc/mail/yourhostname.domain.mc > then you should cd to /etc/mail and type "make", > after you edited the file "make all install restart" Thanks for your help. I generated the files with this make command, and all just worked out of the box. I can send email, without needing to tell sendmail about my hostname. So far so good. However, next what I need, is using another port for sending emails out. I have googled and read the sendmail FAQs, but I am completely at a loss here. There is a FAQ, that explains: If you want all outgoing SMTP connections to use port 2525, you can use this in your .mc file: define(`RELAY_MAILER_ARGS', `TCP $h 2525') define(`ESMTP_MAILER_ARGS', `TCP $h 2525') I have put this in my hostname.mc file, but to no avail. I'm probably not familiar enough with sendmail way of doing things. But then this is such a simple thing, that it should be easy. I suppose that with "netstat -a", there should be a line with port 2525, if above works. But that is not there. Do you have any suggestions how to solve this? Thanks, Rob. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com