Sending, receiving, reading, composing, sorting, and generally working with email. For the mail(1) command line utility, see the tag /mail-command.

learn more… | top users | synonyms (1)

4
votes
3answers
6k views

Setting headers using the /bin/mail command

I have a bash script that I use with nagios that sends notifications by email. The key part of it looks like this: # $1 (FROM) | $2 (TO) | $3 (SUBJECT) | $4 (BODY) /usr/bin/printf "%b" "$4" | ...
2
votes
1answer
744 views

Postfix: Forward/Reroute mails with unknown recipients

I'm running a postfix/dovecot mail server and everything works quite well. What I want to do now is forward all mails with a recipient that does not have an entry in the local recipient table, to ...
3
votes
3answers
527 views

Graphical Keyboard-driven Email Client

I use a laptop without a mouse as my main work system, and I could really use a fully keyboard-driven email client with graphics support. Right now I have the option of using GUI clients, which, even ...
2
votes
2answers
644 views

Is there a way to completely disable outbound opportunistic TLS support in SendMail?

CentOS 5.x SendMail 8.14.4 An overzealous network security feature is causing TLS negotiations to fail when my Sendmail server tries to talk to external hosts. This is causing sendmail to constantly ...
0
votes
2answers
2k views

Sending cron output to email?

I'm trying to send cron output to an email address and am struggling... I'm running the following command: 13 15 * * 1-5 root /path/to/mysql-backup.sh 2>&1 | mail -s "Daily Database Backup ...
5
votes
3answers
784 views

Crontab job not emailing on failure

I have a cron job on Debian: 1 * * * * /home/paradroid/bin/myscript.sh >/dev/null There is an installed and configured MTA, and I have received emails when the script has a syntax error, so I ...
2
votes
2answers
4k views

How to send the email which is sleeping in my queue list?

When i send email it sleep in my queue list. How can i send them out? (Fedora 15 distro). # mailq /var/spool/mqueue (2 requests) -----Q-ID----- --Size-- -----Q-Time----- ...
0
votes
1answer
59 views

Does majordomo support 'no mail delivery subscription'?

Mailman, mlmmj and probably other Mailinglist-Software support the feature 'no mail delivery subscription'. Meaning that you can subscribe and then disable mail delivery. This useful for times you ...
2
votes
0answers
509 views

postfix queue file write error only when sending emails from smartphone

This might sound weird, but the thing is, that I cannot send emails from my smartphone even though it works from my desktop email client. I double-checked that the smtp settings are correct. This is ...
15
votes
3answers
36k views

Can I change root's email address or forward it to an external address?

I'm getting a lot of mail in my root user's mail account. This appears to be mostly reports and errors from things like cron scripts. I'm trying to work though and solve these things, possibly even ...
1
vote
0answers
363 views

Email signature is distorted in Yahoo's new webmail client

I'm using vim+mutt to write e-mails which I send via IMAP through Google. When I include a signature file to be used, and that file contains an ASCII signature (figlet font), it is badly displayed by ...
1
vote
1answer
210 views

Adding rules to my mail server

I need to add rules to my mail server. I need to bcc an email address on outgoing and incoming emails for certain email accounts. The first thing I need to do is to find out what mail server software ...
3
votes
2answers
2k views

Mail vs. mail what is the difference

what is this business about mail and Mail? [On a centos box] Why mail does not work but wont return an error either while Mail works fine with the exact same syntax? Mail is basically a link to mail ...
2
votes
3answers
860 views

Send Email without any settings fast?

I am looking something like this on dummy comp, sending email fast without any login. I mean that I do not want to set up any .muttrc or any other settings. I want just a short msg to person A from ...
4
votes
2answers
14k views

Where does postfix store email?

I can't find any documentation on how postfix stores email. Where is it stored, and in what format? I'm using Ubuntu server 11
3
votes
3answers
4k views

Mail reader that displays any mbox file or Maildir

