Loading ...
Sorry, an error occurred while loading the content.
 

Re: maillog - identifying port smtp, submission

Expand Messages
  • Wietse Venema
    ... With vanilla syslog daemons, splitting the files might be easier by setting -o syslog_facility=local1 or something similar in master.cf, and having a
    Message 1 of 4 , Dec 28, 2012
      Benny Pedersen:
      > santosh malavade skrev den 2012-12-28 05:59:
      >
      > > smtp 25
      > > submission 587
      >
      > in master.cf set -o syslog_name=foo for the 2 services
      >
      > then in syslog its possible to split them to 2 seperate files if wanted

      With vanilla syslog daemons, splitting the files might be easier
      by setting "-o syslog_facility=local1" or something similar in
      master.cf, and having a rule "local1.* /path/to/file" in
      syslog.conf.

      You MAY have to create the new logfile by hand, and you WILL have
      to update the logfile rotation procedure.

      Wietse
    Your message has been successfully submitted and would be delivered to recipients shortly.