- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- generate /var/log/maillog on another machine
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2007 08:42 PM
тАО11-01-2007 08:42 PM
I have two mail servers like mail1(192.168.0.1) and mail2(192.168.0.2) and i want to generate mail2's maillog on mail1 server.
I have changed mail2's /etc/syslog.conf file as
# Log all the mail messages in one place.
mail.* @mail1
and mail1's /etc/rc.d/init.d/syslog scripts as
daemon syslogd -m 0 to daemon syslogd -r
but it's not working.
Thanks & Regards,
MKS
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2007 09:02 PM
тАО11-01-2007 09:02 PM
SolutionYou've got working DNS/Hosts-file entries for 'mail1' on 'mail2' ?
You aren't blocking UDP port 514 on 'mail2' with a firewall (iptables) ?
I run a cluster of 22 servers, using this method. I run syslogd with '-m0 -r'. It works beautifully.. ;) I do use an IP address in the server's syslog.conf though, not a machine name, but if the resolver is working there shouldn't be an issue there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2007 10:09 PM
тАО11-01-2007 10:09 PM
Re: generate /var/log/maillog on another machine
i hv done it on both servers.
>You've got working DNS/Hosts-file entries for 'mail1' on 'mail2' ?
mail1's /etc/hosts==============>
# Do not remove the following line, or various programs
# that require network functionality will fail.
::1 localhost.localdomain localhost
192.168.0.2 mail2
*****************************************
mail2's /etc/hosts============>
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.0.1 mail1
>You aren't blocking UDP port 514 on 'mail2' with a firewall (iptables) ?
iptables off on both servers.
I have also changes /etc/syslog.conf on mail2
# Log all the mail messages in one place.
mail.* @192.168.0.1
still not transfering the mail2's maillog on mail1 server....:(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2007 10:11 PM
тАО11-01-2007 10:11 PM
Re: generate /var/log/maillog on another machine
See what you get.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2007 10:32 PM
тАО11-01-2007 10:32 PM
Re: generate /var/log/maillog on another machine
but above command is not working perhaps tcpdump without option is working.
Regards,
MKS