Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2002 08:45:15 -0400
From:      David Banning <david@skytrackercanada.com>
To:        Igor Kulemzin <ivk@kristal.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: using the smtp server remotely - how?
Message-ID:  <20020621084515.A7871@skytrackercanada.com>
In-Reply-To: <65605490.20020621171621@kristal.ru>; from ivk@kristal.ru on Fri, Jun 21, 2002 at 05:16:21PM %2B1000
References:  <20020621022729.A6248@skytrackercanada.com> <65605490.20020621171621@kristal.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, Jun 21, 2002 at 05:16:21PM +1000, Igor Kulemzin wrote:
> Hi David,
> 
>   What's your sendmail_* options in /etc/rc.conf says?
mta_start_script="/etc/rc.sendmail"
                        # Script to start your chosen MTA, called by /etc/rc.
# Settings for /etc/rc.sendmail:
sendmail_enable="YES"   # Run the sendmail inbound daemon (YES/NO/NONE).
                        # If NONE, don't start any sendmail processes.
sendmail_flags="-L sm-mta -bd -q30m" # Flags to sendmail (as a server)
sendmail_submit_enable="YES"    # Start a localhost-only MTA for mail submission
sendmail_submit_flags="-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost"
                                # Flags for localhost-only MTA
sendmail_outbound_enable="YES"  # Dequeue stuck mail (YES/NO).
sendmail_outbound_flags="-L sm-queue -q30m" # Flags to sendmail (outbound only)
sendmail_msp_queue_enable="YES" # Dequeue stuck clientmqueue mail (YES/NO).
sendmail_msp_queue_flags="-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="YES"    # Start a localhost-only MTA for mail submission
> 
> Friday, June 21, 2002, 4:27:29 PM, you wrote:
> 
> DB> My smtp server works fine internally, but this is what I get
> DB> externally;
> 
> 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>>$ 
> 
> DB> I even set the FEATURE(promiscuous_relay) (just for testing)
> DB> and HUP'ed sendmail and it still does not work.
> 
> DB> Can some one give me direction? I want to simply use my machine 
> DB> for smtp relaying.
> 
> DB> my .mc file;
> 
> 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
> 
> 
> DB> To Unsubscribe: send mail to majordomo@FreeBSD.org
> DB> with "unsubscribe freebsd-questions" in the body of the message
> 
> 
> -- 
> Friday, June 21, 2002  5:15:18 PM
> 
> Best regards,
> Igor Kulemzin
> Amursky Crystall, http://www.kristal.ru
> E-mail: ivk@kristal.ru
> 
> ->
>   Ну допустим ты пробил головой стену. И что ты будешь делать в соседней камере?
> ->
> 

-- 
Dear Lord:
	I just want *___one* 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020621084515.A7871>