|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Noel Jones (njones
megan.vbhcs.org)
Date: Fri Jun 01 2007 - 14:14:37 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 01:58 PM 6/1/2007, Dave McGuire wrote:
>On Jun 1, 2007, at 6:30 AM, Eray Aslan wrote:
>>>I get plenty of spam with the From address from my domain ... but
>>>the users
>>>don't exists in the virtual-table.
>>>
>>>Can I somehow reject only From addresses from my domain with unknown
>>>users of the virtual table?
>>
>>http://www.postfix.org/postconf.5.html#smtpd_reject_unlisted_sender
>>
>>Here is how we use it:
>>
>>/etc/postfix/main.cf:
>> smtpd_recipient_restrictions = reject_non_fqdn_sender
>> reject_non_fqdn_recipient
>> reject_unlisted_recipient
>> reject_unlisted_sender
>> permit_sasl_authenticated
>> permit_mynetworks
>> reject_unauth_destination
>> [...]
>
> Wow, I was just thinking of a solution to this problem today,
>thanks! :-) I have one question about this, though.
>
> My installation has many wildcard entries of the form
>'
domain.com', with no username component, in relay_recipient_maps.
>Will those entries work as expected (i.e., as wildcards) when used by
>smtpd_reject_unlisted_sender? I would guess yes, but since it's not
>explicitly stated in the documentation, I'm nervous about enabling it
>on the production system without checking first.
If you have a domain wildcard in relay_recipient_maps,
smtpd_reject_unlisted_sender will accept any sender for that domain.
--
Noel Jones
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]