Server :: Redirecting Boot Logs To Emails?

Nov 15, 2010

I am done with installing cron jobs for performing rebboting operations, now my requirement is sending the bootlogs to an email address.

View 1 Replies


ADVERTISEMENT

General :: Redirecting Logs To Some Other Location?

Dec 5, 2009

I need with JBoss application Server.All I have JBOSS running without any issue.All I want is leading the Jboss logs to be deposited at /var/log/jboss.Say, if there are more than one instance running then create a seperate logs like /var/log/jboss-insta1, /var/log/jboss-insta2 etc.

View 2 Replies View Related

Debian Installation :: Redirecting All Logs To Different Location

Jul 27, 2010

So 1 year ago I installed Lenny, but in the process of installation during the splitting of the drive I have mistakenly set a seperate parition for "/var/logs" instead of "/var/log". Is there any way to redirect all the logs to this seperate partition (var/logs) or it's better to go through the whole trouble* of installing Lenny again? *the trouble because it was hell of a problem to fix grub that didn't recognize SmartArray RAID (cciss driver), the problem is that I don't really remember how I fixed it. Symbolic link won't help since physically it will still be on the other partition. Do I have any other option?

View 3 Replies View Related

Software :: Redirecting Apache/Tomcat Logs To Rsyslog Without Writing To Disk?

May 27, 2011

For internal security reasons I need to prevent ourmcat logs from writing to the webserver local disk. We set up a separate logging server with rsyslog and need to pipe the log data to it.I am trying to work out how to configure tomcat to send all log data to the logging server via the rsyslog client (running locally) via a named pipe. We are on CentOS 5.6, Tomcat 6 and rsyslog 5.8.1. I need to know: 1) do we use the default logging library or log4j2) where is this configured in the tomcat config3) is there any code that would need to be written to achieve this

View 1 Replies View Related

Ubuntu Servers :: Logwatch Emails Not Sent If Named Logs Are Included?

Jun 15, 2011

I've suddenly stopped getting emails from logwatch which runs on an Ubuntu server daily using cron.After a good day or so of troubleshooting, I was able to establish that it was the 'Service = named' line in my logwatch.conf file, which was stopping the emails from coming through. If I commented out this line, the logwatch emails come through with no issues, uncomment, and I don't get an email. I don't get any error from logwatch itself when I run it, even with '--debug high', leading me to think that my email configuration is setup ok, at least. Furthermore, I tried running logwatch with '--output file --format html' and logwatch produces a valid html file.

I then thought: "Could I have a entry in my Bind/named log files which could be rejected by my ISP's smtp server?". So, (to the best of my knowledge) I cleared out the log files in /var/log that contained messages from named. I then ran logwatch (including the named service in my logwatch.conf file) and I got an email through, with a pretty much empty named section, which is exactly what I anticipated. Great! - it's fixed.

So, the cron.daily ran early this morning, but still no email in my inbox when I got up. I then tried to run 'logwatch --Range today' and lo and behold, I got a logwatch report email, which included a named section, with log entries in there. So it seems that something that's been logged by named overnight to my logfiles (i.e. '--Range yesterday') has caused issues again with logwatch's ability to send reports through my ISP's smtp servers.

View 1 Replies View Related

Server :: IPTABLES Port Redirecting To SQUID

Jul 12, 2011

i've got a software that uses a specific tcp port e.g 11111. i want to redirect all the traffic from 11111 to squid port 3128. i'm using the following commands to redirecting:

iptables -t nat -A PREROUTING -p tcp -m tcp -i eth0 --dport 11111 -j DNAT --to 192.168.0.1:3128
iptables -A FORWARD -p tcp -m tcp -i eth0 --dport 11111 -j ACCEPT

my ubuntu server has two interfaces. eth0 is for local network (dhcp assigns ips) and eth1 is for internet. my ubuntu server acts as a gateway and as an authentication server for users.

at squid also i have the following configuration regarding my port:

acl myport port 11111 http_access allow CONNECT myport. my squid installation is not transparent as users need to authenticate in order to access the web.

my application is a windows application and of course is not working. i examined the packets with wireshark and i noticed that when the program tries to access the internet, squid replies with err_invalid_request (the packet contains that data). the program is trying to send some plain text via port 11111 and as far as i can image, somehow squid declines the data. i cant get rid off squid as i want to pass the traffic from squid. what is the problem?

View 1 Replies View Related

Server :: Redirecting Output Of 'sendmail -bv' To Console?

May 3, 2011

When I run 'sendmail -bv', it sends the mail delivery status report as a mail to the root. Is there a way I can redirect this to the console instead of sending as a mail. requirement is to programatically find the mail host of the recipient for which I thought of using this 'sendmail -bv' command. Is there any other better way to find mail host of the recipient

View 12 Replies View Related

Server :: Sendmail For Inbound Mail And Redirecting Them Internally To Other Port?

Mar 22, 2011

