[pfx] Re: *.mail.protection.outlook.com reporting "452 4.5.3 Too many recipients (AS780090)" for many domains

2023-10-12 Thread Pedro David Marco via Postfix-users
in *.mail.protection.outlook.com >reporting are reporting back temporary errors for us: > >Exhibit A) > >host ohri-ca.mail.protection.outlook.com[104.47.75.228] said: 452 4.5.3 Too >many recipients (AS780090) >[YQBCAN01FT018.eop-CAN01.prod.protection.outlook.com 2023-10-11T02:11:41

[pfx] Re: *.mail.protection.outlook.com reporting "452 4.5.3 Too many recipients (AS780090)" for many domains

2023-10-11 Thread Matus UHLAR - fantomas via Postfix-users
On 11.10.23 15:06, Ralf Hildebrandt via Postfix-users wrote: Since this morning, various MX hosts in *.mail.protection.outlook.com reporting are reporting back temporary errors for us: Exhibit A) host ohri-ca.mail.protection.outlook.com[104.47.75.228] said: 452 4.5.3 Too many recipients

[pfx] Re: *.mail.protection.outlook.com reporting "452 4.5.3 Too many recipients (AS780090)" for many domains

2023-10-11 Thread Jaroslaw Rafa via Postfix-users
Dnia 11.10.2023 o godz. 15:11:27 Josef Vybíhal via Postfix-users pisze: > Hi, no clue about MS service, but it does not seem postfix related. > You might want to direct this to the mailop list - > https://list.mailop.org/listinfo/mailop It can be possibly related to some failure at Microsoft, disc

[pfx] Re: *.mail.protection.outlook.com reporting "452 4.5.3 Too many recipients (AS780090)" for many domains

2023-10-11 Thread Paul Enlund via Postfix-users
reporting are reporting back temporary errors for us: Exhibit A) host ohri-ca.mail.protection.outlook.com[104.47.75.228] said: 452 4.5.3 Too many recipients (AS780090) [YQBCAN01FT018.eop-CAN01.prod.protection.outlook.com 2023-10-11T02:11:41.144Z 08DBC99CDEC51952] (in reply to RCPT TO command) (for a

[pfx] Re: *.mail.protection.outlook.com reporting "452 4.5.3 Too many recipients (AS780090)" for many domains

2023-10-11 Thread Markus Schönhaber via Postfix-users
11.10.23, 15:06 +0200, Ralf Hildebrandt via Postfix-users: > Since this morning, various MX hosts in *.mail.protection.outlook.com > reporting are reporting back temporary errors for us: > > Exhibit A) > > host ohri-ca.mail.protection.outlook.com[104.47.75.228] said: 452

[pfx] Re: *.mail.protection.outlook.com reporting "452 4.5.3 Too many recipients (AS780090)" for many domains

2023-10-11 Thread Josef Vybíhal via Postfix-users
> Since this morning, various MX hosts in *.mail.protection.outlook.com > reporting are reporting back temporary errors for us: > > Exhibit A) > > host ohri-ca.mail.protection.outlook.com[104.47.75.228] said: 452 4.5.3 > Too many recipients (AS780090) [ > YQBCAN01FT018.eop-CAN01.p

[pfx] *.mail.protection.outlook.com reporting "452 4.5.3 Too many recipients (AS780090)" for many domains

2023-10-11 Thread Ralf Hildebrandt via Postfix-users
Hi! Since this morning, various MX hosts in *.mail.protection.outlook.com reporting are reporting back temporary errors for us: Exhibit A) host ohri-ca.mail.protection.outlook.com[104.47.75.228] said: 452 4.5.3 Too many recipients (AS780090) [YQBCAN01FT018.eop-CAN01

Re: TLS-RPT reporting for postfix?

2022-07-21 Thread Jonathan Sélea
Hi, Thank you for your prompt reply! I got the terminology mixed up, ofcourse milters are for incoming emails :) But well, hopefully someone lurking here knows a solution. -- Jonathan Sélea On 2022-07-21 20:33, Viktor Dukhovni wrote: On Thu, Jul 21, 2022 at 08:26:37PM +0200, Jonathan Sélea w

Re: TLS reporting

2022-04-26 Thread Viktor Dukhovni
> On 26 Apr 2022, at 9:27 pm, Dan Mahoney wrote: > > So, alternate question then -- is there any level of debug logging that > postfix can emit that would let one construct these reports based a log trawl? I think the answer is still no. -- Viktor.

Re: TLS reporting

2022-04-26 Thread Dan Mahoney
> On Apr 19, 2022, at 6:08 PM, Viktor Dukhovni > wrote: > > On Tue, Apr 19, 2022 at 05:33:50PM -0700, Dan Mahoney wrote: > >> Does postfix have any support for TLS reporting (RFC8460)? >> >> Technically, one need not be using MTA-STS to benefit from this.

