[wplug] postfix question

Bill Moran wmoran at potentialtech.com
Fri May 6 09:00:09 EDT 2005


Brandon Kuczenski <brandon at 301south.net> wrote:

> On Tue, 3 May 2005, Bill Moran wrote:
> 
> > Brandon Kuczenski <brandon at 301south.net> wrote:
> >
> >> This should be a FAQ, I think, but I can't figure out how to phrase it
> >> properly for the search engines.  It concerns a rare but recognizable
> >> form of UCE.
> >>
> >> I got an email whose sender address purported to be
> >> <a_valid_local_user>@301south.net.  The smtpd_reject_unlisted_sender
> >> parameter will reject <not_a_valid_local_user>@301south.net but if Spammy
> >> uses a valid username, this test will fail.  So I want to only accept mail
> >> from known users @301south.net if
> >>   a) the mail is sent from localhost, or
> >>   b) the mail is sent from a SASL authenticated smtp session.
> >>
> >> My smtpd_sender_restrictions looks like this:
> >>
> >> smtpd_sender_restrictions = permit_sasl_authenticated
> >>                              permit_mynetworks
> >
> > You need to add "reject" to the end of the list.
> >
> 
> But I *want* to accept mail from pretty much any sender -- I am running a 
> mail server -- won't a default "reject" policy sort of defeat that?  Maybe 
> I'm confused.

I apologize.  You're correct.  The default action is to reject unless it's
a local recipient.  That's what you want.

I'm not sure why you're config isn't working.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com


More information about the wplug mailing list