Sending, receiving, reading, composing, sorting, and generally working with email. For the mail(1) command line utility, see the tag /mail-command.
2
votes
1answer
465 views
Email picture attachments as inline along with the email body
I'm right now working with a script for emailing attachment (.png pics). Since I'm using mutt command with -a option, the email is sent as a mail attachment.
I want these .png pictures to be mailed ...
12
votes
4answers
492 views
Is there a program that can send me a notification e-mail when a process finishes?
I am a computational scientist, and I run a lot of lengthy calculations on Linux. Specifically, I run molecular dynamics (MD) simulations using the GROMACS package. These simulations can take days ...
2
votes
2answers
130 views
How do I change emails from: address on FreeBSD?
Emails are now sent from www@hostname, but I want them to be sent from webmaster@my-domain.com
My developer said it should be in php.ini but I figured out this is true only for Win32 systems.
How do ...
2
votes
1answer
108 views
CNAME: Mail address gets rewritten
I have a problem with receiving mails. I do not know if my server or the server of the sender is wrong configured.
I have a domain daniel-marschall.de which has following DNS RR:
...
1
vote
1answer
37 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
122 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
79 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
378 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
61 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
116 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
. . . ...
2
votes
1answer
328 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
100 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
264 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
170 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
388 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
77 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 ...
2
votes
3answers
624 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
166 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 ...
1
vote
2answers
129 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
136 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
538 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
82 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, ...
2
votes
3answers
907 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
152 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
143 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
76 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
313 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 ...
2
votes
1answer
958 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
1answer
2k 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?
4
votes
2answers
242 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
771 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
202 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, ...
4
votes
3answers
649 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
909 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
0answers
368 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
339 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. ...
5
votes
1answer
174 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
143 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
106 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
152 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
140 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
199 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 ...
2
votes
1answer
204 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 ...
1
vote
2answers
273 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
58 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
413 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 ...
2
votes
1answer
961 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
90 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
108 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
343 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 ...