I have configured a sendmail MTA for incoming mails in a network and by using IPtables i have redirected the traffic internally to other port where one more SMTP by a application is running.Iptables rule:

iptables -A INPUT -i eth0 -p tcp --dport 25 -j ACCEPT
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 25 -j REDIRECT --to-port 25000

My sendmail config is as below.

Sendmail.mc
define(`SMART_HOST', `relay:host.subdomain.mydomain.com')dnl
dnl # define(`RELAY_MAILER',`esmtp')dnl

[code]...

View 2 Replies View Related

Networking :: IPTables - Redirecting Web Traffic To Single Transparent Proxy Server

Mar 25, 2010

I am new to iptables. We have two Squid proxy servers running in "non-transparent mode" (172.16.0.1 and 172.16.0.2). Currently users have to configure the proxy server they want to use by configuring them in their browsers. Recently I saw an example for redirecting web traffic to a single transparent proxy server.

-A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128
-A PREROUTING -p tcp -m tcp --dport 443 -j REDIRECT --to-ports 3128

Can anyone modify this rule to accommodate my current setup of two proxy servers running in non-transparent mode. i.e Redirect web traffic to the 172.16.0.1-172.16.0.2 ip range.

View 2 Replies View Related

Ubuntu :: MUTT - Which Key To Refresh The Emails - Emails Are Got By IMAP ?

May 29, 2010

How to refresh and reload the list of email into MUTT ? Which key?

Additional: how to go to folder SENT of gmail ? and configureation eventually?

View 1 Replies View Related

OpenSUSE Network :: Lamp Server To Send Automated Emails Using Cable Providers SMTP Server?

Jun 19, 2010

Somewhere out there there has to be someone that can help me set up my lamp server to send automated emails using my cable providers SMTP server

View 2 Replies View Related

Server :: CentOS Mail Server: One Account Cannot Receive Their Emails

Oct 14, 2010

Could it be the IMAP file is corrupt?I have set up mail server on Centos to receive via dovecot.One of my user accounts (A single account out of a hundred)cannot receive their mails.

View 3 Replies View Related

Server :: POSTFIX Server New Domain Emails Stuck In Queue

Apr 20, 2010

I am newbie to postfix. I added a new domain to my postfix server in the main.cf under mydestinations variable and the relay_domains file. Also, added this domain to my backend exchange server. When I send a test message from the new domain, my messages from that domain appear to be stuck in the "queue active". What does it mean when you are stuck in this queue? Does this mean that my backend email server (exchange 2003) isn't allowing messages from this new domain OR that the POSTFIX server still needs configuring.

View 2 Replies View Related

Server :: Monitor Server Snmp Read From Logs Parsed Possible?

Jul 21, 2009

I would like to monitor a RedHat via snmp. I would like to make available data via snmp. The data that I would like to graph are only present in logs file. Is it possible to parse data from applicative logs and have them available for my cacti server via snmp? I already monitor CPU, mem, and others with cacti using the standard MIB.What would be the logical step I would need to achieve that?

View 1 Replies View Related

Ubuntu :: 9.10 - How To View Boot Up Logs

Jul 3, 2010

Is there anyway to view the Boot Log of the messages displayed during the booting of Ubuntu? I found log file viewer under Administration but there were so many logs I did not know if any of them were the Boot up logs. I have my Ubuntu configured to display the messages as it boots before it switches to GUI mode and I see an error message about something failing to initialise but it goes by too fast to read the entire error message. I have Ubuntu 9.04 64-bit

View 2 Replies View Related

Server :: CSF Is Blocking Emails To Be Sent Out

Jan 3, 2011

I've a CentOS Box with no control panel.. I used to manage it via SSH. Any way, I've installed CSF/LFD on it.. and it seemed to be working just fine. The only problem I've encountered is that when I start and enable CSF, messages and emails keeps stocked in the mail queue.. I've double checked and made sure needed ports are opined.. But, I still have the problem.

View 2 Replies View Related

Server :: Can't See Emails In Inbox

Aug 27, 2010

I have Dovecot up and running however Thunderbird nor Evolution can see mail in the users inbox. Getting no errors from them either thunderbird nor Evolution.On the server (Cento 5.3) the email is in /var/spool/mail/ username. Sending a receiving email on the server itself whats fine using the mail commands. Is their a setting in Dovecot I'm over looking?

View 1 Replies View Related

Ubuntu :: Display Logs At Boot Time?

Apr 4, 2011

Is there a way to display the boot logs as ubuntu is starting up? Call me old fashion, but I think it's better than staring at a pretty logo that does not tell me what's going on everytime I boot. I am using 10.10

View 2 Replies View Related

Server :: Enable Incoming Emails

Mar 3, 2011

I use php to send newsletter via sendmail.outgoing emails work as needed.I defined a .forward file to get responses in my regular email account.If I use mailx to send emails from root account to my own account, it gets forwarded as needed.If I try to send from outside the box to news@domain.com the email is not received in the box and the sender does not receive an error message.

I am sure I missed something.How do I enable incoming emails?

View 4 Replies View Related

Server :: How To See The Subject Of Emails Queued

Jan 22, 2010

I've a mailserver based on postfix. I'm queueing all the emails that have to be sent. After that I'm managing the queue with the output of mailq.

But in this way I'm just able to have this details of the queued mails: sender, receiver, size, time. There is a way to see also the subject of that emails?

View 2 Replies View Related

Server :: Postfix Cannot Receive Emails

Jul 30, 2010

I have lenny with postfix, countier-imap, squirrelmail installed i can send emails but i can not receive any emails.

View 6 Replies View Related

Server :: Postfix Does Not Send Emails?

Feb 8, 2011

I'm stuck with postfix. It cannot send emails and I cannot find out why! smtpPort 25/tcp is open. I can telnet localhost with 25, but not the localhosts IP(192.168.1.15). Sendmail is OFF. Here is the main.cf file!

# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default

[code]..

View 4 Replies View Related

Server :: Script For Reading Emails?

Feb 10, 2011

In linux is there a way to read a mail from particular mail id and the mail content should be written to text file.is it possible, if possible can any anyone share the idea behind that.

View 1 Replies View Related

CentOS 5 Server :: All Emails Go To One Address?

Apr 6, 2011

I am working for the first time on a dedicated server with CentOS. I have sendmail and postifx installed and I realized all the emails send by the server are redirected to my own private address.

For example if I want to send an email to "luc@test.com", I will receive it in my box (ex "paulin@gmail.com")... I also receive in my box the logwatch which should be send to root@serverblabla.live-servers.net

That is very strange and I really don't understand what does that.

View 3 Replies View Related

Server :: How To Analysis IBM DSA Logs

Oct 24, 2010

I Have RHEL4 running on IBM X3550 server, we request IBM support regarding issues with this server, they will request for IBM DSA logs. The logs are quite extensive and cover almost all server config & can identify hardware issues with drivers...etc. I want to know if there is a way to analysis those logs offline without sending them to IBM support?

View 3 Replies View Related

OpenSUSE :: Restore Emails From Kmail To Server?

Mar 29, 2010

I installed openSUSE on one of the spare computers in work to test it out before I install it on my own laptop. I tried connecting Kmail to MS exchange and did so successfully using POP 3 but never checked the box saying leave messages on the server and it removed the emails from the server. Now I have nothing in my Outlook Inbox on my XP machine. how I can restore the emails from Kmail to the server.

View 6 Replies View Related

Ubuntu :: Thunderbird 3 - Delete All The Emails On The Server

Jan 4, 2010

Is there a way to delete all the emails on the server so there are no emails in my inbox? I'd like to start fresh for the new year.

View 8 Replies View Related

Ubuntu Servers :: 10.04.1 Server Not Sending Out Emails

Oct 12, 2010

I have wordpress installed on my VPS, which is running 10.04.1 LTS. I appear to be having an issue whereby the server isn't sending out emails to new users, nor to myself when I get comments on the blog.I'm at a dead end for where to look next, because the settings are exactly the same as they were with my previous VPS (and they were always pretty generic), but yet it doesn't work.

View 5 Replies View Related

Server :: How To DKIM Sign Emails By Amavisd-new

Oct 21, 2010

I work for a university institute and administrate its servers "incidently". Currently I am putting some work into our mail server configuration (sendmail 8.13.1 with amavisd-new-2.6.4). Recently I got amavis to verify DKIM signed mails. Now my plan was to sign outgoing Emails ourselves. This is what I have done (I replaced some names for privacy reasons):

I created a private key:

Code:
/usr/local/amavisd/amavisd genrsa /var/dkim/SEL1_DKIMkey.pem
Changed permissions for the user running amavis:
Code:
chown -R vscan.vscan /var/dkim/ && chmod -R 700 /var/dkim
Editet my /etc/amavisd.conf:

[Code]....

Send Testmails to sa-test@sendmail.net and check-auth@verifier.port25.com . They automatically create answer mails considering signature information.

Send emails to my external account at some other provider.

The problem is that amavis is not signing the mails. Both automatic test emails reported, that the mail had not been signed. The mail to my external account also did not contain any DKIM information.

"My" system:

Code:
# uname -r & cat /etc/issue
2.6.9-89.0.11.ELsmp
Red Hat Enterprise Linux AS release 4 (Nahant Update 8)

View 14 Replies View Related

Server :: Use Domain Name And Static IP For Exchanging Emails?

Jan 24, 2011

1. I have registered Domain name/website, suppose = test.com, hosted on another ISP.

2. I have another Static IP, suppose = 1.2.3.4

3. Now I want to setup/configure mail server to send and receive Emails for "test.com", say a user from anywhere can use mail server by using webaddress of "mail.test.com"

4. Mail server will be mange locally in my own setup, accessible from everywhere.

5. Please give some examples, howto use registered domain name (for example = test.com) with static public ip (suppose= 1.2.3.4), so user can use only mail.test.com, not static ip address.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved