Re: internal mail relay

2016-02-11 Thread Noel Jones
On 2/11/2016 9:50 PM, donais wrote: > At our site, we operate a main Centos-5 server wich hold about 20 > thin clients. > The server and thin clients can send and receive mail over the web > using postfix. > > Aroud this server we have 3 other servers, an Sco Openserver 5.0.4, > a Windows server 2

internal mail relay

2016-02-11 Thread donais
At our site, we operate a main Centos-5 server wich hold about 20 thin clients. The server and thin clients can send and receive mail over the web using postfix. Aroud this server we have 3 other servers, an Sco Openserver 5.0.4, a Windows server 2004 and a Centos-6. These servers can communic

Re: Can this sort of spam be easily and safely blocked in postfix

2016-02-11 Thread Noel Jones
On 2/11/2016 4:59 AM, Karel wrote: > are there any legitimate (non-spam) senders, that would be blocked by > reject_unknown_client_hostname ? > The reject_unknown_client_hostname restriction is known to reject legitimate non-spam senders. reject_unknown_client_hostname is a very strict test an

Re: Restricting distribution lists

2016-02-11 Thread Julian Kippels
On Wed, Feb 10, 2016 at 09:12:50AM -0500, Wietse Venema wrote: > For complex access policies, I suggest using a policy > plugin like postfwd. > > Wietse Thanks for the hint, I have written my own policy plugin now. Works like a charm. --

Re: Discard all emails containing the text "#364811"?

2016-02-11 Thread D'Arcy J.M. Cain
On Thu, 11 Feb 2016 09:50:36 -0500 (EST) wie...@porcupine.org (Wietse Venema) wrote: > - Rejecting mail on the basis of a short string is likely to result > in false matches. For example, it would block this thread. -- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:da...

Re: Discard all emails containing the text "#364811"?

2016-02-11 Thread Wietse Venema
Mike Coddington: > > > On Feb 11, 2016, at 9:17 AM, Sebastian Nielsen wrote: > > > > Is it anyway I can in postfix, use a simple rule to DISCARD all email > > containing the text ? #364811?? > > (Its a HTML color being used in a lot (>95%) of spams currently arriving in > > my server, and that

Re: Discard all emails containing the text "#364811"?

2016-02-11 Thread Mike Coddington
> On Feb 11, 2016, at 9:17 AM, Sebastian Nielsen wrote: > > Is it anyway I can in postfix, use a simple rule to DISCARD all email > containing the text ” #364811”? > (Its a HTML color being used in a lot (>95%) of spams currently arriving in > my server, and that color do not change). You’d w

Re: Rewrite enveloppe From and headers From (only)

2016-02-11 Thread Wietse Venema
Alexandre Ellert: > Hello, > > I use Postfix as a SMTP mail relay for our web servers to send > notifications email. This Postfix relay is also configured to > relay through our Google Apps relay (and this one only accept email > from our GApps domain) So, I want Postfix to rewrite enveloppe > Fro

Discard all emails containing the text "#364811"?

2016-02-11 Thread Sebastian Nielsen
Is it anyway I can in postfix, use a simple rule to DISCARD all email containing the text " #364811"? (Its a HTML color being used in a lot (>95%) of spams currently arriving in my server, and that color do not change). smime.p7s Description: S/MIME Cryptographic Signature

Re: Can this sort of spam be easily and safely blocked in postfix

2016-02-11 Thread Karel
> On 2016-02-10 20:39, Noel Jones wrote: > > This particular client has no reverse DNS hostname. Most sites find > it safe to use reject_unknown_reverse_client_hostname to reject such > clients. This similar to restrictions at many big mail providers and > is a much safer alternative than reject_u

Re: Any way to edit postscreen_cache.db?

2016-02-11 Thread Allen Coates
My spam-trap script also sweeps the logs for misbehavior from connecting hosts - non-SMTP commands, illegal pipelining, etc. Two "misbehaves" earn an entry in postscreen_blacklist; and (when I get around to it) two BLACKLISTED refusals will generate an IPtables entry.The blacklist entries d

Rewrite enveloppe From and headers From (only)

2016-02-11 Thread Alexandre Ellert
Hello, I use Postfix as a SMTP mail relay for our web servers to send notifications email. This Postfix relay is also configured to relay through our Google Apps relay (and this one only accept email from our GApps domain) So, I want Postfix to rewrite enveloppe From and header From to a unique