stripping extension from domain name
Daniel Parthey
d.parthey at metaways.de
Thu Jul 3 20:37:01 UTC 2014
On 3. Juli 2014 12:36:10 MESZ, Jerry <jerry at 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
More information about the dovecot
mailing list