mailx is a command-line utility for reading and sending email

learn more… | top users | synonyms

0
votes
3answers
61 views

send email to approximately 10,000 users in bcc using mailx

We have a requirement to send an email to ~ 10,000 users in BCC. We have used mailx command to send email to 10-15 users by using -b option and delimiting all the email id's with "," is there any ...
2
votes
1answer
41 views

How do postfix and mailx interact with mbox locking?

If postfix is setup as the MTA using its virtual transport to deliver mail to a local mbox file (and handling delivery of outgoing messages), and mailx is the MUA, being used on that same computer for ...
0
votes
1answer
36 views

mailx change the direction of the mail

I use mailx to send mails from servers to me. The problem is that it comes as RTL and not LTR. How can I define it in the command? here is the command: cat /tmp/monitor.log | mailx -s "Daily status ...
0
votes
0answers
91 views

Installing mailx on Openelec, Raspberry PI

Well I have searched some of the possibilities to install command line mail clients but there are no easy ways to install. Is this even possible without compiling the mail client ?
3
votes
2answers
64 views

Get list of unread emails from Unix server

We are trying to get a list of unread emails from our Unix server using mailx -L. However, the email subject gets truncated if its length is greater than 25 characters. How can this be resolved?
3
votes
1answer
278 views

How can I bcc with mailx?

I'm trying to send unix mail (heirloom-mailx) via bcc. $ mail -V 12.5 6/20/10 My MTA is exim, which sends via Gmail SMTP. I can execute the following: echo -e "body" | mail -s 'subject' -b ...
4
votes
1answer
392 views

How to download all the e-mail messages from POP3 server to a single text file with mailx?

I would like to download all the e-mails in my old e-mail server. It uses POP3 and I'm interested in e-mails in "Inbox" and "Sent" folders. Once I have downloaded all the messages, I would like to ...
3
votes
1answer
2k views

Difference between mail and mailx? [duplicate]

Whats the difference between mail and mailx? I'm trying to troubleshoot a problem where I can send mail from server A with this echo $MESSAGE | mail -s "$SUBJECT" -r $FROM $RECIPIENTS command but ...
0
votes
0answers
155 views

msmtp-mta: Add $HOSTNAME to every mail

I have a fleet of Ubuntu clients running msmtp-mta along with heirloom-mailx. I'd like to have the same /etc/msmtprc on all machines. At present, when someone uses mailx or sendmail, the mail will be ...
4
votes
1answer
342 views

Change mailx mailbox location

On my computer, mail is stored in ~/Mailbox, not in a centralized directory. Is there a way to get bsd-mailx to read mail from there, instead of looking in /var/mail?
2
votes
1answer
2k views

Send the Output of an HTML file within the email body using mailx

Problem Statement:- Currently I am sending an email using mailx by attaching an html file within the email. But I want to send an email using mailx command instead of attaching the html file in an ...
4
votes
2answers
249 views

Tsocks with mail user agent mailx not working

I use a SOCKS proxy server to send mail using sendmail in Linux and mailx to send mails from the command line. To make use of the SOCKS server, I am using tsocks to send mails using mailx, for ...
4
votes
2answers
2k views

How to configure mailx to support Gmail?

How can I set up mailx to send messages to my Gmail account? What I do now is run the command: mail -s "hello kid" mymail@gmail.com It freezes and does nothing. I tried some variations, but all of ...
2
votes
1answer
4k views

send html using mailx

I'd like to send a html file from a host using mailx but instead of interpreting it as html it would send it out as text (html codes). Is there a way to send it as html? (cat <<EOCAT Subject: ...
3
votes
2answers
439 views

Heirloom-mailx and Saving to IMAP Folder with Spaces

If I try to save to a message to an IMAP folder with the command save 1 +FOLDER/"Folder withSpaces" in heirloom-mailx, instead of saving, mailx spits out No applicable messages from {Folder/"Folder, ...