stripping extension from domain name
Thu, 3 Jul 2014 06:29:06 -0400
I know that the "%d" parameter is for the domain. Is there any way to use just the domain name sans its extension.
EXAMPLE:
example.com ==> example
Also, I have a lot of logging going on in my dovecot log file. I want to limit it to just the barest amount, such as indicting what mail box mail was delivered to. Authentication errors, etcetera should only be shown if an error occurs. Is this possible?
Thanks!
-- Jerry
On 3. Juli 2014 12:36:10 MESZ, Jerry <jerry@seibercom.net> wrote:
Thu, 3 Jul 2014 06:29:06 -0400
I know that the "%d" parameter is for the domain. Is there any way to use just the domain name sans its extension.
EXAMPLE:
example.com ==> example
I don't know of any.
Also, I have a lot of logging going on in my dovecot log file. I want to limit it to just the barest amount, such as indicting what mail box mail was delivered to. Authentication errors, etcetera should only be shown if an error occurs. Is this possible?
I would recommend to filter the desired message types with syslog-ng or rsyslog using regular expressions and write important messages into a separate logfile.
Regards Daniel
participants (2)
-
Daniel Parthey
-
Jerry