From owner-freebsd-questions Fri Jun 21 6:10:29 2002 Delivered-To: freebsd-questions@freebsd.org Received: from www.clubplus.net (ns1.clubplus.net [216.191.22.194]) by hub.freebsd.org (Postfix) with ESMTP id 99A4137B41A for ; Fri, 21 Jun 2002 06:02:43 -0700 (PDT) Received: from skytrackercanada.com (cust29.209.188.66.dsl.accessv.com [209.188.66.29]) by www.clubplus.net (8.11.4/8.11.1) with ESMTP id g5LD1Ze13376 for ; Fri, 21 Jun 2002 09:01:36 -0400 Received: (from david@localhost) by skytrackercanada.com (8.12.3/8.12.3) id g5LCjFQ5007884; Fri, 21 Jun 2002 08:45:15 -0400 (EDT) (envelope-from david) Date: Fri, 21 Jun 2002 08:45:15 -0400 From: David Banning To: Igor Kulemzin Cc: freebsd-questions@freebsd.org Subject: Re: using the smtp server remotely - how? Message-ID: <20020621084515.A7871@skytrackercanada.com> References: <20020621022729.A6248@skytrackercanada.com> <65605490.20020621171621@kristal.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.2.5i In-Reply-To: <65605490.20020621171621@kristal.ru>; from ivk@kristal.ru on Fri, Jun 21, 2002 at 05:16:21PM +1000 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 Fri, Jun 21, 2002 at 05:16:21PM +1000, Igor Kulemzin wrote: > Hi David, >=20 > What's your sendmail_* options in /etc/rc.conf says? mta_start_script=3D"/etc/rc.sendmail" # Script to start your chosen MTA, called by /etc/r= c. # Settings for /etc/rc.sendmail: sendmail_enable=3D"YES" # Run the sendmail inbound daemon (YES/NO/NONE). # If NONE, don't start any sendmail processes. sendmail_flags=3D"-L sm-mta -bd -q30m" # Flags to sendmail (as a server) sendmail_submit_enable=3D"YES" # Start a localhost-only MTA for mail sub= mission sendmail_submit_flags=3D"-L sm-mta -bd -q30m -ODaemonPortOptions=3DAddr=3Dl= ocalhost" # Flags for localhost-only MTA sendmail_outbound_enable=3D"YES" # Dequeue stuck mail (YES/NO). sendmail_outbound_flags=3D"-L sm-queue -q30m" # Flags to sendmail (outbound= only) sendmail_msp_queue_enable=3D"YES" # Dequeue stuck clientmqueue mail (YES/NO= ). sendmail_msp_queue_flags=3D"-L sm-msp-queue -Ac -q30m" # Flags for sendmail_msp_queue daemon. I wonder whether I should set the following to "NO"? The comment looks like the I should set to "NO", the variable looks like I should leave as "YES" sendmail_submit_enable=3D"YES" # Start a localhost-only MTA for mail sub= mission >=20 > Friday, June 21, 2002, 4:27:29 PM, you wrote: >=20 > DB> My smtp server works fine internally, but this is what I get > DB> externally; >=20 > david>>$ telnet skytrackercanada.com 25 > DB> Trying 209.188.66.29... > DB> telnet: connect to address 209.188.66.29: Operation timed out > DB> telnet: Unable to connect to remote host > david>>$=20 >=20 > DB> I even set the FEATURE(promiscuous_relay) (just for testing) > DB> and HUP'ed sendmail and it still does not work. >=20 > DB> Can some one give me direction? I want to simply use my machine=20 > DB> for smtp relaying. >=20 > DB> my .mc file; >=20 > DB> OSTYPE(bsd4.4)dnl > DB> define(`SMART_HOST', `mail.clubplus.net')dnl > DB> FEATURE(`masquerade_envelope')dnl > DB> MASQUERADE_DOMAIN(skytrackercanada.com) > DB> FEATURE(limited_masquerade) > DB> MODIFY_MAILER_FLAGS(`LOCAL', `+S')dnl > DB> FEATURE(`genericstable', `hash /etc/mail/genericstable')dnl > DB> FEATURE(`use_cw_file')dnl > DB> FEATURE(relay_hosts_only)dnl > DB> FEATURE(local_procmail)dnl > DB> FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') > DB> MAILER(local)dnl > DB> MAILER(smtp)dnl >=20 >=20 > DB> To Unsubscribe: send mail to majordomo@FreeBSD.org > DB> with "unsubscribe freebsd-questions" in the body of the message >=20 >=20 > --=20 > Friday, June 21, 2002 5:15:18 PM >=20 > Best regards, > Igor Kulemzin > Amursky Crystall, http://www.kristal.ru > E-mail: ivk@kristal.ru >=20 > -> > =CD=F3 =E4=EE=EF=F3=F1=F2=E8=EC =F2=FB =EF=F0=EE=E1=E8=EB =E3=EE=EB=EE= =E2=EE=E9 =F1=F2=E5=ED=F3. =C8 =F7=F2=EE =F2=FB =E1=F3=E4=E5=F8=FC =E4=E5= =EB=E0=F2=FC =E2 =F1=EE=F1=E5=E4=ED=E5=E9 =EA=E0=EC=E5=F0=E5? > -> >=20 --=20 Dear Lord: I just want *___=08=08=08one* one-armed manager so I never have to hear "On the other hand", again. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message