Re: TLS reporting

2022-04-19 Thread Viktor Dukhovni
On Tue, Apr 19, 2022 at 05:33:50PM -0700, Dan Mahoney wrote: > Does postfix have any support for TLS reporting (RFC8460)? > > Technically, one need not be using MTA-STS to benefit from this. We > get monitoring of this with our dmarc monitoring provider, and it > feels like it

TLS reporting

2022-04-19 Thread Dan Mahoney
Hey there, Does postfix have any support for TLS reporting (RFC8460)? Technically, one need not be using MTA-STS to benefit from this. We get monitoring of this with our dmarc monitoring provider, and it feels like it would be useful to send these reports as well. -Dan

Re: INVALID MessageID reporting?

2022-01-14 Thread Wietse Venema
Gomes, Rich: > Does anyone have a good way of reporting on this? > I see a great deal in the maillog with either an incorrect format (no @ > symbol) or just completely blank ( message-id=<>). According to RFC,the Message-ID header is optional, and therefore, email without Message

INVALID MessageID reporting?

2022-01-14 Thread Gomes, Rich
Does anyone have a good way of reporting on this? I see a great deal in the maillog with either an incorrect format (no @ symbol) or just completely blank ( message-id=<>). We would like to be able to do the following: Have a WARN message written to the log so we can report and investiga

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread PGNet Dev
On 10/28/20 2:38 PM, Wietse Venema wrote: One possible way out is to skip the Postfix sendmail command, and to use a "mini sendmail" program that submits mail via SMTP. adding an msmtp sender as the VirusAction script in clamav milter, though a bit of 'extra', certainly is the simplest. easy

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread PGNet Dev
On 10/28/20 2:38 PM, Wietse Venema wrote: One possible way out is to skip the Postfix sendmail command, and to use a "mini sendmail" program that submits mail via SMTP. i've typically got msmtp rattling around. Obviously that will fail when Postfix is down. noted. not ideal, but not critic

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread Wietse Venema
PGNet Dev: > my clamav-milter.conf includes > > VirusAction /usr/local/etc/clamav/scripts/virus-alert.sh > > where that script _does_ invoke sendmail. > > found this process > > ps ax | grep virus > 15670 ?S 0:00 /bin/bash > /usr/local/etc/clamav/scripts/

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread PGNet Dev
On 10/28/20 11:36 AM, PGNet Dev wrote: On 10/28/20 11:30 AM, Viktor Dukhovni wrote: You might start with: # grep -r NoNewPrivileges /etc/systemd i couldn't find any direct, relevant postdrop/maildrop, or NoNewPrivileges, references i chased sendmail usage instances instead. i've clamav

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread PGNet Dev
On 10/28/20 11:30 AM, Viktor Dukhovni wrote: You might start with: # grep -r NoNewPrivileges /etc/systemd and all other directories with systemd unit files. yup. already done. nothing --other than the now "=false" (need to double check if that's the same as _removing_ it ) in pflogsum

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread Viktor Dukhovni
On Wed, Oct 28, 2020 at 11:22:55AM -0700, PGNet Dev wrote: > On 10/28/20 10:32 AM, Viktor Dukhovni wrote: > > Indeed a process with "no_new_privs" will not be able to run sendmail(1) > > to submit new email. > > noted. > > that said, this _just_ reappeared here, > >postfix/postdrop[15673]: w

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread PGNet Dev
On 10/28/20 10:32 AM, Viktor Dukhovni wrote: Indeed a process with "no_new_privs" will not be able to run sendmail(1) to submit new email. noted. that said, this _just_ reappeared here, postfix/postdrop[15673]: warning: mail_queue_enter: create file maildrop/678088.15673: Permission denied

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread Viktor Dukhovni
On Wed, Oct 28, 2020 at 06:19:10PM +0100, Bastian Blank wrote: > > Barring interference from SELinux or AppArmour, ... this should not > > happen unless file permissions change. > > Maybe this was true ten years ago, but it is not longer. The OP even > mentioned something called "no new privileg

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread Bastian Blank
Hi Viktor On Wed, Oct 28, 2020 at 01:00:35PM -0400, Viktor Dukhovni wrote: > On Wed, Oct 28, 2020 at 09:01:38AM -0700, PGNet Dev wrote: > > Oct 28 15:02:40 svr019 postfix/postdrop[64624]: warning: > > mail_queue_enter: create file maildrop/553726.64624: Permission denied > > Oct 28 15:02:

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread Viktor Dukhovni
On Wed, Oct 28, 2020 at 10:13:23AM -0700, PGNet Dev wrote: > > For reference, on my system: > > > > $ postconf setgid_group > > setgid_group = maildrop > > $ ls -ld /var/spool/postfix/maildrop > > drwx-wx--- 2 postfix maildrop 2 Oct 28 12:52 > > /var/spool/postfix/maildrop

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread PGNet Dev
On 10/28/20 10:00 AM, Viktor Dukhovni wrote: On Wed, Oct 28, 2020 at 09:01:38AM -0700, PGNet Dev wrote: Oct 28 15:02:40 svr019 postfix/postdrop[64624]: warning: mail_queue_enter: create file maildrop/553726.64624: Permission denied Oct 28 15:02:45 svr019 postfix/postdrop[32688]

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread Viktor Dukhovni
On Wed, Oct 28, 2020 at 09:01:38AM -0700, PGNet Dev wrote: > Oct 28 15:02:40 svr019 postfix/postdrop[64624]: warning: > mail_queue_enter: create file maildrop/553726.64624: Permission denied > Oct 28 15:02:45 svr019 postfix/postdrop[32688]: warning: > mail_queue_enter: create file ma

postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread PGNet Dev
on a new, from-distro-pkgs install of Postfix, i've noted an intermittent perms problem it'll run just fine for quite awhile, then I start seeing a steady stream of ... Oct 28 15:02:40 svr019 postfix/postdrop[64624]: warning: mail_queue_enter: create file maildrop/553726.64624:

Re: Connection Cache (scache) Reporting

2020-08-15 Thread Wietse Venema
Greg Sims: > This is a typical 5 minute interval of Connection Cache data: > > scache Aug 15 01:49:18 - Aug 15 01:54:18, > domain hits=52 miss=69 success=42%, > address hits=0 miss=117 success=0%, > max simultaneous domains=7 addresses=7 connection=22 > > The README says: "Connecti

Connection Cache (scache) Reporting

2020-08-15 Thread Greg Sims
This is a typical 5 minute interval of Connection Cache data: scache Aug 15 01:49:18 - Aug 15 01:54:18, domain hits=52 miss=69 success=42%, address hits=0 miss=117 success=0%, max simultaneous domains=7 addresses=7 connection=22 The README says: "Connection cache lookups by network

Re: Postfix (using haproxy) reporting inaccurate commands in log

2019-06-21 Thread Joseph Ward
Thank you; this is much appreciated! On 2019-06-21 19:49, Wietse Venema wrote: > jbwli...@hilltopgroup.com: >> Hi everyone, >> >> I'm running postfix 3.2.3 on FreeBSD, with a separate submission service >> receiving connections via haproxy and using the >> smtpd_upstream_proxy_protocol=haproxy f

Re: Postfix (using haproxy) reporting inaccurate commands in log

2019-06-21 Thread Wietse Venema
jbwli...@hilltopgroup.com: > Hi everyone, > > I'm running postfix 3.2.3 on FreeBSD, with a separate submission service > receiving connections via haproxy and using the > smtpd_upstream_proxy_protocol=haproxy flag. When haproxy performs its > checks every 30 seconds, I get the following in my

Postfix (using haproxy) reporting inaccurate commands in log

2019-06-21 Thread jbwlists
Hi everyone, I'm running postfix 3.2.3 on FreeBSD, with a separate submission service receiving connections via haproxy and using the smtpd_upstream_proxy_protocol=haproxy flag. When haproxy performs its checks every 30 seconds, I get the following in my log (I've made it more verbose as I'm

Re: what error is being reported back to sender, and how to avoid reporting back internal server ports?

2016-04-10 Thread Curtis Villamizar
In message <3qjzc32dcxzj...@spike.porcupine.org> Wietse Venema writes: > > > > No-one can connect to this from outside. > > > > That's correct. Not currently, to this current machine/port, in > > this configuration. > > If someone can connect from outside to your 127.0.0.1 port, then > you hav

Re: what error is being reported back to sender, and how to avoid reporting back internal server ports?

2016-04-10 Thread jasonsu
On Sun, Apr 10, 2016, at 06:42 AM, Wietse Venema wrote: > > > No-one can connect to this from outside. > > > > That's correct. Not currently, to this current machine/port, in > > this configuration. > > If someone can connect from outside to your 127.0.0.1 port, then > you have a serious infra

Re: what error is being reported back to sender, and how to avoid reporting back internal server ports?

2016-04-10 Thread Wietse Venema
> > No-one can connect to this from outside. > > That's correct. Not currently, to this current machine/port, in > this configuration. If someone can connect from outside to your 127.0.0.1 port, then you have a serious infrastructure problem. Wietse

Re: what error is being reported back to sender, and how to avoid reporting back internal server ports?

