Does postfix reject spoofed senders?

2018-03-29 Thread Lorenzo Petracchi
Is there a reliable way to reject incoming mails with a spoofed e-mail address? Lorenzo

Re: monitoring outgoing emails

2018-03-29 Thread Poliman - Serwis
Some emails has "Hits" value even, for example 2,5. What is (if it's possible to say) good value? I am going to create script in bash which send me an email when from particular email account will outbound for example 300 emails per day. Kind of warning. But I am not sure I could use spam score

Re: Forcing TLS 1.2 on submission

2018-03-29 Thread Viktor Dukhovni
> On Mar 29, 2018, at 5:03 PM, @lbutlr wrote: > > If you do this, then you do not need smtpd_tls_exclude_ciphers, right? No, protocol versions and ciphersuites are different beasts. But with "smtpd_tls_mandatory_ciphers = high" there's generally not much need for any

Re: Forcing TLS 1.2 on submission

2018-03-29 Thread @lbutlr
On 2018-03-29 (13:15 MDT), Viktor Dukhovni wrote: > > smtpd_tls_mandatory_protocols=!SSLv2,!SSLv3,!TLSv1,!TLSv1.1 If you do this, then you do not need smtpd_tls_exclude_ciphers, right? Also, do the setting above also exclude the weaker protocols like MD5 and RC2?

Re: Forcing TLS 1.2 on submission

2018-03-29 Thread Viktor Dukhovni
> On Mar 29, 2018, at 3:26 PM, J Doe wrote: > > Ok, I have to say I feel pretty pleased with myself - I found a solution > roughly around when your e-mail came it, so I tried my solution first and it > worked! > > I ran nmap against the server to enumerate the TLS

Re: Forcing TLS 1.2 on submission

2018-03-29 Thread J Doe
Hi Viktor > On Mar 29, 2018, at 3:15 PM, Viktor Dukhovni > wrote: > > > >> On Mar 29, 2018, at 2:56 PM, J Doe wrote: >> >> I am attempting to restrict the TLS protocol version used by my SMTP AUTH’d >> clients on the submission

Re: Forcing TLS 1.2 on submission

2018-03-29 Thread Viktor Dukhovni
> On Mar 29, 2018, at 2:56 PM, J Doe wrote: > > I am attempting to restrict the TLS protocol version used by my SMTP AUTH’d > clients on the submission service. > > In master.cf I have added the following to the submission service: > >-o smtpd_tls_ciphers=high

Forcing TLS 1.2 on submission

2018-03-29 Thread J Doe
Hi, I am attempting to restrict the TLS protocol version used by my SMTP AUTH’d clients on the submission service. In master.cf I have added the following to the submission service: -o smtpd_tls_ciphers=high -o smtpd_tls_exclude_ciphers=EXPORT,MEDIUM -o

Bounced Messages -- LDA / Dovecot / Postfix

2018-03-29 Thread sruckh
I am not totally even sure this is a Postfix issue, but since the error is presented as "postfix" and I was not able to find answer elsewhere I thought I would ask here. I recently discovered that delivery of bounced messages is not working. Of course as no messages were being delivered I

Re: 550 Messages should have one or no Message-ID headers, not 2.

2018-03-29 Thread Wietse Venema
Jos Chrispijn: > To: arecipi...@someserver.com > X-PHP-Originating-Script: 0:class.phpmailer.php > Date: Thu, 29 Mar 2018 14:40:07 +0200 > From: newslet...@someserver.com > Reply-To: newslet...@someserver.com > Message-ID: That is not a

Re: monitoring outgoing emails

2018-03-29 Thread chaouche yacine
It is, that's the spam score. It helps to visualise if a particular mailbox is bombarded with spam (can happen with lots and lots of e-mails from qq.com, I have that domain banned in postfix itself). Yassine. On Thursday, March 29, 2018, 3:21:16 PM GMT+1, Alex JOST

550 Messages should have one or no Message-ID headers, not 2.

2018-03-29 Thread Jos Chrispijn
Dear list, I sent out a newsletter(J!website with Acyba component) some times a month Since two weeks (cannot remember the exact date) I get this message back via Postfix after sending outthe newsletter. I am thinking of the newsletter component (Acyba) in combination with the phpmailer of

Re: monitoring outgoing emails

2018-03-29 Thread Alex JOST
Am 29.03.2018 um 15:30 schrieb Poliman - Serwis: This one works well. One question based on one from generated lines: Mar 26 11:47:41 ORIGINATING LOCAL [127.0.0.1]:38920 -> ,, Hits: 0.742 Mar 26 11:47:41 --> this is date

Re: monitoring outgoing emails

2018-03-29 Thread Poliman - Serwis
This one works well. One question based on one from generated lines: Mar 26 11:47:41 ORIGINATING LOCAL [127.0.0.1]:38920 -> ,, Hits: 0.742 Mar 26 11:47:41 --> this is date and hour when mail from i...@klub-biosfera.pl was

Re: difference between /var/spool/postfix/etc/hosts and /etc/hosts

2018-03-29 Thread Stefan Förster
* Paul Martin : on debian , i am running postfix. I changed my IP ldap server in /etc/hosts but /var/spool/postfix/etc/hosts is different. What shoud I do to make postfix using the new IP ldap? This Debian-specific issue can be solved by restarting the Postfix

Re: monitoring outgoing emails

2018-03-29 Thread chaouche yacine
Sorry another typo, try : grep Relay /var/log/mail.log | sed 's/s1 amavis.*},//;s/\(Queue-ID\|Message-ID\).*, Hits/Hits/;s/Hits:\([^,]\+\).*/Hits:\1/' | grep --color=always '<[^@<>]*@[^@<>]*\.[^@<>]*>' Yassine. On Thursday, March 29, 2018, 1:39:17 PM GMT+1, Poliman - Serwis

difference between /var/spool/postfix/etc/hosts and /etc/hosts

2018-03-29 Thread Paul Martin
Hello, on debian , i am running postfix. I changed my IP ldap server in /etc/hosts but /var/spool/postfix/etc/hosts is different. What shoud I do to make postfix using the new IP ldap? Regards, Paul

Re: monitoring outgoing emails

2018-03-29 Thread Poliman - Serwis
I used root@s1:~# grep Relay /var/log/mail.log | sed 's/s1 amavis.*},//;s/\(Queue-ID\|Message-ID\).*, Hits/Hits/;s/Hits:\([^,]\+\).*/Hits:\1/ | grep --color=always '<[^@<>]*@[^@<>]*\.[^@<>]*>'$ and nothing happens but under above command I have sign > and next to it is console cursor. My hostname

Re: monitoring outgoing emails

2018-03-29 Thread chaouche yacine
6/ You should probably define REGEX_EMAIL as '<[^@<>]*@[^@<>]*\.[^@<>]*>', I have that in my .bashrc b/c I need it in so many scripts, but you can always use the regex as is if you don't want to define it as a variable, so you'd have : grep Relay /var/log/mail.log | sed 's/messagerie-prep

Re: monitoring outgoing emails

2018-03-29 Thread Poliman - Serwis
I am testing pflogsumm-1.1.3 but I don't understand how is it possible that in "Senders by message count" are email accounts which don't exist on my server. 2018-03-29 12:57 GMT+02:00 chaouche yacine : > Sorry there was a mistake in the line I gave you, maybe I have

Suppressing (some) bounce messages

2018-03-29 Thread Fredrik Sandström
I run a gateway that delivers mail to a few different places, including two Exchange servers. Now, some users on one of the Exchange systems have managed to block certain senders, in a way that makes Exchange reject such messages with "554 5.1.0 Sender denied". The Exchange admins are trying to

Re: monitoring outgoing emails

2018-03-29 Thread chaouche yacine
Sorry there was a mistake in the line I gave you, maybe I have edited it before pasting. Here's a brief explanation along with a "light" version ( you can customize ) : grep Relay /var/log/mail.log | sed 's/messagerie-prep amavis.*},//;s/\(Queue-ID\|Message-ID\).*,

Re: generic rewrites not working for local

2018-03-29 Thread @lbutlr
On 2018-03-28 (23:52 MDT), Aleksandr Miroslav wrote: > > Is there a way to rewrite mails from local? that seems to cover it. If smtp_generic_maps isn't working for you, perhaps read that section again, since it