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)

1
vote
1answer
46 views

How to silence spam or unwanted email from email-lists with Procmail?

I joined an email-list. I found it low-quality and I don't have time to follow their discussions. Then I informed the head to remove my email but they haven't done it. How can I can silence their ...
2
votes
2answers
269 views

syncing two maildirs

I have a server that I use to frequently get email from Google using offlineimap. the email is stored in a maildir format on this server. What tool can I use to sync this maildir with the local ...
0
votes
1answer
130 views

Command line e-mailing [duplicate]

Possible Duplicate: How can I use the “mail” command? I have mutt configured for CLI e-mailing. All's golden with the "this one just sucks less" client but... I am now on a machine on ...
2
votes
1answer
1k views

Periodically download attachments from mail box

Is there a preferably CLI based program I can use to regularly (through cron for example) use to check a mailbox, and download the attachments into a folder? I have a mailbox called ...
1
vote
0answers
95 views

Best way to migrate a mail server?

I have a Plesk panel mail server with used hard disk space of 480GB out of a total of 900GB. I would like to migrate the plesk panel and data to a new server on raid 1 hard drives(600GB). The mail ...
1
vote
1answer
178 views

Arch Linux Using the Wrong MTA

I try to do this: $ mail -s "Hello world" foo@example.com This is a test from my server EOT …and get this: /usr/sbin/ssmtp: No such file or directory $ "/home/user//dead.letter" 9/248 . . . ...
3
votes
2answers
859 views

Mutt new e-mail notifications in tmux window

I am on tmux, with mutt in an inactive window. If IMAP flags change on a message through external means, I see the visual bell and the status bar changes, drawing my attention to the e-mail client. ...
2
votes
0answers
163 views

what is the correct Courier / Maildir++ email (sub)folder format?

For representing the logical email folder structure, a "Maildir++" format exists that was first implemented by the Courier mail server, thus sometimes also being referred to as the "Courier" format. ...
0
votes
2answers
573 views

$(tail) into variable removing \n

I am doing the following: x="Hello to the world of tomorrow\n <pre>"; x="${x}$(tail -n 50 log/logfile.log)" x="${x}</pre>"; echo -e $x | ./perlscript The Perl script: #!perl # ...
4
votes
2answers
353 views

How do I delay/schedule sending a message in alpine (/realpine/pine)?

I want to send out my email(s) on Monday morning, not now. Is there a plugin / modification (or feature) for alpine to let me schedule when a message gets sent? I use an smtp service on my campus. If ...
5
votes
1answer
1k views

How to send output to both screen and mail?

I use the following to send an email at the end of a script. echo "Script finished on `date`" | /usr/bin/Mail -s "Script complete" "myaccount@myserver.com". However, I want to echo the same message ...
1
vote
1answer
103 views

How to limit the number of messages sent through a mail server?

I am running a small server on a LAN and do not expect more than a couple dozen emails an hour or so. A user on the LAN accidentally set off a few thousand emails at once. Is there a tool or setting ...
3
votes
3answers
1k views

Unable to use OfflineIMAP to sync Gmail

I'm trying to setup OfflineIMAP to sync my Gmail account to ~/Mail/Gmail. I'm using a pretty basic ~/.offlineimaprc from here. But OfflineIMAP doesn't connect to Gmail at all. This is the debug ...
0
votes
1answer
247 views

Force users to change email password every six months

I'm going to build an experimental mail server with Postfix + Dovecot and Mysql for user accounts. The server will offer SMTP + POP3 + IMAP. Is there a way to force users to change their mail account ...
6
votes
3answers
414 views

E-Mail client in linux which allows to search encrypted mail

Is there an E-Mail client for linux which allows to search old gpg encrypted mails (i.e. find all mails which contain a particular keyword in the body, including the encrypted ones).
2
votes
0answers
167 views

why is FQDN using external IP address

When postfix connects to the FQDN dur.bounceme.net it uses the external IP address: root@dur:~# root@dur:~# tail /var/log/mail.log Aug 28 04:39:45 dur postfix/master[6667]: terminating on signal 15 ...
1
vote
0answers
881 views

Migrate from thunderbird to sylpheed while preserving folder structure

