OpenSUSE Network :: Mailx Creates Unwanted Attachment

Sep 9, 2010

I run in a script a mailx command like this:cat logfile | mailx -s'the logfile' to-me@..This works most of the time, but in some cases mailx automagically turns logfile into an attachment called 'attachment.bin'.I think this may be because 'logfile' contains a few control characters or escape codes?How can I tell mailx to be less intelligent and treat it as an ASCII text file?

View 3 Replies


ADVERTISEMENT

OpenSUSE Network :: 11.4 - Mailx Not Working (Message Not Sent)

Apr 25, 2011

I am running a opensuse 11.4 with mailx 12.2. I am trying to sent emails via command line using mailx. I have not configured any mail server in yast. My .mailrc in my homefolder looks like this:

set smtp-use-starttls
account gmx {
set smtp=mail.gmx.net:465
set smtp-auth=login
set smtp-auth-user=my.name@gmx.de
set smtp-auth-password=mypassword
set from="My name <my.name@gmx.de>"
}

Unfortunately when I use the command
mailx -s"Test" -A gmx my.name@gmx.de [Return]
Hallo
[ctrl+d]
I am getting only the message
Unexpected EOF on SMTP connection
"/home/myname/dead.letter" 11/338
. . . message not sent.

View 9 Replies View Related

OpenSUSE Network :: Using Mailx To Send Mail To Gmail?

Oct 11, 2009

I have a couple of servers that are scripted to send cron script output logs to my email address (a Gmail address). Mailx is what I am using, but I didn't have to configure anything; I installed it, and it just worked with the following command: mailx -s "SUBJECT" -r FROMMYADDRESS TOMYADDRESS < FILETOCATANDSEND

This occurs every Saturday and Sunday at noon after my backup scripts run.
I noticed yesterday that I did not receive these logs, so I logged into the machine, started 'mail' and saw messages like this: This is the mail system at host media.deagle.lan.

[Code]....

View 9 Replies View Related

OpenSUSE Network :: Samba Creates Multiple Copies Of Video In /tmp

Dec 30, 2009

I have a desktop and a laptop both running opensuse 11.2 with kde4. I have a samba share on my desktop. I tried opening a video on that share from my laptop (wirelessly) with Dolphin/SMPlayer. Here's what happened:

The video started downloading and the system tray notified me it would take 25 minutes. I thought that was too long (video is 350MB) so I checked the download speed and it was about 2 MB/s. It didn't make sense but I let it keep going.

