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

Re: Configuring Postfix



On Tue, Oct 11, 2016 at 06:24:35PM +0200, David FREYCHE wrote:
> Hello,
> 
> I am new on the list and using a debian distribution 8.0 Jessie with
> E-commerce CMS prestashop installed.
> 
> 
> Here is the facts:
> 
> I receive spam on my mail queue (postqueue)
> I already configured postfix with amavis for content filter which works fine
> 
> 
> 
> I want to
> 
> block sending my from a specific dns

Ok, not quite sure what you are saying here.
You do not want to receive from a specific sender or you want to limit a
local user from sending to non local addresses?

> 
> 
> 
> So I want to configure postfix to avoid sending email from address
> xxxx@store.uneaune.com
> 
> 
> I configured postfix as follow:
> 
> main.cf
> 
>   smtp_sender_restrictions - check_sender_access
> hash:/etc/postfix/access_dns
> 
> access_dns file (with postmap compilation and restarting postfix)
> 
>   store.uneaune.com REJECT
>

smtp_d_sender_restrictions !

 

did you build the hash?


> 
> 
> It just does not work. I tried something else but no.
> 
> Am I doing something wrong?

yes

> I have smtpd_relay_restrictions; does it conflicts with sending
> restrictions?
> 
> 
> Can you provide me some assistance?
> 

Log file?



-- 
Henning Follmann           | hfollmann@itcfollmann.com


Reply to: