Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #173418

Re: Configuring Postfix

From Henning Follmann <hfollmann@itcfollmann.com>
Newsgroups linux.debian.user
Subject Re: Configuring Postfix
Date 2016-10-11 19:30 +0200
Message-ID <sr92h-15w-7@gated-at.bofh.it> (permalink)
References <sr8pz-DS-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Configuring Postfix David FREYCHE <david.freyche.by@gmail.com> - 2016-10-11 18:50 +0200
  Re: Configuring Postfix Henning Follmann <hfollmann@itcfollmann.com> - 2016-10-11 19:30 +0200

csiph-web