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)

3
votes
1answer
4k views

Linux: Use maildir instead of mbox

Is there a way to use Maildir instead of mbox on a Linux box? On some websites, it is suggested to add to /etc/aliases: myuser: /var/mail/myuser/maildir I've issued the newaliases command, but it ...
3
votes
4answers
1k views

How to stop monthly cron output email

Server is Debian 6.0. In /etc/aliases I have; root: me@mydomain.com This is so that root emails get sent directly to me. Today, a monthly script I have placed into /etc/cron.monthly has emailed me ...
1
vote
0answers
114 views

Is there any mail list frontend that provides forum like interface?

I would like to have my mail lists presented like a forum (let's say phpBB), instead of having to browse through this unorganized pile of data: http://lists.nongnu.org/archive/html/ranger-users/ Is ...
3
votes
1answer
10k views

Postfix error: Relay access denied

I can't send mail to external email addresses such as gmail. When I try to send a mail with telnet I get the following error: Trying 130.xx.xx.128... Connected to mydomain.com. Escape character is ...
4
votes
2answers
836 views

How to tell mutt not to wait for an attachment program to return?

I use this line for images in my mailcap: image/*; eog %s &; but mutt immediately deletes the temp file and eog can’t load it. When I remove the & mutt waits for eog to be closed until it ...
2
votes
1answer
924 views

How to make an address list in mutt

I use Mutt as my main client and use the alias command quite frequently. How to group mail addresses, or—even better—aliases into a list I can then use like an alias to send mail to?
1
vote
0answers
108 views

How do I configure mailutils pop3d to not set the flags on the mailspool?

How do I configure mailutils pop3d to not set the flags on the mail spool to read? I could not find a setting for this in the documentation. I am using an android (stock) MUA and this does not seem ...
23
votes
2answers
38k views

Understanding /etc/aliases and what it does

These are the contents of '/etc/aliases' file on my Debian (Wheezy) server, as it is: # /etc/aliases mailer-daemon: postmaster postmaster: root nobody: root hostmaster: root usenet: root news: root ...
9
votes
2answers
24k views

“IPv6 support is disabled” warnings

I get the error while running a script which tries to send emails. send-mail: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol send-mail: warning: ...
-1
votes
2answers
413 views

Why email clients prepend `Re:` to subject line? [closed]

I wonder why most email clients prepend Re: to the subject if the mail is a response. When responding, the mail client generates an In-Reply-To: header which clearly states that this message is a ...
6
votes
1answer
2k views

Using Trash with Mutt: Does it make sense?

I come from Thunderbird, which I found to be bloatware with spontaneous hiccoughs using 20–40% of processing power, weak IMAP and local mailfolder handling and a constant 100–500MB of RAM use. But it ...
3
votes
0answers
2k views

Using Munpack to extract attachments of specific file type (Debian/Squeeze)

I configured Munpack on my Debian/Linux to extract attachments from incoming emails. (For additional context, Getmail fetches the emails and pipes it to Procmail. A Procmail recipe then pipes it to ...
4
votes
1answer
859 views

Modify an incoming mail from text/plain to text/html

I'm using mutt to process my mail. There is one sender which declares the wrong content type. The mail arrives with Content-Type: multipart/alternative; boundary=--… and has two parts. They are ...
3
votes
1answer
2k views

Savings emails as individual files using Procmail

I installed Getmail to retrieve emails from another email server and Procmail to filter the incoming emails. (I am running Debian/Squeeze.) The recipe I created has this code: :0: * ...
1
vote
0answers
338 views

How to setup a simple email daemon with autorespond and mail forwarding?

Since my mail provider unfortunately offers neither an autoresponder nor forwarding mail to others during vacancy, I'd like to setup e.g. a RaspberryPi to regularly check my mail account (via POP3 or ...
0
votes
1answer
265 views

How do I retrieve email with Exim4?

I successfully installed and configured Exim4 on my Debian/Squeeze machine, so now I am able to send outgoing emails with a command like this: exim4 -v recipient@domain.com From: sender@domain.com ...
0
votes
3answers
767 views

How to send an email to myself on the same local machine (tcp port 25)

Does anyone know how to sent email to myself? I am trying to generate TCP traffic on port 25.
0
votes
2answers
606 views

How to log output to maillog?

On my current Debian setup, I have a file /var/log/mail.log which Dovecot, Postfix, and Spamassassin's spamd all output messages to. I know that the logger command can output to syslog, but is there ...
1
vote
1answer
2k views

Server inbound email forwarding

I have been struggling to get this to work for a little while now so I have come in the hope of getting a wee bit of help. I am running redhat 6.3, and using the machine as a webserver. My question ...
2
votes
4answers
9k views

How to pass a CTRL-D to a command line within a script?

I am using this line ( cat bodyText.txt; uuencode backup.tar ) | mail -s "backup" myEmail@myserver.com inside a bash script that will be fired by cron. This line is almost perfect, but it hangs ...
1
vote
0answers
275 views

Change threaded inbox view in Thunderbird so that subject lines are the most recent subject in the thread

Currently, when using Thunderbird in threaded view, the subject line for each thread is the subject of the original, root email. I would like to change this so that it is the subject of the most ...
1
vote
1answer
2k views

Sender based redirection on Postfix

I'm running postfix on Debian, receiving email for my.com, and I would like all incoming emails from sender.com to be delivered to jack@my.com, regardless of the original recipient. Emails from other ...
1
vote
1answer
380 views

Retrieving email from POP3 server for multiple addresses and storing for local users

I have about 20 email users with accounts on our web host's POP3 server who are getting bombarded with hundreds of spam emails every day. I setup an Untangle box to deal with the spam, and it does a ...
4
votes
3answers
1k views

Is this enough for a working mail server?

I have an internet connection with a public, static IPv4 address (the IP address has a PTR record for foo.org domain, and I own foo.org domain, and have nameservers for it elsewhere, mx record is set ...
9
votes
1answer
12k views

Which name should be used for myhostname in Postfix's main.cf?

For #myhostname, I should uncomment and put my hostname, i.e. the name I gave my VPS, right? Or does it just go myhostname = mydomain.net, in other words don't edit the phrase 'myhostname' except to ...
2
votes
2answers
1k views

Recommendations for good MTA / groupware solutions?

I'm setting up a Debian server, and one of the things I need on it is an MTA. I don't want to use something like Exim or Postfix because I want something that ties in SMTP, POP3, and IMAP all in one ...
-2
votes
1answer
127 views

What software(s) should I install on new system(with Linux as a OS) to prevent it from getting hacked? [closed]

I am switching to new system with a OS using Linux.I will be using another system which has windows ultimate which is hacked.I am being cyber bullied. I have given a reference to this as a question on ...
3
votes
3answers
237 views

Bash port auto upgrading script in cron doesn't work properly?

I've been recently try to write a script to automate checks for new version of ports and software installed on my FreeBSD server. This script is added to root's crontab and fires daily. If I run it ...
1
vote
2answers
222 views

Is it better to archive/move mail based on mtime or ctime?

I have been using a perl script to archive mail found here The script uses ctime to process and decide which month sub folder to place mail. In most cases this is fine since the ctime = mtime and ...
2
votes
1answer
3k 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 ...
30
votes
6answers
14k 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
560 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
746 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
60 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 ...
4
votes
2answers
642 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 ...
1
vote
1answer
1k 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
4k 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
204 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
274 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 . . . ...
4
votes
2answers
3k 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
280 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. ...
1
vote
2answers
2k 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
823 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 ...
8
votes
1answer
6k 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
262 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 ...
8
votes
3answers
3k 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
590 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
611 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
195 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
2k 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 ...