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


Groups > linux.debian.user > #173417 > unrolled thread

Configuring Postfix

Started byDavid FREYCHE <david.freyche.by@gmail.com>
First post2016-10-11 18:50 +0200
Last post2016-10-11 19:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  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

#173417 — Configuring Postfix

FromDavid FREYCHE <david.freyche.by@gmail.com>
Date2016-10-11 18:50 +0200
SubjectConfiguring Postfix
Message-ID<sr8pz-DS-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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



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



It just does not work. I tried something else but no.

Am I doing something wrong?
I have smtpd_relay_restrictions; does it conflicts with sending
restrictions?


Can you provide me some assistance?


Regards,

David FREYCHE


David FREYCHE <http://fr.linkedin.com/pub/david-freyche/4/10/b21>
Teatime Apps Consulting <http://www.teatimeapps.fr>
+33 6 72 80 84 30

[toc] | [next] | [standalone]


#173418

FromHenning Follmann <hfollmann@itcfollmann.com>
Date2016-10-11 19:30 +0200
Message-ID<sr92h-15w-7@gated-at.bofh.it>
In reply to#173417
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web