General :: Mail Subject Getting Truncated

Sep 23, 2010

Here is a script that I use to send mails

Code:
#!/bin/bash
SUBJECT="This server has problem"
TO="308718@CDCTGIMCLSB.localdomain"
cat mail | mail -s ${SUBJECT} ${TO}

I am receiving the mail in mail box of system, but subject line getting truncated to just This instead of This server has problem. Here is mail

[Code]...

View 4 Replies


ADVERTISEMENT

General :: Scan Each Incoming Mail With Conditions On Sender Name And Subject

Jan 8, 2010

Request your help in writing a shell script for the following requirement:

1) scan each incoming mail with conditions on sender name and subject
2) scan the mail body for set of characters and email them.

general usage is as follows: I get a mail as follows from: [URL]... subject : Urgent, reply body : name : xyz contact : 12345 the script should mail the following as subject line: n:xyz c:12345 I know procmail is a good option for this, but I'm compelled to use shell script

View 3 Replies View Related

Server :: Users Received A Spam E-mail Without Subject Line

Sep 19, 2010

I need help with header_check filter on postfix. In the last week mail users received a spam e-mail without subject line and I don't know what is the way to reject this. This is the example of message header:

From: "example@example.com"
Date: September 16, 2010 9:07:43 AM GMT-04:00
To: <example@example.com>

I want to reject e-mails that don't have Subject line

View 2 Replies View Related

General :: Too Broad To Describe In A Subject Line

Jul 21, 2010

I dug up an old P2 machine and loaded it with 320MB of RAM and a cheap BIOS-less RAID card using a VT6421 chipset. I attached a 1TB SATA HDD to it and booted it up with the latest gentoo minimal install disk. I have installed gentoo before. The first problem I had is that the system would hang at Scanning for sata_via.... I resolved this by booting with "nosata." This brings me to my first question: Will I be able to use my drive once the OS is installed? It seems like the answer would be yes, but I wanted to make sure.

After booting with the 'nosata' option the system would hang at scanning for pata_qdi.... I resolved this by booting with 'noload=pata_qdi.' Now the system is hanging at: attempting to mount media:- /dev/hdc I have been searching but have not found anything definate on this one. One post ( i am sorry but i forget where; i was working on this for hours) suggested that the problem is caused by the age and speed of the drive. I really don't know much about these things. Can anyone confirm this? Is there a way to make it work, or do I have to replace the drive? If I replaced the drive won't the new one just slow down to accomodate the old motherboard?

View 1 Replies View Related

General :: Command Line To Check For A Specific Email - By Subject - On An SSL Secured IMAP Server?

Feb 1, 2011

Anyone know a simple command line to check for a specific email - by subject - on an SSL secured IMAP server?

View 2 Replies View Related

Security :: Root's .bash_history Has Been Truncated To 0

Feb 9, 2010

I have a recently installed Ubuntu Karmic with standard packages. I enabled automatic security updates and manually updated every package once. I have the root account enabled. At ~1am GMT my .bash_history file for the root account has been truncated to zero. I think the PC may have crashed (no keyboard, mouse, etc, but still some HD activity) at around this time. The disk isn't full, but this is a fresh install, I do not have direct net access (NAT) and I have only visited a limited number of web sites.

View 5 Replies View Related

Ubuntu :: Recover Brasero Truncated Files?

Nov 22, 2010

I used a bootable usb (Ubuntu 10.10) to backup files from an infected windows machine. I made backup DVD's using Brasero and disabled full windows compatibility when burning them to disc. The really dumb part was I didn't check the DVD's before I reinstalled windows on the drive I was backing up. They were all there, I assumed they were ok. The files on the DVD's (mix of doc, xls, jpg, etc.) won't open in windows or Linux. Anybody know of a way to recover them? From what I've been reading, it seems like I'm screwed, but I thought I'd check with the experts. Is there a specific way Brasero/Linux changes the file, and can that info can be used to change it back? I assume it just cuts the name/header to 64 characters and I'm SOL. I'm going to see what diskdoctor's recovery software can get back from the hard drive.

View 2 Replies View Related

Ubuntu :: Files Get Truncated On Write When No Space Left

Aug 3, 2010

If I run low on free space, and I/system need to write something, then the files are just truncated. With no way to revert to their previous content.

First I installed the Windows on the VirtualBox, it sucked up all free space, so I couldn't even login to the system afterwards.

Then I, once again, silently ran out of free space, and my php editor broke. Later I discovered that it tried to write its config files, but failed, truncating them all. I lost a half a year of configurations, custom color scheme and custom code snippets.

Then one day the system just froze. Later I understood, there wasn't enough free space for it to run.

Today I was working on my php script, for like the second day, when, again, free space ran out, so with another file-save, I got a wonderfully impressing blank php-file. It was auto-reloaded from the external change, which was failure to write to file, obviously, so no ctrl-z worked, leaving me with two days work wasted and an urge to hit the monitor

My questions are:
1 How can this be fixed? Besides the obvious awesome fix "watch your free space, buddy".
2 Could somebody explain why these sorts of things happen, just so I know why the ultra-safe and durable 'nix operating system wants to destroy itself sometimes?
3 Anyone else encountered this issue?