Is there a GUI-based mail reader that I can call with the path to an arbitrary mbox file or Maildir directory? In other words, a mail reader that does not insist on storing all mail in a single place ...
4
votes
1answer
509 views

Open message with given message-id from command line in mutt

I have the value of the Message ID header of a particular message in my mutt's inbox and I want to open it with a one shot mutt command, read and close. Currently, I open mutt, do a with ~i ...
2
votes
1answer
5k 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: ...
2
votes
2answers
515 views

Mail send to my domain ends up in local inbox instead of exchange server

I'm running a MediaWiki install under Ubuntu Server 10.10. I have configured it to use the standard php mail() function with my local mail delivery agent (postfix). The mail gets sent from the ...
3
votes
2answers
2k views

Is there a command-line email client and auto-download attachment to a file?

Is there a linux email client that can run on command line and can be configured to fetch and automatically save attachments to the filesystem? Im currently using Thunderbird and it has a nice ...
4
votes
2answers
455 views

configure postfix to accept mail from two WANs

I have a mac server but my question has long left the realm of the GUI. My last hope is a unix forum. I have a cisco router with two WAN ports. The mac uses postfix 2.8.3. I have correctly ...
2
votes
1answer
717 views

How do i fix the to address when forwarding with mail/exim?

I am using debian squeeze (i believe, the box doesnt really say) i config exim4 to use gmail and put root: someuser in /etc/aliases then put my email address (name+box@gmail.com) in .forward I ...
2
votes
1answer
2k views

How do I email root?

I am on Debian squeeze and I'd like to forward my root emails to my real email. I setup exim to use gmail so when I write mail myname@myemail.com it sends to my email. However, now I'd like to email ...
2
votes
1answer
2k views

Enable line breaks when assigning multi line outputs to var in bash

I'm using the following very basic shell script I copied off the net to list the contents of my database backup folder and mail them regularily: MYSQLLIST=$(ls -lhG /var/backups/mysql/daily/) ...
7
votes
4answers
2k views

Receive Pop/IMAP email and then forward as encrypted to gmail