25 minutes and 3.4 GB later, the download finally "finished"--according to the system tray. However, I checked my system monitor and something was still downloading at 2 MB/s. I confirmed with "df -h" that I was losing 2MB of space a second. At this point I only had about 700MB of disk space left so I rebooted (I wasn't sure how else to stop the download).

After digging around on / I found my video at /var/tmp/kdecache-londy/krun and it was 350MB. Then I found multiple copies of the same video, of varying sizes, on /tmp/kde-londy totalling 3GB.

I deleted the tmp files and tried it again. This time instead of clicking on the video to play it, I tried copying it to my laptop. Same thing started to happen but I didn't let it continue.

View 9 Replies View Related

OpenSUSE Network :: YaST Creates Only 1 File For Many Virtual Hosts?

Jun 8, 2010

When I converted to OpenSUSE 11.2, and went through YaST HTTP Server Configuration, creating my virtual hosts under the Hosts tab, YaST combinedm all int ile,"/etc/apache2/vhosts.d/ip-based_vhosts.conf".I did google and read, [URL]for further assistance.I'd like each virtual host to have its own file under vhosts.d, and wondering why YaST did not do that.The file /etc/apache2/httpd.conf laid out the file structure, and all vhosts.d/*.conf files are included.Is there a way to tell YaST to create separate files for each vhost, or does the user have to manually do it?

View 5 Replies View Related

Software :: Convert Email Files With Attachment To Save As Attachment File?

Apr 7, 2011

I finally got E-mails fetched downloaded to local disk, now a further thing that I would like to do is to rip off the attachments to save as its original file name and extension.A E-mail like this for example:

Code:

From root Thu Apr 7 17:21:34 2011
Delivered-To: ted_chou12@tedchou12.cz.cc
Received: from pop.gmail.com [74.125.155.109]

[code]...

View 2 Replies View Related

Software :: Spam / Virus Block - Unblock Email With Attachment .zip Should Be All Attachment Through To Email?

Jul 5, 2011

how to unblock email with attachment .zip should be all attachment through to my email i have below message when people sent me email to my domain

Warning: This message has had one or more attachments removed
Warning: (the entire message).
Warning: Please read the "Apex-Attachment-Warning.txt" attachment(s) for more information.

This is a message from the MailScanner E-Mail Virus Protection Service The original e-mail message contained potentially dangerous content, which has been removed for your safety. The content is dangerous as it is often used to spread viruses or to gain personal or confidential information from you, such as passwords or credit card numbers.

View 9 Replies View Related

Ubuntu :: Unwanted Key Ring Protection On Network Pass?

Dec 14, 2010

Because of a hard disk failure I had to buy a new disk and reinstall Ubuntu 10.04. Prior to the install I was running the live cd version of 10.04. When I connected to my wireless network and entered the password the key manager wanted me to enter a password to protect the network password. Now every time I boot up the system the network will not automatically connect. (It used to do this). Now I have to click on the network manager and select my network. When I do this I get the key manager asking for a password.

So how do I stop the key manager nonsense and get the network to connect automatically as it once did.

View 3 Replies View Related

OpenSUSE :: Thunderbird 3.0.4 - Attachment Association With Applications

Jun 10, 2010

KDE 4.35 Thunderbird 3.0.4. Attached graphic files will only open with Gimp. Preferences allows me to delete an associated application but not to add one.

View 2 Replies View Related

OpenSUSE :: Unwanted Cron Job /var/log/messages Entries?

Apr 6, 2010

I'm setting up a logging script to track utilization on our deployed systems. I'm running it every minute using cron. Each time it runs, I get an entry in /var/log/messages telling me it ran. That is a lot of useless information. Is there a way to prevent the creation of these log entries?

View 1 Replies View Related

OpenSUSE Install :: Audit And Delete Unwanted Rpm Packages?

Jul 7, 2010

how to audit and delete unwanted rpm packages. how to back up repository list from YaST2.

View 5 Replies View Related

Fedora :: Mailx Command Isn't Working?

Jan 28, 2010

I am trying to email some log files from my RHEL 5.3 server to my Outlook corporate account and nothing happens. Here is the command I use:[root@server1]# mailx -s "server info" my_id@my_corporate_domain < server_infoThe file server_info does exist and is a small log file. I checked for sendmail and seems to be running OK as follows:

[root@server1]# ps -ef | grep -i mail
root 13954 1 0 2009 ? 00:00:00 sendmail: accepting connections
smmsp 13962 1 0 2009 ? 00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue

I'm not at all familiar with mail clients or mail system in Linux. Is there anything missing? I don't have to use mailx, I could use an alternative. Just please let me know how to sent a simple mail from this server to my corporate account using any tools possible (and maybe how to set it up)

View 1 Replies View Related

Slackware :: Setup For Mail - Mailx ?

May 18, 2010

I was wondering how to setup slackware such that I can send and receive local mail using the commandline "mail" command.

I tried sending a sample mail this way:

And it looks like the message was sent, but when I then go check:

it says there is no mail.

Do I need to have sendmail running for just local mail calls?

View 5 Replies View Related

CentOS 5 :: Mailx And Sendmail Not Working?

Feb 19, 2009

Im unable to send mail using mailx or sendmail. The sendmail daemon is running.

View 1 Replies View Related

Fedora :: Inconsistent Delivery With Nail Or Mailx ?

Sep 5, 2011

I have a script that sends short reports via the mailx command which is failing a lot lately.

Syntax used is basically: mailx -s "the subject" -r somebody@somewhere.com myemail@gmail.com < textfile.txt

For what ever reason this command has become very unreliable lately. I've tested on the command line and sometimes it works but frequently fails. The -r address seems to cause problems as it always fails with a -r set to my work address. I've read several theads and tried adding a .mailrc file but couldn't get past the NSS configuration setting. (Using my mozilla x123x.default dir results in Error initializing NSS: Security library: bad database. )

The nail command behaves about the same. what would make email sending so intermittent?

I've checked the /var/log/maillog but see each mail session end with the following and no errors reported:

View 3 Replies View Related

General :: Mailx Doesn't Send Mail

Mar 1, 2010

I'm having issues sending mail on a Debian (Lenny) box using mailx.

root@deity:/# mail root
Subject: Hai
Hi, root!

[Code].....

Does anyone have an idea what might be causing this?

View 2 Replies View Related

Ubuntu :: Sending Attached Files With Mailx?

Jan 5, 2010

Formerly it was possible to send attached files using the "-a" option eg. mailx -a /home/yan/textfile [URL]. (I think -a stood for "attached". At the time the "-a" option figured as an option for sending attached files.Now it is an option for sending headers. how one can now send attached files using mailx?

View 1 Replies View Related

General :: Control Sendmail Or Mailx From A File?

Oct 14, 2010

I need to control sendmail or mailx from a file. The file will have the receprent as the first line, Subject: has the second line, etc. From what I can find with Google the only why to define the target and subject is on the command line? Does any one know of a way to make a mailer use the data in a file? The file would look like this:

Code:

[code].....

View 2 Replies View Related

General :: Mailx Script Using Unspecified Recipients

Mar 1, 2010

Red Hat.
bash script.

I know there are several posts to do with mail and mailx, but nothing obvious in terms of my problem. Below is a small excerpt from the script that runs, but seems to have developed a problem.

###### Email Parameters ######
RECIPIENTS="name1@domain"
SUBJECT="${HOSTNAME} Subject Line"

[Code].....

The email is sent, but with numerous recipients, rather than the one specified in the RECIPIENTS variable, and because most of these aren't valid, getting a dead.letter. I've put in some debugging to check values of recipient and subject, and they show as expected.

View 4 Replies View Related

General :: Sending Mail With Mailx Version 12.1

Jul 2, 2010

GNU/linux kernel 2.6, Slackware 12.0.

I ran mail (aka mailx) and opened an account foo. If I remain inside the program, the command 'account foo' prints the account data. Good. But if I exit the program, and rerun it, then the command 'account' has no output which is to say I have no account.

View 1 Replies View Related

Slackware :: Instruct Mailx To Use Postfix Instead Of Sendmail?

Jun 22, 2011

im just wondering is it possible to instruct mailx to use postfix instead of sendmail while have sendmail and postfix installed? like system-switch-mail way in other distros. basically i would like to be able to use mailx when i uninstall sendmail and keep postfix only installed, so i dont get msg after i press . to send email from mailx

Code:
/usr/sbin/sendmail: No such file or directory

View 7 Replies View Related

CentOS 5 :: Set Mailx To Use External Smtp Server?

Jan 14, 2011

In Red hat i used the nail command to send mail using an external smtp server without sendmail or other mail services active. My question is: In Centos 5 nail is not present but is present mailx in version 8.1.1-44.2.2

Is there a way to set mailx to use external smtp server ? because in many forum i get the string mailx -S smtp= etc.etc. but in my case the -S parameter generate mailx: invalid option -- S antoher question is there a an official repository to download rpm nail for centos ?

View 3 Replies View Related

Ubuntu :: Bash Script For Sending Email Using Mailx?

May 8, 2010

I'm trying to send an email using mailx, in a bash script, but I can't get it to work. In the terminal I can, and this is how I do it:

Code:
$ mailx johndoe@gmail.com
Message^D

Within seconds of doing this, I get sent an email. The problem is with the bash script I'm trying to make. Among other things, I tried this:

Code:
#!/bin/bash mailx johndoe@gmail.com < "Message" I honestly don't know what I'm supposed to do, and I've Googled a bunch of things too, and didn't have too much luck. Is there anyone who could help me out?

Edit: Figured it out. This is what I did, and it works for me:

Code:
#!/bin/bash
echo "Message" | mail -s "Subject" "johndoe@gmail.com"

View 8 Replies View Related

General :: Mailx Cmd - How To Ignore The Machine Name Getting Appended To The Receiver Mailaddr

Mar 12, 2011

I am facing some problem with the mailx commmand. When i run the mailx command from the command line it sends it to the correct mail address which i mention.

#cat mailbody | mailx -s "Test" sampleaddr@abc.com

But when i run the same command from a perl script, it appends the machine name (hostname.abc.com) to the mail address, and the mail address (sampleaddr@abc.com - which i entered) becomes invalid [URL] - found in the maillog), failing to reach the receiver. I am running it from the csh shell. how to avoid this addition.

View 2 Replies View Related

Programming :: Mail Attachment Using The Perl?

Feb 28, 2010

My script collects information and writes it to a xls file and should mail it across. I tested the first part of the script which writes the excel file , it does write the excel file fairly with expected data using Spreadsheet::WriteExcel module Second part uses MIME::Lite , All I get is a mail with intended subject intact but without the attachment . Following is the code , I have googled and tried out many options , didn't go any further apart from receiving a mail without attachment.

use MIME::Lite;
$msg = MIME::Lite->new(
From => 'xx',
To => 'xx',

[code]...

I am using RHEL 4 , Perl 5.8

View 5 Replies View Related

General :: How To Download Gmail Attachment From Console

Sep 6, 2011

I've logged into gmail and have link to attachment. I'm logging to remote linux console and need to dowload this attachment, but can't download it by wget.

View 1 Replies View Related

Ubuntu :: Open An Email Attachment -trf File?

Aug 22, 2010

how do i open an email attachment -trf file

View 4 Replies View Related

Ubuntu Servers :: Set Maximum Attachment Size?

Jun 4, 2011

I use U-server. I set up an mail server as described in Ubuntu Documentation > Ubuntu 11.04 > Ubuntu Server Guide > Email Services.

How can I turn off maximum attachment size. On my server I don't want to limit the size of e mails that arrives.

I manage my server with webmin

View 2 Replies View Related

General :: Can Attachment Sends Through Mail Command

Nov 3, 2010

how can attachment sends through mail command in linux with mail command either with mail -s or -v option also please confirm how to download the attachments from it . and how one should knows with mail command that attachment is present with the particular mail

View 4 Replies View Related

General :: Send Mails From Server With One Attachment?

Apr 5, 2011

My requirement is i want to send mails from server to all my employess with one attachment file for every monday and friday like scheduler.. how it is possible through bash script.

View 7 Replies View Related







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