Postfix configuration

2018-04-05 Thread forums
Hi, Sorry for my english, I'm french. I have some doubts about my Postfix configuration. I have a private mail server, at my home, allowing me to have my personal e-mails ( @my_domain.fr ) My architecture is the following one (on Raspberry Pi with Raspbian): - 1 mail server with Postfix,

Re: Keep Postfix running in the foreground

2018-04-05 Thread Postfix User
On Thu, 5 Apr 2018 07:07:06 -0400 (EDT), Wietse Venema stated: >Bastian Blank: >> On Wed, Apr 04, 2018 at 08:56:46PM -0400, Wietse Venema wrote: >> > That may be so, but why does the lame Linux kernel silently ignore >> > the kill() call instead of properly returning an error. >> >> The signa

Re: monitoring outgoing emails

2018-04-05 Thread Poliman - Serwis
Thank you. I have to get all these message and try to build script which send me an email with specific number of emails send from particular email account. 2018-04-05 16:00 GMT+02:00 chaouche yacine : > > Yes, more specifically you should grep on 'Relay' to avoid other amavis > lines > > root@me

Re: monitoring outgoing emails

2018-04-05 Thread chaouche yacine
Yes, more specifically you should grep on 'Relay' to avoid other amavis lines root@messagerie[10.10.10.19] ~ # grep amavis /var/log/mail.log | grep -v Relay | head AprĀ  1 06:59:29 messagerie-prep amavis[25741]: starting. /usr/sbin/amavisd-new at myhost.mydomain.tld amavisd-new-2.10.1 (20141025

Re: Keep Postfix running in the foreground

2018-04-05 Thread Wietse Venema
Thank you both for verifying that PID-1 mode now works as expected. It saved me a few hours to set stuff up and do it myself; my time for Postfix is very limited. Wietse

Re: monitoring outgoing emails

2018-04-05 Thread Poliman - Serwis
I wasn't able to find text "amavis" in log file. I tried production server and finally I see it and I know what you suggest me. It looks like: Apr 5 15:11:56 s1 amavis[26789]: (26789-13) Passed CLEAN {RelayedOutbound}, LOCAL [127.0.0.1] -> < s...@domain.com> Is it the line about which you said?

Re: monitoring outgoing emails

2018-04-05 Thread chaouche yacine
You didn't say what's wrong the line grepping on amavis ? it should give you what you want : one line by sender. On Thursday, April 5, 2018, 1:51:28 PM GMT+1, Poliman - Serwis wrote: I used this script and after comparison result generated by collate.pl and mail.log file I think tha

Re: monitoring outgoing emails

2018-04-05 Thread chaouche yacine
I was talking about collate.pl On Thursday, April 5, 2018, 12:04:45 PM GMT+1, Poliman - Serwis wrote: Yacine, do you say about collate.pl script or "from=" part from log file? I suppose that abotu script. If collate.pl could group by some id, it would be nice, because I would have on

Re: Keep Postfix running in the foreground

2018-04-05 Thread A. Schulze
Eray Aslan: On Wed, Apr 04, 2018 at 07:19:56PM -0400, Wietse Venema wrote: I also need you guys to verify that with the Postfix master running as PID=1, "docker stop" will no longer leave the master daemon running until Docker times out and forcibly terminates everything. By default, "docker

Re: Keep Postfix running in the foreground

2018-04-05 Thread Wietse Venema
Bastian Blank: > On Wed, Apr 04, 2018 at 08:56:46PM -0400, Wietse Venema wrote: > > That may be so, but why does the lame Linux kernel silently ignore > > the kill() call instead of properly returning an error. > > The signal is ignored the same way as if someone had called > | signal(SIGFOO, SIG_

Re: monitoring outgoing emails

2018-04-05 Thread Poliman - Serwis
Yacine, do you say about collate.pl script or "from=" part from log file? I suppose that abotu script. If collate.pl could group by some id, it would be nice, because I would have only one line from log dependent from particular email sent. 2018-04-05 12:31 GMT+02:00 chaouche yacine : > No it won

Re: monitoring outgoing emails

2018-04-05 Thread chaouche yacine
No it won't, it will simply group qids together so that you can trace individual e-mails, instead of having intermingled log lines from different e-mails. On Thursday, April 5, 2018, 7:10:11 AM GMT+1, Viktor Dukhovni wrote: > On Apr 5, 2018, at 2:07 AM, Poliman - Serwis wrote: