The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
42 views

Sending cron output as a text file attachment

I sysadmin a multiplayer game at CentOS 6.5 Linux server for a customer. The customer has requested me to send the daily chat logs (to identify and ban agressive players) - as a text file ...
0
votes
0answers
32 views

mailx command strange behaviour from cron

I have a script that redirect the df output to a file and then send it in an email. The mail command is set up as following: /usr/bin/mail -s "Subject" -r from@nowhere.com toaddress@somewhere.com ...
-1
votes
2answers
100 views

Read mail from Postfix using shell script [closed]

I would like to be able to read incoming mail from a Postfix MTA using a shell script. The shell script should be able to retrieve the mail headers, subject, body, attachments, etc., then mark the ...
1
vote
1answer
47 views

Why does mail -E let me send empty messages?

~ > which mail /bin/mail ~ > ls -la /bin/mail lrwxrwxrwx 1 root root 22 Feb 25 14:18 /bin/mail -> /etc/alternatives/mail According to man mail, -E If an outgoing message does not ...
0
votes
0answers
44 views

Mails by unattended-upgrades: How to ensure ASCII and avoid base64?

I'm using the combination of heirloom-mailx and ssmtp on Ubuntu servers of varying Ubuntu distribution to receive mailed reports from unattended-upgrades. One seemingly unpredictable behavior is that ...
0
votes
1answer
59 views

Mailx not reporting the IP the mail was sent from in header?

In the Header file of the final mail on y local server using postfix i am not able to see the Sender's ip which is usually under received from. From root@testmailer.com Wed May 28 12:26:54 2014 ...
0
votes
0answers
128 views

mailx does not deliver mails anymore

On my Solaris machine, mailx suddenly stopped delivering mail messages. When running the following sample command: echo "test" | mailx -vvv -s "test" [reciever] I get the following output: ...
0
votes
1answer
140 views

I'm sending email via command line using linux accounts but it is adding @mail.hostname.com

mail -s "subject" $user I'm sending email via command line using linux accounts but it is adding @mail.hostname.com so the username becomes user@mail.hostname.com Is there are way that it just ...
1
vote
1answer
1k views

Centos : mailx not sending emails

I have a centos server which I am trying to configure for mailx. I have installed mailx using yum install mailx All seems to have installed correctly. I am now attempting to send a test email ...
0
votes
2answers
165 views

MailX sending all mails to spam folder

I followed the setup as instructed in this link: https://www.digitalocean.com/community/articles/how-to-install-postfix-on-centos-6 I successfully installed everything and mail is being sent via ...
0
votes
1answer
102 views

Sendmail to send contents of error.log

Ubuntu: I am trying to send an email with sendmail, mailx, or mail (anything that will work). I am trying to send the contents of a log file as the message. Log located at /var/log/nginx/error.log. ...
0
votes
0answers
43 views

Email Not Getting Received — Perhaps Local Routing?

I am new to setting up server hosting, but so far I've solved everything -- besides one email issue. I am using RedHat and installed mail (yum install mailx) for PHP, and it sends to most email ...
0
votes
0answers
235 views

sendmail not sending email from commandline

I have a centos 6.3 machine and i've installed mailx and sendmail I would like to send a simple email from commandline with a command like this /bin/mail -s "subject" "info@mail.com" but after I ...
1
vote
1answer
747 views

Mailx not sending emails

Using CentOS 5.6 and trying to send (only) emails to remote boxes. I am on a CentOS client box and trying to send email to my road-runner email account. mailx -s "Some Subject" me@tx.rr.com < ...
1
vote
2answers
502 views

recommended way to collect email notifications from crond in Arch Linux

Arch Linux doesn't have sendmail installed by default. So I get the following messages in my syslog: Sep 15 13:16:01 zorro crond[18497]: mailing cron output for user collectors sh cronjob.sh Sep 15 ...
0
votes
1answer
168 views

Ignoring /etc/aliases with mailx

Is it possible to ignore the alias expansion with mailx? I'm trying to get something sent with a null message body and don't want it to take the local username.
0
votes
1answer
409 views

sending mail with attachement (or without) using mailx on centos linux

in solaris I used to send mail easily by doing: uuencode file.txt file txt | mailx abc@xzy.com. I can't find "uuencode" in centos and mailx always stop for CC. I want to automatically send the email ...
25
votes
9answers
41k views

How do I get apt-get to ignore some dependencies?

How do I make apt-get ignore some dependencies? For example, I wanted to install mailx so I can use it to send email from cron scripts/report-generating tools. However, installing mailx also installs ...
1
vote
3answers
1k views

How to get the basic mail command in ubuntu 10 to work

I am a college lecturer to whom the task of supporting the students' Linux Server has fallen. My students just need to use the mail command to communicate with me and each other. I thought mail would ...
1
vote
2answers
771 views

Linux - Scriptable email client?

I'm writing a simple UI for the visually impaired using a speech synthesizer. I've looked all over the internet for an email client which I can script to fit these purposes but to no avail. I believe ...
2
votes
1answer
598 views

Using UNIX mail/mailx with a modern mail server (IMAP instead of mbox files)

I have a user who's an old time unix guy, he's been managing his email using the same tools (unix mail/Mail/mailx) since he started work at Bell labs in 1980. So he's got 20+ years of mail and ...