View 3 Replies View Related

Ubuntu :: Unable To Delete The Truncated Backup File

Oct 28, 2010

I was doing a big backup system this morning (in Ubuntu 10.10) which was taking some time, when there was an urgent task I needed to see to, so I rashly stopped the backup with CTRL-C. Later I found that this left the recipient directory with an input-output problem, so I could not delete the truncated backup file (or any other file in the directory). I tried all sorts of chmod procedures etc., including using the usually very successful RESCUE CD from a USB pen, but nothing seemed to cure the input-output problem.

In the end, in desperation, I copied all the other files into a new directory, and then deleted the original directory from Windows 7. (I use a multiple boot system.) Windows obviously does not observe the same permissions as Linux, and it obeyed without demure! So all is now well.

View 3 Replies View Related

Red Hat / Fedora :: Error While Compiling With Eclipse - File Truncated

Oct 14, 2010

I get an error while compiling in Eclipse:
*.o: file not recognized: File truncated
I tried to remove all the .obj and .moc folders and make clean but can't solve the problem! Maybe I'm missing something here.

View 2 Replies View Related

Ubuntu Networking :: SSL Handshake Failed - Secure Connection Truncated

Jun 16, 2010

I'm having a problem with Subversion. When I try an "svn up" it gives me this error message:
SSL handshake failed: Secure connection truncated
I'm running Ubuntu 10/4 but I also had this problem with 9/10. Does anyone know what this error message means? It appears to be an SSL problem but it's not clear to me what exactly the problem is. I do not have this problem with svn on my other office computer, nor my home computer. FYI, I'm running subversion on the Regina project.

The full error message is this:
Code:
svn up
svn: OPTIONS of '[URL]': SSL handshake failed: Secure connection truncated [URL]. Although I don't think there's anything specific to Regina about this svn problem, as I mentioned, I can "svn up" from home, or from my other office computer.

View 9 Replies View Related

Server :: How To Igore Subject

Nov 30, 2010

I have this:

[Code]...

which runs a program. But I want to add some thing to it so that, if the subject contain a particular string, the program shouldn't be run. How do I do that?

View 1 Replies View Related

OpenSUSE :: Get Zypper To Show The Full Description Of Packages Rather Than A Truncated Summary?

Jan 10, 2011

How can I get Zypper to show the full description of packages rather than a truncated summary? When I use zypper to list installed packages or search for packages from the command line I would like to see the full detailed description of the packages that are returned in the results. Currently zypper only shows me a truncated summary description.

View 2 Replies View Related

Programming :: Ar - .libs/libbfd.a - Error Reading Archive.o - File Truncated

May 30, 2010

So the above is the error message I am receiving when trying to compile (at make stage when error received) binutils 2.20.1. I am compiling in Virtualbox and the base machine is SourceMage 64bit.

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

General :: Set Nagios Directives To Only Send One E-mail Per Alert Without It Flooding Mail Boxes?

Jul 20, 2011

I have got a nagios server running on my network, The configuration seems to be okay but each time there is a service alert notification, and an e-mail is sent to the contact group, Nagios continuously sends e-mail over and over again. Do anyone know of a way to set Nagios directives to only send one e-mail per alert without it flooding mail boxes.

View 3 Replies View Related

General :: Sendmail Error / Unable To Work On WAN / Can Send Mail But Not Able To Recieve Mail?

Nov 15, 2010

I had configured sendmail on linux 5.2, Iam using public ip and my domain is registered[linuxforfreshers.info]. I am facing a issue that when I mail with the user sumit@linuxforfreshers.info then I am able to do it. But if somebody tries to send mail to the same user then it bounce backs. I had made the entry of domain in /etc/mail/local-host-name and also I put ok in /etc/mail/access.The mails are working properly with in LAN. But not able to work on WAN only I can send mail but not able to recieve mail.What else I need to do.

View 6 Replies View Related

General :: Configure Mutt Mail Client For Mail Server Other That Gmail?

Jan 9, 2011

I am trying to configure mutt to send email via command line . It works fine when I configure it for gmail as follows:Quote:

# SENDING MAIL
set copy=yes
set smtp_url = "smtp://mymail@smtp.gmail.com:587/"

[code]...

View 14 Replies View Related

General :: Debian Mail Server As A User Send A Mail With Attachment Maximum Wight Is 5 Mb

Jun 8, 2011

How to configure a Debian mail server as a user send a mail with attachment maximum wight is 5 Mb.

View 3 Replies View Related

Server :: Screening Subject In Sendmail Not Working?

Jun 21, 2011

I am trying to create a custom ruleset in sendmail, but not getting through, please guide me in right direction. I made following entry in sendmail.mc

LOCAL_CONFIG
Kspamsubject hash /etc/mail/spamsubject
HSubject: $>ScreenSubject

[code]....

View 5 Replies View Related

General :: Split Mail Received In Local Mail Box Into Different Files?

Oct 30, 2010

