From owner-freebsd-questions Sun Aug 22 16:22:48 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc1.tn.home.com (ha1.rdc1.tn.home.com [24.2.7.66]) by hub.freebsd.org (Postfix) with ESMTP id 214AB14F6E for ; Sun, 22 Aug 1999 16:21:16 -0700 (PDT) (envelope-from cpeters2@home.com) Received: from charles ([24.4.115.203]) by mail.rdc1.tn.home.com (InterMail v4.01.01.00 201-229-111) with SMTP id <19990822232048.PYVG1639.mail.rdc1.tn.home.com@charles>; Sun, 22 Aug 1999 16:20:48 -0700 Reply-To: From: "Charles A. Peters" To: "Evren Yurtesen" , "Freebsd-Questions" Subject: RE: sendmail relaying rules causing problems Date: Sun, 22 Aug 1999 19:34:49 -0400 Message-ID: <000401beecf6$ececbb80$cb730418@charles.domain> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-Mimeole: Produced By Microsoft MimeOLE V4.72.3155.0 Importance: Normal In-Reply-To: <37C0842C.CAE21FC9@ispro.net.tr> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks so much! I think that I just about have this problem licked. Have a nice day! Charles > -----Original Message----- > From: Evren Yurtesen [mailto:yurtesen@ispro.net.tr] > Sent: Sunday, August 22, 1999 7:14 PM > To: cpeters2@home.com > Cc: Freebsd-Questions > Subject: Re: sendmail relaying rules causing problems > > > but then some spammer can but his domain to your machine > automatically > so this is not a very good idea that they can add themselves there > automatically. > do not you think so? > > here is something from sendmail documentation > > relay_local_from > Allows relaying if the domain portion of the > mail sender is a > local > host. This should only be used if absolutely > necessary as it > opens > a window for spammers. Specifically, they can > send mail to > your > mail server that claims to be from your domain (either > directly or > via a routed address), and you will go ahead > and relay it out > to > arbitrary hosts on the Internet. > > this lets people who has user@yourdomain.com type email > address to be > able to > relay through your server. This would be a solution for > you but it is > not > very safe. > > and the problem is not about checking emails, they are not > able to send > emails! relaying is if somebody outside of your machine is > trying to > send an > email to somebody who is also outside of your machine. > Sendmail does not do anything when they are checking their > emails, your > pop3 > or IMAP deamon is taking care of that stuff. Just when > they are sending > email > they are using sendmail. > > you should see sendmail readme > http://www.sendmail.org/m4/readme.html > if you have installed contrib sources then this file also > should be at > /usr/src/contrib/sendmail/cf/README > > I hope this would help you > > Evren > > "Charles A. Peters" wrote: > > > > But what about users who may be checking mail from > domains that I am > > not aware of. Sure, I can modify the relay-domains file > when they > > let me know about the problem, but I would be easier if > this could be > > done in an automated fashion. > > > > Thanks, > > > > Charles > > > > > -----Original Message----- > > > From: owner-freebsd-questions@FreeBSD.ORG > > > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of > > > Evren Yurtesen > > > Sent: Sunday, August 22, 1999 6:55 PM > > > To: cpeters2@home.com > > > Cc: Freebsd-Questions > > > Subject: Re: sendmail relaying rules causing problems > > > > > > > > > I believe that if you put the domains in the relay-domains file > > > everything > > > would work fine one domain per line like, > > > bellsouth.net > > > innova.net > > > carol.net > > > ... > > > then everybody who has an address like xxx.bellsouth.net or > > > yyy.innova.net > > > or zzz.carol.net will have access. > > > > > > so if you do not put their IP address you can have some kind of > > > wildcard. > > > for host names at those domain names. > > > > > > I hope the IP addresses you mention are resolved to > host names. are > > > they? > > > > > > Evren > > > > > > "Charles A. Peters" wrote: > > > > > > > > I have a small email server that hosts about 200 email > > > accounts. The > > > > account holders typically check their email from > > > locations such as > > > > bellsouth.net, innova.net, carol.net, > mindspring.net, etc..., but > > > > when they check from these domains, they get a relaying > > > denied error > > > > 550 message back from my server. I found that I can > fix this by > > > > placing their ip address in my /etc/mail/relay-domains > > > file, but if > > > > they dial in later, I have to change the address in the > > > > /etc/mail/relay-domains file and killall -hup sendmail. > > > This is not > > > > practical. > > > > > > > > I have considered turning off the relaying rules in > > > sendmail to fix > > > > the problem, but I don't want to leave my server > open for abuse. > > > > > > > > Does anyone have any suggestions as to how to fix this? > > > > > > > > Thanks in advance! > > > > > > > > Charles > > > > > > > > mailto: cpeters2@home.com > > > > mailto: charles@chickenbean.com > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > > with "unsubscribe freebsd-questions" in the body of > the message > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message