Basically, I have an email account I can access as POP3 or IMAP. I want to take all incoming emails, encrypt them, and then forward the encrypted version to my gmail account (so I can see the ...
6
votes
5answers
2k views

How do I configure mutt to display the date header in my local time zone in the pager?

When I view a message in the pager mutt displays the time in the Date header in UTC rather than my local time zone. The index view displays the local time correctly. I found this old mailing list post ...
3
votes
2answers
1k views

How to recover saved (stored) emails after damage to KMail configuration?

Recently my computer had to be hard-reset, and fsck ran on /home filesystem, producing lots of errors (old HDD drive). After reset I don't see all my saved emails in KMail (KDE 3.5.3), at least those ...
2
votes
2answers
154 views

How to send a prompt to a remote machine like the “you have mail”, ie not using wall

I am currently using wall to show a message on a remote machine when an activity is started and finished. But this is intrusive, as it will write across an editor they might have open etc. What I ...
1
vote
1answer
2k views

how to configure mutt as email client in linux for a remote microsoft exchange server?

I have a windows xp laptop that has ms-outlook 2007. i didnt have to do anything to set it up. i connected my laptop to office network and it picked up all settings by itself. Now i want to dump this ...
2
votes
1answer
625 views

How to send non-local mail, with GMail(GApps) SMTP?

I have some (~3) Debian boxes, and I want to post system mail to my non-local mailbox. But I have a problem with configuring exim4. Also I don't like so much exim4's config. Too different, and also ...
3
votes
2answers
18k views

How do I get UUENCODE to work?

I have a server that I have inherited that has an older version of Redhat installed due to software requirements and now there is a need to use UUENCODE to allow email attachments. The uuencode and ...
3
votes
2answers
1k views

how to send email as well as display it out

i am trying to run a script with the output to be emailed and watched(monitored), i try using this code: this are the output: >emailmessage echo "output here" >>emailmessage ...
2
votes
2answers
104 views

Drudging through email logs

I am in charge of maintaining a linux e-mail server running qmail on Red Hat Linux. Fairly often, I have to trace the path of some email through syslog and to be frank, this is rather tedious. ...
1
vote
3answers
2k views

setup fetchmail/exim4 to download from gmail account and forward to another email address

I'm trying to setup my debian server to download email from a gmail account (e.g. forwarder@gmail.com) and then forward it to a 3rd party email. The reason I can't just setup email forwarding within ...
33
votes
6answers
43k views

How do I send HTML email using linux 'mail' command?

mail -s "subject" xxxxx@gmail.com <test.html works, but only for plain text email. What is the correct way to send HTML email using the Linux command mail?
2
votes
1answer
276 views

Apache mail sending flowchart / workflow?

I am currently trying to get my head into learning how Linux systems send mail, starting from Apache, to Sendmail and finally out the door. Specifically I'm using CentOS 5 which is using Sendmail, ...
3
votes
2answers
478 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, ...
2
votes
2answers
511 views

How to fetch and process mail in order to execute commands?

I administer a home server, and sometimes when I'm out I need to execute some simple commands on the server. 3G + SSH is not an option because it's too expensive from my phone (here in Argentina). It ...
3
votes
1answer
401 views

Fetching email automatically then reading it locally

My email is kept on a remote server and accessible from anywhere by IMAP. What I'd like is a mail client that will periodically sync that remote mail to my laptop in the backgroun, so that when I ...
3
votes
2answers
1k views

How can I automate sending mail using a script?

I have in the past heard of using nail for this task, but I can't seem to find it for my distribution (Ubuntu 11.04) in any of the repositories. What program can I use to one-off emails from a shell ...
1
vote
1answer
1k views

alpine failed to connect to smtp.gmail.com

When I try to send email from alpine I get the following error: Error sending: connection failed to gmail-smtp... (The message disappear before I have the time to copy it). I suspect this is ...
1
vote
2answers
2k views

postfix doesn't respond on 25 from external server

I am trying to set up postfix with dovecot. I can telnet to localhost 25 and send a message to accounts on the server. However, when I try to telnet to port 25 on this server from another server I ...
3
votes
1answer
1k views

Does fetchmail support these IMAP features? If so, how?

I'm studying and learning about how mail is handled in linux systems, and one thing has become a source of confusion for me. On my iPhone, via IMAP, I can mark a message in my Gmail inbox as read, or ...
1
vote
2answers
737 views

Easiest way to forward mail to a third-party email address

I have some home system monitoring scripts run via cron that will create output, and hence mail to the user that runs the script. I want to redirect this mail to my Gmail (or insert any other ...
1
vote
1answer
488 views

Find 'duplicate' mails in maildir when header differs slightly

My problem is that I've been a heavy user of GMail's pop3-import feature and used it to pull mail from other GMail Accounts. Back then I did, however, only import new mail, not all the mail previously ...
1
vote
1answer
2k views

Why is procmail not being run?

I'm running Fedora 13 Linux, and sending mail to myself using mutt, and I can't seem to get procmail to run. Below is what my .procmailrc, ~/Procmail/rc.testing, and .forward files all look like. As ...
6
votes
4answers
2k views

using the mail command

How do I use the mail command to check email (and send email) from gmail. Does it support labels? I couldn't have figure out where to put the username and password. I tried to search for instruction ...
1
vote
1answer
528 views

How to setup a local POP3 server?

I'm developing a Thunderbird extension and I would like to setup a fake POP3 account to play with. What's the easiest way to setup a local POP3 server? It doesn't need to be particularly ...
0
votes
3answers
2k views

send mail using external mail server

I'd like to send mails using a PHP script that has been deployed on a CentOS machine. Problem is there is no mail server configured. There is, however, another linux machine that has a mail server ...
8
votes
2answers
530 views

Best way to archive attachments?

My saved-messages and sent-mail "folders" (actually Unix MBX files) are huge because of attachments, most of which I've saved to disk anyway. I want to keep the messages, but replace the attachment ...