Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Thursday 2007-03-29 at 15:59 +0100, Chuck Amadi wrote:
I have been trying to get my OpenSuSE 10.2 Retail Client to accept remote logs from mail server.
Piece of cake. :-p
Any ideas
Add this to the default config of /etc/syslog-ng/syslog-ng.conf
source ext { udp(ip("0.0.0.0") port(514)); };
below the source src {...} def. Then:
filter f_router { host("router"); };
destination router { file("/var/log/router"); }; log { source(ext); filter(f_router); destination(router); };
All my external log sources are thus separated.
- -- Cheers, Carlos E. R.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76
iD8DBQFGC9jOtTMYHG2NR9URAkbyAJ9H6/3AwsjzovcsXyPlDWYpRUnwDwCfcM7f gatmIAnzXBN//xve7LJRdEs= =T2su -----END PGP SIGNATURE-----
Hi Carols I hope So gave up on for a day or So to gather my thoughts. I will look at your snippet and have a crack after I make a backup. Cheers Chuck -- Chuck Amadi ROK Corporation Limited Ty ROK, Dyffryn Business Park, Llantwit Major Road, Llandow, Vale Of Glamorgan. CF71 7PY Tel: 01446 795 839 Fax: 01446 794 994 International Tel: +44 1446 795 839 email: chuck.amadi@rokcorp.com This email is confidential to the addressee only. If you do not believe that you are the intended recipient, do not pass it on or copy it in any way. Please delete it immediately. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org