Is there an automatic way migrate a thunderbird mailbox to sylpheed while preserving the folder structure. I tried the importexport extension for thunderbird and got a directory with multiple mbox ...
1
vote
0answers
139 views

Unmanaged VPS bought today. Sendmail not functioning correctly

I purchased an unmanaged VPS today. I moved my website on over, and when I try to send an email. It returns a blank page. Not to mention I had to install PHP myself. Apache was there, for some reason, ...
4
votes
3answers
3k views

How to delete a range of mails in Solaris using the 'mail' command?

I have some 1k+ mails in an inbox (old cronjob stdout), how to delete them in bulk? I'm on Solaris 8 and I have only mail available, no pine or mutt or similar "UI"-based client. Inline help and ...
2
votes
1answer
232 views

zsh notification of email (in maildir)

How can I modify the following so that it reads maildir and not just mailbox format? typeset -a mailpath for i in ~/Mail/Lists/*(.); do mailpath[$#mailpath+1]="${i}?You have new mail in ${i:t}." ...
1
vote
1answer
284 views

Naming the output of convert command and piping it to mail

Here is what I'm trying to do: convert -strip -interlace Plane -gaussian-blur 0.05 -quality 85% -resize 35% 189_0538.JPG - | uuencode - img.jpg | mail -s "Some Picture" someid@somemail.com The ...
0
votes
1answer
96 views

Automate checking user submitted files

Since last few days, I'm facing some problem. It's about response to 100 users. Situation goes like this. On one end there are 100 user, each user has unique ID. User is supposed to submit one file to ...
3
votes
2answers
550 views

mutt: mark as read and delete

I discard some messages without reading them. After deleting said messages, however, I am soon alerted to the presence of unread mail in my trash can. Is there a way to either: disable the alert ...
3
votes
1answer
3k views

Add header to outgoing email with postfix

Can someone please provide an example on how to add a Precedence: bulk header to all outgoing emails using postfix. I would like to know what file(s) to create or edit and what I should put ...
5
votes
4answers
4k views

How can I send attachment with ssmtp in Linux?

I can send email from my gmail account by ssmtp in Linux now. But how can I attach files to the email?
5
votes
2answers
558 views

Disable mail check on login?

When I login to console, e.g tty1, I usually see a message No mail, I know there's some program checking email on login, but I don't use that, how can I disable that command ? I tried to grep from ...
0
votes
1answer
2k views

Postfix Configuration - different servers for subdomains and domain

I have a following setup: 1 postfix server: a.example.com that needs to accept all emails for any subdomain on example.com (*@*.example.com) and delivers to mailman account and also send emails to any ...
2
votes
1answer
298 views

How are email headers generated?

When you send an email a header is part of the message. For example, when you check your mail you can view the raw source and see the headers, which has information about the sender of email in it, ...
6
votes
3answers
1k views

How can I apply my procmail filters to my maildir inbox?

Last night I subscribed to a mailing list, and discovered this morning that my procmail filter didn't apply to many of the mailing list messages. Now I have loads of less-important mailing list ...
1
vote
1answer
2k views

Can I make SSMTP to automatically set the “To:” header?

I'm using the ssmtp package to send e-mail via g-mail. Everything is working fine with it - the only strange thing is that if I send mail via the command line, the "to field" is funky. ssmtp ...
1
vote
1answer
694 views

Setting up SMTP-AUTH & TLS in Postfix

So I have been in the process of installing a Postfix Server on my CentOS 6.2 Virtual Private Server. I have been following this tutorial: ...
1
vote
3answers
756 views

Disabling email for an account

I have an amazon ec2 instance running ubuntu. There are only a couple of user accounts and the server is used to host a small web app. Apparently, by default, each user account has an email account. ...
6
votes
1answer
331 views

Postfix configuration - keep the envelops

I have a postfix server that delivers mail and send a copy of the outgoing mail to a second server for content analysis using the following configuration (addresses and IPs have been replaced): ...
2
votes
1answer
250 views

How to use whitespace in procmailrc recipe destination path?

I use Mutt Maildir for storage mails. I created one mailbox like this Stack Exchange/. (whitespace between Stack and Exchange here) procmailrc recipe: :0 * From: .*Stack\ Exchange Stack Exchange/ ...
1
vote
1answer
150 views

crontab sets up user variable, redirect output, and detect connetcted network

I have three problem, all of them are about crontab. Can I access $HOME variable in crontab ? for example, use $HOME like this: PATH=$HOME/bin:$HOME/scripts:$PATH ? or * * * * * echo "test" > ...
1
vote
2answers
173 views

How would I automate sending highly similar emails with one word changed?

E.g. if I want to send a bunch of emails along the lines of "What does it feel like to X?" to ask@qr.ae (Quora allows and even somewhat encourages me to ask highly similar questions there). And then ...
2
votes
3answers
195 views

Emacs Message: save sent mails

How do you make Emacs Message (C-x m) save outgoing mails? Is there a standard way to do this? You could C-x C-s but this is inefficient and easy to forget, besides, you can't be 100% it is the mail ...
2
votes
1answer
301 views

Creating a list of unique senders from Thunderbird mail files through the command-line

I've got some large mailboxes and using Thunderbird, that means that I have several mbox files. These single files contain all e-mails in a particular folder. Now, I would like to get some data on the ...
3
votes
1answer
452 views

What does it mean for an email message to be “old”?

I just recently converted my mbox over to Maildir, and when I opened up mutt, I saw an 'O' flag on some messages. Looking this up, I find that it means the message is marked as "Old". However as ...
2
votes
3answers
642 views

Is there a good way to encrypt and store a mailbox while still being able to quickly access and search it?

I am wondering if it is possible to : Store a mailbox in a way that the system administrator (ie: root) cannot see it User(s) with the valid credentials would be able to see it AND be able to search ...
1
vote
0answers
86 views

Setting mailman to reject message when max_num_recipients exceeded?

I'm trying to configure a mailman list I run to reject messages when max_num_recipients is exceeded, but instead it insists on putting the message into the moderation queue. I've searched for details ...
-2
votes
1answer
468 views

What happens if I put these directories chmod 000?

I have this server I administer. I have some users that have email accounts on that server and use stuff like horde to read their emails on that server. The server have a limited space and these users ...
4
votes
2answers
2k views

Opening .eml files with mutt

How should one open .eml files in linux ? I'm not sure if mutt can handle it ? UPDATE I worked it out partially , by creating a new mailbox: mkdir -p a/{cur,tmp,new} And place the eml file in ...
1
vote
1answer
164 views

How to view full bounce message in mutt?

I got an error when sending email with mutt , some "red" text shows at the bottom of terminal , how should I view the full error message ? Is there a shortcut / macro that I could use / define ?
1
vote
0answers
155 views

fetchmail to log complete messages AND pass to mda

I couldn't seem to tell from the fetchmail man page or http://www.catb.org/~esr/fetchmail/fetchmail-man.html#7 whether --bsmtp <filename>.bsmtp.log, applied from cli/cronjob, and --mda ...
2
votes
1answer
438 views

Mail Dispatcher Agent: Could not access the outbox folder (Unknow error. (Failed to fetch the resource collection.))

Why am I receiving this error message on Kubuntu since I upgraded to 12.04 and how can I make it stop appearing? It appears as a pop up balloon above the system tray. Mail Dispatcher Agent: Could not ...
0
votes
0answers
131 views

How to get nano to work properly under mutt?

I have set nano as the default editor in mutt; mutt launches nano normally enough, but when I try to send the message (ie. save and quit, separately) mutt says the message has been aborted. Any idea ...
1
vote
1answer
838 views

Email sent from web server using PHP does not arrive

I am trying to send email via my web server using PHP but for some reason the email never arrives. According to PHP the email was sucessfully sent but I never receive the email. I know its not a spam ...
1
vote
2answers
922 views

How can I rewrite the From: address of an email and resend it?

I have a cPanel web hosting account. On this account I have a PHP-based support/trouble ticket system for my customers to use. I'd like to be able to send an email to both my customer and to the ...
1
vote
1answer
468 views

Check & filter outgoing mails in Postfix

I am looking for a way to check outgoing mails with rules like : mails sent to a particular domain mails sent without subject or with a specific subject mails with an attachment of a certain size ...