Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 May 2001 23:05:46 -0400
From:      James Housley <jim@thehousleys.net>
To:        Marc W <mwlist@lanfear.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: preventing SMTP Relaying, but having moving customers?
Message-ID:  <3AF8B40A.65DD8910@thehousleys.net>
References:  <200105090001.RAA83674@akira.lanfear.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Marc W wrote:
> 
>     hello!
> 
>     i would like to have a couple of people access my mail server for
> secure POP or IMAP access, but also want to prevent relaying on
> sendmail (so i have relaying turned off right now).
> 
>     Now, the problem is, these people are accessing the server from
> various machiens and various accounts, and it's well nigh impossible to
> put their ip addresses or hostnames in /etc/mail/relay-domains.
> 
>     So, the question is, what means can I use to allow them to send
> mail without opening myself up to relaying?
> 

They prefered method, according to the sendmail.org website, is
SMTP-AUTH.  There are some details on the sendmail.org web site.  But
basicaly you have to install the cyrus-sasl port.  Then add the required
lines to /etc/make.conf from /etc/defaults/make.conf (search for SASL). 
Then rebuild and reinstall sendmail and configure cyrus-sasl.  You will
also have to add some rules to your sendmail.cf file, as shown on the
website.

What this will do is allow relaying for a user that would normaly be
denied if they successfuly login as part of the SMTP processes.  Most
mail clients support this, Outlook/Express, Netscape, Eudora, ...  

Jim
-- 
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
 X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
jeh@FreeBSD.org      http://www.FreeBSD.org     The Power to Serve
jim@TheHousleys.Net  http://www.TheHousleys.net
---------------------------------------------------------------------
Studies show that 1 out of every 4 Americans suffer some form of
    mental illness.  So look at your three best friends, if they
    are okay it is YOU!

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?3AF8B40A.65DD8910>