Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2000 01:08:19 -0700 (PDT)
From:      xiyuan qian <xiyuan@yahoo.com>
To:        tim@spanner.net
Cc:        xiyuan@career.com.cn
Subject:   Re: mail relay problem
Message-ID:  <20000417080819.10428.qmail@web2105.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
--0-1804289383-955958899=:10419
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi, thanks a lot. but I have no luck to let it work as
you told me. So I attach the freebsd.mc file that I
used to m4 make my sendmail.cf. Maybe you can check it
and help me to find out why!

Best regaurds!

--xiyuan

--- tim@spanner.net wrote:
> You should have a /etc/mail/access file, which you
> can set up your relay
> hosts in.
> It is simply a matter of adding your subnet(s) to
> the file.
> 
> eg.
> 
> 127.0.0.1            RELAY
> 203.54.200           RELAY
> 
> Then:
> 
> makmap hash access.db < access
> killall -1 sendmail
> 
> 
> Tim.
> 
> ----- Original Message ----- 
> From: xiyuan qian <xiyuan@yahoo.com>
> To: <freebsd-isp@freebsd.org>
> Sent: Thursday, April 13, 2000 7:46 PM
> Subject: mail relay problem
> 
> 
> > Hi, as an isp, I have many dialer users. My SMTP
> serve
> > 
> >  run with NO relay denied.So, recently I find
> someone 
> > 
> > outside my net send many emails with my server. I 
> > 
> > think it is time to modify my sendmail.cf. I read
> the 
> > 
> > www.sendmail.org pages about anti-spam setup. But
> when
> > 
> > 
> > I config my server as it told, that is enable
> un-delay
> > 
> > 
> > by default and add a relay-domain file to
> /etc/mail 
> > 
> > dir, my dialer users complaied that they can not
> send 
> > 
> > emails. I can only send out the email right at the
> 
> > 
> > server. How to solve this ? How can I tell the
> endmail
> > 
> >  let the dialer users of mine send out the emails
> and 
> > 
> > deny those who do not belong to my net?
> > 
> > 
> > Best regaurds!
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Send online invitations with Yahoo! Invites.
> > http://invites.yahoo.com
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-isp" in the body of the
> message
> > 
> 
> 

__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com
--0-1804289383-955958899=:10419
Content-Type: text/plain; name="freebsd.mc"
Content-Description: freebsd.mc
Content-Disposition: inline; filename="freebsd.mc"

divert(-1)
#
# Copyright (c) 1983 Eric P. Allman
# Copyright (c) 1988, 1993
#	The Regents of the University of California.  All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
#    must display the following acknowledgement:
#	This product includes software developed by the University of
#	California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its contributors
#    may be used to endorse or promote products derived from this software
#    without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#

#
#  This is a generic configuration file for 4.4 BSD-based systems.
#  If you want to customize it, copy it to a name appropriate for your
#  environment and do the modifications there.
#
#  The best documentation for this .mc file is:
#  /usr/src/contrib/sendmail/cf/README
#

divert(0)dnl
VERSIONID(`@(#)freebsd.mc	$Revision: 1.4 $')
OSTYPE(bsd4.4)dnl
DOMAIN(generic)dnl
FEATURE(relay_based_on_MX)dnl
FEATURE(mailertable, `hash -o /etc/mail/mailertable')dnl
FEATURE(access_db, hash -o /etc/mail/access')dnl
FEATURE(blacklist_recipients)dnl
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')dnl
dnl Uncomment to activate Realtime Blackhole List (recommended!)
dnl FEATURE(rbl)dnl
FEATURE(local_lmtp)dnl
define(`LOCAL_MAILER_FLAGS', LOCAL_MAILER_FLAGS`'P)dnl
define(`confCW_FILE', `-o /etc/mail/sendmail.cw')dnl
define(`confNO_RCPT_ACTION', `add-to-undisclosed')dnl
define(`confMAX_MIME_HEADER_LENGTH', `256/128')dnl
MAILER(local)dnl
MAILER(smtp)dnl

--0-1804289383-955958899=:10419--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




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