2016-04-09 Thread jasonsu
On Sat, Apr 9, 2016, at 05:40 PM, Wietse Venema wrote: > Who cares? Obviously you don't. But I do. That's why I'm asking. That's good enough for me. > No-one can connect to this from outside. That's correct. Not currently, to this current machine/port, in this configuration. > But, if you

Re: what error is being reported back to sender, and how to avoid reporting back internal server ports?

2016-04-09 Thread Wietse Venema
jaso...@mail-central.com: > > > On Sat, Apr 9, 2016, at 02:25 PM, jaso...@mail-central.com wrote: > > I think that's "in postfix". Looking around to see. > > is the issue of changing > > ... MTA(smtp:[127.0.0.1]:13002) ... Who cares? No-one can connect to this from outside. But, if you must,

Re: what error is being reported back to sender, and how to avoid reporting back internal server ports?

2016-04-09 Thread jasonsu
On Sat, Apr 9, 2016, at 02:25 PM, jaso...@mail-central.com wrote: > I think that's "in postfix". Looking around to see. is the issue of changing ... MTA(smtp:[127.0.0.1]:13002) ... to something descriptive that I specify ... MTA(my_internal_server_A) ... a matter of http://www.postfix.org/A

Re: what error is being reported back to sender, and how to avoid reporting back internal server ports?

2016-04-09 Thread jasonsu
On Wed, Apr 6, 2016, at 11:49 AM, jaso...@mail-central.com wrote: > If it's seeing the 550, how can I stop exposing/reporting back "from > MTA(smtp:[127.0.0.1]:13002):" ? If it's just internal to my setup, then I > don't care. It's defin

what error is being reported back to sender, and how to avoid reporting back internal server ports?

2016-04-06 Thread jasonsu
disconnect from vps.capacit.cl[45.79.11.29] ehlo=2 starttls=1 mail=1 rcpt=1 data=0/1 quit=1 commands=6/7 What's the sending server getting back here? Is the 550 REJECT message being delivered to the sending server? Or only to my internal server doing the handoff? If it's seeing the 550, how can

Re: Reporting problems to postfix-users@postfix.org

2015-04-04 Thread Patrick Ben Koetter
* Wietse Venema : > Patrick Ben Koetter: > > Perhaps the list of recommendations could be expanded to recommend sending > > "postconf -M" output along with "postconf -n". I'd expect this to complement > > the overall picture. > > It is as if it was added yesterday, but in reality it was introduced

Re: Reporting problems to postfix-users@postfix.org

2015-04-04 Thread Wietse Venema
Patrick Ben Koetter: > Perhaps the list of recommendations could be expanded to recommend sending > "postconf -M" output along with "postconf -n". I'd expect this to complement > the overall picture. It is as if it was added yesterday, but in reality it was introduced with Postfix 2.9, three year

Reporting problems to postfix-users@postfix.org

2015-04-04 Thread Patrick Ben Koetter
Perhaps the list of recommendations could be expanded to recommend sending "postconf -M" output along with "postconf -n". I'd expect this to complement the overall picture. p@rick -- [*] sys4 AG https://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft:

Re: Tiny/minor discrepancy with postconf -n reporting of used vs unused parameters

2013-10-27 Thread Charles Marcus
On 2013-10-27 12:35 PM, Viktor Dukhovni wrote: Parameters understood by Postfix are reported on stdout in a normalized form with all runs of whitespace characters replaced by a single space. Parameters not understood by Postfix are reported as warnings on stderr largely verbatim, the only chang

Re: Tiny/minor discrepancy with postconf -n reporting of used vs unused parameters

2013-10-27 Thread Viktor Dukhovni
On Sun, Oct 27, 2013 at 12:01:47PM -0400, Charles Marcus wrote: > But... in the postconf -n output, used parameters have only ONE > space between the parameter name and the parameter argument (in > spite of the fact that there are actually two spaces in main.cf), > while unused parameter have two

Tiny/minor discrepancy with postconf -n reporting of used vs unused parameters

2013-10-27 Thread Charles Marcus
Hello, While adding the new client restriction class to block the new Intro App accessing our mail server, I noticed a tiny/minor discrepancy in postconf -n output of used vs unused parameters/arguments. Not even sure it is worth mentioning, but decided to do so anyway... The first thing I d

Re: Fwd: postscreen log lines reporting warnings and fatal errors

2013-06-18 Thread Robert Lopez
After looking at past logs an seeing the errors only began after the email gateway had been running for a few weeks, I deleted the /var/lib/postfix/postscreen_cache.db. Restarting postfix now has a happy postscreen+bdb again. -- Robert Lopez Unix Systems Administrator Central New Mexico Community

Re: Fwd: postscreen log lines reporting warnings and fatal errors