How can I split my local mail box into an individual files for each mail. The senario of mine is I fetch some emails from a mail server into my local linux box with fetchmail command but I want each fetched mail in a different indivitual file for easy file processing and manipulation for example sending those email through sms and so on

View 1 Replies View Related

General :: Debian E-mail Client Download E-mail Messages

Aug 7, 2011

I need help in setting up the native e-mail client included in Debian Squeeze. My ultimate goal is to have the Debian e-mail client download e-mail messages and process attachments automatically.

View 14 Replies View Related

General :: Extract A Single Mail From The Mail Path?

Mar 10, 2011

I just want to know is it possible to extract a single mail from the mail path i.e. /var/mail/root.

for ex. i am having this mail in /var/mail/root.

From root@localhost.localdomain Thu Mar 10 21:47:47 2011
Return-Path: <root@localhost.localdomain>
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by localhost.localdomain (8.13.8/8.13.8) with ESMTP id p2AGHlx4004190
for <root@localhost.localdomain>; Thu, 10 Mar 2011 21:47:47 +0530
[Code]....

how to extract only this mail from /var/mail/root

View 2 Replies View Related

General :: Receive Mail Fine But Cannot Send Mail

Feb 25, 2011

I have configured fetchmail, sendmail/postfix and mutt to act as a relay to receive mail. I can receive mail fine but I cannot send mail. Its working fine on my one box but on the one acting as a nat I am having issues. This is my mail log from the nat box.

Feb 25 03:42:25 TrunkmonkeyNat sendmail[4382]: p1P8gPfd004382: from=root, size=52, class=0, nrcpts=1, msgid=<201102250842.p1P8gPfd004382@localhost.localdomain>, relay=root@localhost
Feb 25 03:42:25 TrunkmonkeyNat sendmail[4383]: p1P8gPgn004383: from=<root@localhost.localdomain>, size=353, class=0, nrcpts=1, msgid=<201102250842.p1P8gPfd004382@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
[Code]....

View 116 Replies View Related

Fedora :: Subject - Modify Only Parameters In Kernel Config

Aug 28, 2009

I want to start to play with "homemade" kernels. (To get some experiences in this subject). I want to do this step-by-step. I have already read a lot about this. I have a Fedora 10 running. So I want to start with this. I have read that there is a "special" way to create a kernel for Fedora. [URL] OK. I understand this +/-. When you build a new kernel with an other version number, you have to rebuild all the modules with this new kernelversion, and you have to install these also.

But : I want to start with modify only some parameters in my kernel config. Do I need to rebuild and re-install the modules also? Will it not be enough to rebuild only the kernel? (vmlinuz) Where can I find some information about the options I can disable in my kernel to speedup my system? (boot process ed). I want to suppress the loading of unneeded modules. I want to understand the options in menuconfig (and there are a lot of options ! ! )

View 1 Replies View Related

Ubuntu Servers :: Email Filtering By Subject Line?

Jun 8, 2010

how to set up a simple rule on the server side so emails with a certain subject just go into that user's .Trash. Right now my users will get roughly 25,000 of the same email from our corporate offices and it is destroying their email clients. I believe the mail setup is postfix and courier with virtual users. I tried googling this up but I couldn't find much current or ubuntu-specific information.

View 3 Replies View Related

Programming :: Return The Directories In Subject Dir, But Only The Directory Without Path?

May 21, 2010

Very new to this shell scripting/Linux scripting.

subject_dir=/labs/tricam/MERIT/MERIT_0*
for subject in `ls $subject_dir` ; do
if [ ! -d $subject_dir/$subject/feat/glm2010/doublegz/SRRTA.feat ] ; then

[code]....

View 1 Replies View Related

Server :: Sendmail - Everything Appears To Work But No Subject Is Logged

Aug 6, 2010

I am looking for the syntax for a sendmail ruleset to log the message subject to the syslog service. I have found a few posts on the web, but none seem to work. The basic appear to be - add the following to the sendmail.mc file then compile the sendmail.cf file using M4. The syntax suggested follows (I believe the rewrite rule is incorrect)(I and using <T> to indicate tabs):

LOCAL_CONFIC
Klog syslog
HSubject:<T>$>Check_Subject

LOCAL_RULESETS
SCheck_Subject
R$*<T>$:<T>$(log Subject=$1<T>$)<T>$1

sendmail.cf compiles and when used as the config file for sendmail - everything appears to work, but no subject is logged.

View 8 Replies View Related

Debian Multimedia :: GDBus Error - Authentication Agent Already Exists For Given Subject

Jan 19, 2013

I use gdm3+XFCE on my box (amd64, debian testing).

Recently, when I start my XFCE session, I have been getting this error message

GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject

Even starting a new XFCE session will not work. So far, it looks that this error message has no consequences, but it is annoying....

View 8 Replies View Related

Server :: Setup Postfix Header_check Subject That Discard All Emails That Have More Than 6 Words In It?

Sep 8, 2010

How would one setup a header_check that would discard all emails that have more than 6 words in it? Such as, if there are more than 6 spaces in the entire message it would be deleted? I cannot find this out but it would reduce my spam intake by 50+ a day.

View 2 Replies View Related







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