The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
57 views

How can i set a default account in Heirloom-mailx?

How can i set a default account in Heirloom-mailx? I have defined an account in /etc/nail.rc that is usable via mail -A accountname but i'd like to set this account to be used by default so i can ...
1
vote
2answers
117 views

cron table mailx caused empty content

I'm using centos 7.0/6.5. The content of /etc/cron.hourly/mail.cron #!/bin/sh log=/var/log/mail.cron.log echo "`hostname` `date`" >> $log 2>&1 mailx -s "test mail" me@example.com < ...
0
votes
1answer
244 views

Mailx is is not working

I have been trying to send emails throw Linux using echo "hi abhijeet2" | mailx -v Admin abhijeet123@gmail.com Whic works fine on other linux system ,but not working my system. I have tried to ...
0
votes
1answer
73 views

How to encrypt the mail in unix?

I want to encrypt the mail as that will be containing the confidential information. There are no attachments. Please help in providing the steps to encrypt the mail. I have got the reference of How ...
0
votes
2answers
735 views

Need to set mailx variable to specify the From address

Running Oracle Linux 5.8 (which is just re-branded RedHat EL 5.8) I must change the From address. But we have scripts that use mailx which cannot be re-written to use any extra flags, so I'd like to ...
1
vote
1answer
2k views

Sending email through Gmail with mailx gives error “Send options without primary recipient specified”

I am trying to send an email with a Bash script with my Gmail account using mailx. I have the following code in the script: mailx -v -s "$SUBJECT" -S smtp-use-starttls -S ssl-verify=ignore -S ...
2
votes
0answers
730 views

Sending text messages from Raspberry Pi via email fails

I'm using mailx on my raspberry pi to try to send text messages updates for event monitoring. My phone number:9876543210 My phone's email-to-text gateway address: 9876543210@txt.att.net I can ...
2
votes
3answers
803 views

Cron job outputs HTML; how to send mail as HTML

I have a cron job that if it fails outputs HTML. If it succeeds it outputs nothing, in which case I get no mail. If it does fail and write HTML, cron sends me the mail but it comes as plain text and ...
0
votes
3answers
16k views

sending mail from linux commad line

Is it possible to send mail from linux terminal to any gmail account. If possible then what are the configuration are needed. I tried with mailx and sendmail but its not working. I also tried with ...
2
votes
1answer
591 views

How do you open mailx to read old mail when you have no new mail and view a list of old emails?

If you type mailx at the command line when you have new mail, it nicely shows you headers of your new mail and leaves you at a ? prompt where you can do mail commands. But if you don't have new mail ...
1
vote
1answer
2k views

mailx is not sending any mail

I'm new to super user and I am trying to teach myself how to code bash and work my way around the GNU/Linux operating system. I've become pretty comfortable with vim, emacs and some basic commands but ...
2
votes
1answer
1k views

mailx read attachments

Arch Linux x86 Heirloom mailx From what I know, the mailx utility is supposed to read and send email. I somehow got it to work with sending and receiving mail with a gmail account, also using ...
11
votes
4answers
60k views

Does mailx send mail using an SMTP relay or does it directly connect to the target SMTP server?

Suppose i send a mail using the following the following command: mailx person@x.com then does mailx first try to find out the SMTP server of my ISP for relaying the mail or does it connect ...
0
votes
2answers
1k views

Mailx doesn't send mail

I'm having issues sending mail on a Debian (Lenny) box using mailx. root@deity:/# mail root Subject: Hai Hi, root! . Cc: - root@deity:/# mail No mail for root Does anyone have an idea what ...