<HTML>
<HEAD>
<TITLE>Managing hostnames</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10.0px'>Hello list<BR>
<BR>
I’m trying to configure syslog-ng with multiple mail server sources.<BR>
<BR>
It works fine, but I want a little more :<BR>
<BR>
The two line below shows what’s happening :<BR>
<BR>
Dec 5 12:30:37 auxey postfix/smtpd[16360]: <- original log on the mail server<BR>
<BR>
Dec 5 12:30:37 auxey/auxey postfix/smtpd[16360]: <- log stored localy by syslog-ng shortname appeared twice separated by “/”<BR>
<BR>
Here’s my configuration :<BR>
<BR>
On auxey : /etc/syslog.conf<BR>
<BR>
mail.* @syslogserver.mydomain.com:514<BR>
<BR>
On syslogserver.mydomain.com : /usr/local/etc/syslog-ng.conf<BR>
<BR>
options { create_dirs(yes); keep_hostname(no); };<BR>
<BR>
<BR>
source net { udp(); };<BR>
<BR>
destination d_auxey { file("/var/log/tracemail/auxey.log"); };<BR>
destination d_hermes { file("/var/log/tracemail/hermes.log"); };<BR>
<BR>
filter f_auxey { host("auxey"); };<BR>
filter f_hermes { host("hermes"); };<BR>
<BR>
log { source(net); filter(f_auxey); destination(d_auxey); };<BR>
log { source(net); filter(f_hermes); destination(d_hermes); };<BR>
<BR>
<BR>
I tried with keep_hostname(no); and keep_hostname(yes);and without the option with the same result<BR>
<BR>
<BR>
Any idea ?</SPAN></FONT>
</BODY>
</HTML>