Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month, online, via Jitsi Meet.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Strange sendmail (and postfix) spam issue: accepting fail "from" myself?



Rich,

On Tue, March 29, 2016 1:42 pm, Rich Pieri wrote:
> On 3/29/2016 1:24 PM, Derek Atkins wrote:
>> smtpd_relay_restrictions =
>
> This looks like the problem. Remove it entirely from your main.cf and
> restart Postfix. This should bring the default rules which will block
> relay attempts from anyone that does not match $mydestination or is not
> an authenticated user.

I don't think so.  From
http://www.postfix.org/postconf.5.html#smtpd_relay_restrictions :

 For backwards compatibility, sites that migrate from Postfix versions
before 2.10 can set smtpd_relay_restrictions to the empty value, and use
smtpd_recipient_restrictions exactly as before.

So the empty relay_restrictions should imply the equivalence to the
recipient_restrictions.

I think the issue was the lack of sender_login_mismatch issue in the
sender restrictions.

So now I want to focus on Sendmail.  Any sendmail guru's out there?

Thanks,

> Rich P.

-derek

-- 
       Derek Atkins                 617-623-3745
       derek at ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org