This problem is not strictly related to Postfix, but I'm going crazy
trying to solve it. I've a postfix mail server on Debian 9. I want
maintain the mail log, so I create a posfix file in /etc/logrotate.d
with the following content (this is the latest attempt to find a
solution):
/var/log/mail.* {
Hai,
Did you remove the mail rotate also from /etc/logrotate.d/rsyslog ?
You have these lines in the rsyslog file also.
/var/log/mail.info
/var/log/mail.warn
/var/log/mail.err
/var/log/mail.log
Your now "double" rotateing your logs. ;-)
Greetz,
louis
> -Oorspronkelijk bericht---
Hi people. Do you know is there any tool/plugin for monitoring outgoing
emails from server with postfix? Maybe postfix has this feature?
--
*Pozdrawiam / Best Regards*
*Piotr Bracha*
On Wed, 28 Mar 2018 10:24:49 +0200
L.P.H. van Belle wrote:
> Hai,
>
> Did you remove the mail rotate also from /etc/logrotate.d/rsyslog ?
>
> You have these lines in the rsyslog file also.
> /var/log/mail.info
> /var/log/mail.warn
> /var/log/mail.err
> /var/log/mail.log
>
> Your now "doubl
You did not get the hint.. The "wrong" thing here is mail.*
Because your rotating now everything behind the mail.*
so also .1 .1.1 .1.1.1 etc etc, until you server explodes ;-)
You should have this in you postfix logrotate..
Try this.
/var/log/mail.info /var/log/mail.warn /var/log/mail
On Wed, 28 Mar 2018 11:13:04 +0200
L.P.H. van Belle wrote:
> You did not get the hint.. The "wrong" thing here is mail.*
> Because your rotating now everything behind the mail.*
> so also .1 .1.1 .1.1.1 etc etc, until you server explodes ;-)
>
> You should have this in you postfix logro
We have recently begun using PostFix to replace one of our legacy systems. For
the most part, the system appears to be running fine under load. Recently we
have begun seeing some sporadic delivery errors. One error in particular is
hard to trace back to its original message and confirm that the
l carr:
> Mar 27 16:20:54 redactedServer postfix/cleanup[24237]: warning:
> ldap:/etc/postfix/ldap-aliases.cf lookup error for "redacted@domain"
> Mar 27 16:20:54 redactedServer postfix/cleanup[24237]: warning: 745EC6AC49:
> virtual_alias_maps map lookup problem for redacted@domain -- deferring
Poliman - Serwis:
> Hi people. Do you know is there any tool/plugin for monitoring outgoing
> emails from server with postfix? Maybe postfix has this feature?
Postfix logs all transactions. I suggest that you look for tools
that analyze Postfix logs.
Wietse
Poliman - Serwis:
Hi people. Do you know is there any tool/plugin for monitoring outgoing
emails from server with postfix? Maybe postfix has this feature?
On 28.03.18 09:57, Wietse Venema wrote:
Postfix logs all transactions. I suggest that you look for tools
that analyze Postfix logs.
pflog
Thank you, I will check it. I am looking for information which linux user
sends email and how many, for example, per hour, day. That would be perfect
plugin.
2018-03-28 15:59 GMT+02:00 Matus UHLAR - fantomas :
> Poliman - Serwis:
>>
>>> Hi people. Do you know is there any tool/plugin for monitori
Thanks for the suggestion on using proxy:ldap, we will look into that. We
already believed the LDAP error was an issue at the LDAP side, or communication
to the LDAP server, and not an issue with how Postfix was working. We were just
trying to get a little more information on what Postfix was se
I use this line :
tail -f /var/log/mail.log | egrep --line-buffered 'Relay' | egrep
--line-buffered -v
'(Process_Control|notifications.systemes|PODCAST-|Admin-ch|PUB_CONTROL|@mydomain.tld|r...@mydomain.tld'
| sed -u 's/messagerie-prep amavis.*},//;s/Hits:\([^,]\+\).*/HITS:\1/;
s/\(Queue-ID\|M
On Wed, Mar 28, 2018 at 02:16:47PM +, l carr wrote:
> Our other question is there a way to link the error message in
> the logs to the original message that was deferred.
The queue ID is always logged after it has been assigned. Also set
enable_long_queue_ids = yes
in any supported Postfi
> On Mar 28, 2018, at 1:15 PM, /dev/rob0 wrote:
>
> If/when 745EC6AC49 is finally delivered or permanently bounced for
> some reason such as maximal_queue_lifetime, the queue ID will be
> mentioned in logs describing the final disposition.
The queue file was deleted when virtual expansion fa
Wow, huge piece of linux commands. Currently too hard to modify for me. ;)
Now it returns (I also try changed mydomain.tld to something real)
root@serwer1:~# tail -f /var/log/mail.log | egrep --line-buffered 'Relay' |
egrep --line-buffered -v
'(Process_Control|notifications.systemes|PODCAST-|Admin-
Poliman - Serwis writes:
I think it should read:
...|egrep --line-buffered -v '(...)'|sed...
with a closing parenthesis before the closing quote
Olivier
> [1:text/plain Show]
>
>
> [2:text/html Hide Save:noname (20kB)]
>
> Wow, huge piece of linux commands. Currently too hard to modify for me
Probably you have right. What should be in part:
@mydomain.tld|r...@mydomain.tld'
is it some mail to send notifications after pipe?
2018-03-29 7:47 GMT+02:00 Olivier :
> Poliman - Serwis writes:
>
> I think it should read:
>
> ...|egrep --line-buffered -v '(...)'|sed...
>
> with a closing parent
I'd like to use postfix to rewrite the "from" address on all my outgoing emails.
However, smtp_generic_maps/lmtp_generic_maps does not seem to work
with mail coming locally from my machine (from cron jobs, from a local
MUA, etc.).
Is there a way to rewrite mails from local?
19 matches
Mail list logo