2013-06-17 Thread Robert Lopez
On Mon, Jun 17, 2013 at 2:11 PM, Wietse Venema wrote: > I suggest that you install a compiled version of Postfix, and that > you use a simpler program to become familiar with the process of > building your own binaries. There existed a project goal to install a postfix with postscreen. The goal

Re: Fwd: postscreen log lines reporting warnings and fatal errors

2013-06-17 Thread Wietse Venema
Robert Lopez: > It would not surprise me in the least to find out I did something wrong. :-} > > I know I did "yum install db4-devel" as part of packages I believed > were prerequisites to installing Postfix. > My recall is that I was missing a /usr/include file when test building > a Postfix an

Fwd: postscreen log lines reporting warnings and fatal errors

2013-06-17 Thread Robert Lopez
It would not surprise me in the least to find out I did something wrong. :-} I know I did "yum install db4-devel" as part of packages I believed were prerequisites to installing Postfix. My recall is that I was missing a /usr/include file when test building a Postfix and I did a "yum provides" t

Re: postscreen log lines reporting warnings and fatal errors

2013-06-14 Thread Benny Pedersen
wie...@porcupine.org skrev den 2013-06-15 02:36: My advice is to avoid installing multiple Berkeley DB copies, and to use the Berkeley DB that comes with the operating system. locate postfix/postscreen ldd will show the problem why it fails under gentoo its "ldd /usr/libexec/postfix/postscr

Re: postscreen log lines reporting warnings and fatal errors

2013-06-14 Thread Wietse Venema
Robert Lopez: > 1) postfix/postscreen[]: fatal: error [-30986] seeking > /var/lib/postfix/postscreen_cache.db: Success Wietse: > Your Berkeley DB is screwed up. > > Code fragment from src/util/dict_db.c: > > status = > dict_db->cursor->c_get(dict_db->cursor, &db_key, &db_value, >

Re: postscreen log lines reporting warnings and fatal errors

2013-06-14 Thread Robert Lopez
On Fri, Jun 14, 2013 at 3:09 PM, Wietse Venema wrote: > Robert Lopez: >> I am trying to understand the cause/causes of these log lines: >> >> 1) postfix/postscreen[]: fatal: error [-30986] seeking >> /var/lib/postfix/postscreen_cache.db: Success > > Your Berkeley DB is screwed up. > > Code fra

Re: postscreen log lines reporting warnings and fatal errors

2013-06-14 Thread Wietse Venema
Robert Lopez: > I am trying to understand the cause/causes of these log lines: > > 1) postfix/postscreen[]: fatal: error [-30986] seeking > /var/lib/postfix/postscreen_cache.db: Success Your Berkeley DB is screwed up. Code fragment from src/util/dict_db.c: /* * Database lookup.

postscreen log lines reporting warnings and fatal errors

2013-06-14 Thread Robert Lopez
wrt: mail_version = 2.10.0 I am trying to understand the cause/causes of these log lines: 1) postfix/postscreen[]: fatal: error [-30986] seeking /var/lib/postfix/postscreen_cache.db: Success 2) postfix/master[4070]: warning: process /usr/libexec/postfix/postscreen pid 4366 exit status 1 3)

Re: Reporting redirects - API call similar to "sendmail -bv"

2013-05-02 Thread Simon Waters
On 02/05/13 08:12, Axel Luttgens wrote: Le 1 mai 2013 à 17:15, Simon Waters a écrit : [...] Secondary question - can I force the output of "sendmail -bv" to go to a specific email address - seems always to go to the invoker - e.g. can I easily send this to the end users email address (which I

Re: Reporting redirects - API call similar to "sendmail -bv"

2013-05-02 Thread Axel Luttgens
Le 1 mai 2013 à 17:15, Simon Waters a écrit : > [...] > > Secondary question - can I force the output of "sendmail -bv" to go to a > specific email address - seems always to go to the invoker - e.g. can I > easily send this to the end users email address (which I know). Since an > option to ge

Re: Reporting redirects - API call similar to "sendmail -bv"

2013-05-01 Thread Simon Waters
On 01/05/13 15:31, Wietse Venema wrote: Is there any problem with using "sendmail -bv"? The output format (the second and thord part) is meant to be machine-readable. I want to report the value of 30 or 40 redirects in a single web page. I want to generate that report when someone requests th

Re: Reporting redirects - API call similar to "sendmail -bv"

2013-05-01 Thread Wietse Venema
Simon Waters: > doesn't allow me to make this query, in general, without simply feeding > an email through the system? e.g.. "sendmail -bv" works in exactly that > way, presumably for similar reasons? Or is there an exposed API > somewhere that answers the same question? "sendmail -bv" is usefu

Reporting redirects - API call similar to "sendmail -bv"

2013-05-01 Thread Simon Waters
simplicity of thinking, Postfix doesn't care, and indeed does slightly more work because there are 4 maps instead of 2. I now want to produce some reporting based on these mappings. The output I want initially is what "sendmail -bv" was invented for, the mapping from role email to

Re: Realtime log reporting when postfix delivers mails

2013-03-19 Thread Florian Schaal
Am 16.03.2013 22:11, schrieb Reinaldo Gil Lima de Carvalho: > We need a structured log to avoid parsing. I talk with Wietse in the year > 2011 at FISL conference (Porto Alegre/Brasil). > > The second problem is load this data to a database. Rsyslog put the data in a > single column, and use full

Re: Realtime log reporting when postfix delivers mails

2013-03-16 Thread Reinaldo Gil Lima de Carvalho
maillogs using a couple of perl cron scripts > (linux machine with mysql ) > > Now the requirement is of realtime reporting. > I tried using rsyslog with a mysql table. But the performance is far too bad. > Rsyslog seems to have some memory leak and it brings down the machine. >

Re: Realtime log reporting when postfix delivers mails

2013-03-16 Thread Abhijeet Rastogi
(linux machine with mysql ) > > Now the requirement is of realtime reporting. > I tried using rsyslog with a mysql table. But the performance is far too > bad. Rsyslog seems to have some memory leak and it brings down the machine. > > I guess realtime logging should be a very common

Re: Realtime log reporting when postfix delivers mails

2013-03-15 Thread Robert Schetterer
Am 15.03.2013 07:59, schrieb Ram: > I have a postfix server sending out mails and we are creating reports by > parsing the maillogs using a couple of perl cron scripts > (linux machine with mysql ) > > Now the requirement is of realtime reporting. > I tried using rsyslog with

Re: Realtime log reporting when postfix delivers mails

2013-03-15 Thread Stan Hoeppner
On 3/15/2013 1:59 AM, Ram wrote: > I have a postfix server sending out mails and we are creating reports by > parsing the maillogs using a couple of perl cron scripts > (linux machine with mysql ) > > Now the requirement is of realtime reporting. > > I tried using rsyslog wi

Realtime log reporting when postfix delivers mails

2013-03-15 Thread Ram
I have a postfix server sending out mails and we are creating reports by parsing the maillogs using a couple of perl cron scripts (linux machine with mysql ) Now the requirement is of realtime reporting. I tried using rsyslog with a mysql table. But the performance is far too bad. Rsyslog

Re: reporting

2012-11-22 Thread Wietse Venema
Muhammad Yousuf Khan: > [cut] > > > Postfix has built-in "WARN" actions in header_checks that can log > > message subjects and attachment names, but there is no built-in > > support to log details such as attachment sizes. > > if not built-in then any workaround would you like to suggest. That w

Re: reporting

2012-11-22 Thread Muhammad Yousuf Khan
On Thu, Nov 22, 2012 at 12:58 PM, Ralf Hildebrandt wrote: > * Muhammad Yousuf Khan : > >> > and mime_header_checks with: >> > /filename=\"(.*)\.(...)\"$/ WARN Attachment $1.$2 >> >> Thanks for the help. but any suggestion for the attachment size. > > Not possible with postfix alone. If you put Am

Re: reporting

2012-11-21 Thread Ralf Hildebrandt
* Muhammad Yousuf Khan : > > and mime_header_checks with: > > /filename=\"(.*)\.(...)\"$/ WARN Attachment $1.$2 > > Thanks for the help. but any suggestion for the attachment size. Not possible with postfix alone. If you put Amavis in the loop, you get to see the attachment names & sizes at log

Re: reporting

2012-11-21 Thread Muhammad Yousuf Khan
On Wed, Nov 21, 2012 at 9:13 PM, Ralf Hildebrandt wrote: > * Muhammad Yousuf Khan : > >> is there any way that i can collect reports in which i can check who >> is the "sender" who is the "receiver" what was the mail "subject", if > > You can log this using > > header_checks with: > /^Subject:/ WA

Re: reporting

2012-11-21 Thread Muhammad Yousuf Khan
[cut] > Postfix has built-in "WARN" actions in header_checks that can log > message subjects and attachment names, but there is no built-in > support to log details such as attachment sizes. if not built-in then any workaround would you like to suggest. [cut]

Re: reporting

2012-11-21 Thread Ralf Hildebrandt
* Muhammad Yousuf Khan : > is there any way that i can collect reports in which i can check who > is the "sender" who is the "receiver" what was the mail "subject", if You can log this using header_checks with: /^Subject:/ WARN and mime_header_checks with: /filename=\"(.*)\.(...)\"$/ WARN Atta

Re: reporting

2012-11-21 Thread Wietse Venema
Robert Schetterer: > Am 21.11.2012 15:51, schrieb Muhammad Yousuf Khan: > > Please help your experience advice is required. > > my management is interested to see some reports from postfix logs, > > is there any way that i can collect reports in which i can check who > > is the "sender" who is the

Re: reporting

2012-11-21 Thread Robert Schetterer
Am 21.11.2012 15:51, schrieb Muhammad Yousuf Khan: > Please help your experience advice is required. > my management is interested to see some reports from postfix logs, > is there any way that i can collect reports in which i can check who > is the "sender" who is the "receiver" pflogsumm or log

reporting

2012-11-21 Thread Muhammad Yousuf Khan
Please help your experience advice is required. my management is interested to see some reports from postfix logs, is there any way that i can collect reports in which i can check who is the "sender" who is the "receiver" what was the mail "subject", if there is any "attachment" then what was the s

Re: reporting

2012-09-24 Thread Nick Rosier
Jack S wrote: Hello All, Does anyone know of a reporting tool which allows you to search email logs and show the results in a web interface? I see that cpanel has a pretty nice one showing success and failure along with details of the delivery in a very simple clean interface. rsyslog (http

Re: reporting

2012-09-24 Thread Benny Pedersen
Jack S skrev den 24-09-2012 23:19: Hello All, Does anyone know of a reporting tool which allows you to search email logs and show the results in a web interface? ulogd, then make a webpage that uses sql or syslogd-ng where it logs direct to sql I see that cpanel has a pretty nice one

reporting

2012-09-24 Thread Jack S
Hello All, Does anyone know of a reporting tool which allows you to search email logs and show the results in a web interface? I see that cpanel has a pretty nice one showing success and failure along with details of the delivery in a very simple clean interface. -- Thanks! Joey

Re: PATCH: reporting MIME errors to content filter

2011-01-02 Thread Wietse Venema
> In the bounce, pje only got the "554 permanent error" message. > > When the MIME processor was added to Postfix, there was no way to get > the error message back to the SMTP client. > > I suppose that the following patch brings Postfix MIME error > reporting up to the

PATCH: reporting MIME errors to content filter

2011-01-02 Thread Wietse Venema
processor was added to Postfix, there was no way to get the error message back to the SMTP client. I suppose that the following patch brings Postfix MIME error reporting up to the same level as reject messages from Postfix header/body_checks. Wietse diff -cr /var/tmp/postfix-2.8

Re: Specifying pflogsumm Reporting Period

2010-11-21 Thread Stan Hoeppner
Rich Shepard put forth on 11/21/2010 9:56 AM: > Recently I upgraded to postfix-2.7.1. Something changed in the pflogsumm > reporting system because now each day's report appears to accumulate for > the > entire week before resetting. It used to report for only the previous day&#

Specifying pflogsumm Reporting Period

2010-11-21 Thread Rich Shepard
Recently I upgraded to postfix-2.7.1. Something changed in the pflogsumm reporting system because now each day's report appears to accumulate for the entire week before resetting. It used to report for only the previous day's maillog, which is why the local file, /etc/cron.daily/

Re: Log reporting by cidr

2010-10-05 Thread Michael Orlitzky
On 10/05/2010 11:14 AM, pf at alt-ctrl-del.org wrote: > > Great! > By saving one version with: > if ($line =~ ' connect from .*\[([\d\.]+?)\]') { > > And another with: > if ($line =~ 'smtpd.*client=.*\[([\d\.]+?)\]') { > > I can compare attempts vs success, from specific networks. > Rather tha

Re: Log reporting by cidr

2010-10-05 Thread pf at alt-ctrl-del.org
On 10/04/2010 06:25 PM, pf at alt-ctrl-del.org wrote: On 10/04/2010 02:48 PM, pf at alt-ctrl-del.org wrote: Are there any existing scripts out there, that report connection counts by cidr network? Input:? parse.pl /var/log/mail cidr_list.zone Output:? network count 10.10

Re: Log reporting by cidr

2010-10-04 Thread pf at alt-ctrl-del.org
On 10/04/2010 06:25 PM, pf at alt-ctrl-del.org wrote: On 10/04/2010 02:48 PM, pf at alt-ctrl-del.org wrote: Are there any existing scripts out there, that report connection counts by cidr network? Input:? parse.pl /var/log/mail cidr_list.zone Output:? network count 10.10

Re: Log reporting by cidr

2010-10-04 Thread Michael Orlitzky
On 10/04/2010 06:25 PM, pf at alt-ctrl-del.org wrote: > >> On 10/04/2010 02:48 PM, pf at alt-ctrl-del.org wrote: >>> Are there any existing scripts out there, that report connection counts by >>> cidr network? >>> >>> Input:? >>> parse.pl /var/log/mail cidr_list.zone >>> >>> Output:? >>> netw

Re: Log reporting by cidr

2010-10-04 Thread pf at alt-ctrl-del.org
On 10/04/2010 02:48 PM, pf at alt-ctrl-del.org wrote: Are there any existing scripts out there, that report connection counts by cidr network? Input:? parse.pl /var/log/mail cidr_list.zone Output:? network count 10.10.128.0/19 983 10.144.48.0/20 121 On 10/04

Re: Log reporting by cidr

2010-10-04 Thread Michael Orlitzky
On 10/04/2010 02:48 PM, pf at alt-ctrl-del.org wrote: > Are there any existing scripts out there, that report connection counts by > cidr network? > > Input:? > parse.pl /var/log/mail cidr_list.zone > > Output:? > network count > 10.10.128.0/19 983 > 10.144.48.0/20

Log reporting by cidr

2010-10-04 Thread pf at alt-ctrl-del.org
Are there any existing scripts out there, that report connection counts by cidr network? Input:? parse.pl /var/log/mail cidr_list.zone Output:? network count 10.10.128.0/19 983 10.144.48.0/20 121

Re: How can I has postfix reporting errors with an email address

2009-10-18 Thread Wietse Venema
Mark Johnson: > Oct 15 03:27:38 postfixmailer postfix/smtp[11216]: 1AF94249A8A: > to=, relay=none, delay=46316, > delays=46296/0.24/20/0, dsn=4.4.3, status=deferred (Host or domain > name not found. Name service error for name=donotreply.us type=MX: > Host not found, try again) You have a DNS conf

Re: How can I has postfix reporting errors with an email address

2009-10-18 Thread Magnus Bäck
On Sunday, October 18, 2009 at 05:23 CEST, Mark Johnson wrote: > I created a fake email address and testing on postfix about how did it > bounce back or report any error on any invalid email address. It > seemed the postfix just deferred the message. > > Here is setup on main.cf > maximal_b

Re: How can I has postfix reporting errors with an email address

2009-10-17 Thread Mark Johnson
not found, try again) Thanks. MJ --- On Fri, 10/16/09, Victor Duchovni wrote: > From: Victor Duchovni > Subject: Re: How can I has postfix reporting errors with an email address > To: postfix-users@postfix.org > Date: Friday, October 16, 2009, 4:41 PM > On Fri, Oct 16, 200

Re: How can I has postfix reporting errors with an email address

2009-10-16 Thread Victor Duchovni
On Fri, Oct 16, 2009 at 01:32:11PM -0700, Mark Johnson wrote: > Is there any way to config postfix reporting errors with an invalid > email address? Unfortunately, given the very brief description of the problem, no answer is possible. You need to describe your problem in more detail,

Re: How can I has postfix reporting errors with an email address

2009-10-16 Thread Wietse Venema
Mark Johnson: > Is there any way to config postfix reporting errors with an invalid email >-address? Choose one of the following: 1) A client sends a non-existent address to the Postfix SMTP server. 2) A client sends a malformed address to the Postfix SMTP server. 3) A local program pa

How can I has postfix reporting errors with an email address

2009-10-16 Thread Mark Johnson
Is there any way to config postfix reporting errors with an invalid email address? Thanks. MJ

Re: Reporting Connection Attempts back to originators ISP

2009-06-22 Thread Justin C. Le Grice
mouss wrote: Justin C. Le Grice a écrit : I'm sorry if this has already been done to death but I have searched high and low and have found scant discussion of this. I have been running Postfix for three weeks now and have reduced spam to just one or two messages getting through a day. I have

Re: Reporting Connection Attempts back to originators ISP

2009-06-22 Thread mouss
Justin C. Le Grice a écrit : > I'm sorry if this has already been done to death but I have searched > high and low and have found scant discussion of this. > > I have been running Postfix for three weeks now and have reduced spam to > just one or two messages getting through a day. > I have implem

Re: Reporting Connection Attempts back to originators ISP

2009-06-21 Thread EASY steve.h...@digitalcertainty.co.uk
On Mon, 2009-06-22 at 15:30 +1200, Justin C. Le Grice wrote: > I'm sorry if this has already been done to death but I have searched > high and low and have found scant discussion of this. > > I have been running Postfix for three weeks now and have reduced spam to > just one or two messages gett

Reporting Connection Attempts back to originators ISP

2009-06-21 Thread Justin C. Le Grice
I'm sorry if this has already been done to death but I have searched high and low and have found scant discussion of this. I have been running Postfix for three weeks now and have reduced spam to just one or two messages getting through a day. I have implemented recommended anti spam settings f