Sending, receiving, reading, composing, sorting, and generally working with email. For the mail(1) command line utility, see the tag /mail-command.
0
votes
2answers
40 views
Creating an email that can trigger a script
I have a CentOS 6.3 server. I would like to create an email address like, for example, list@myserver.com that will be a special kind of email that will trigger a script.
For example: suppose I mail ...
1
vote
1answer
15 views
What to do with a message/partial MIME type?
I used a copier/scanner to scan a document and email me the resulting image. It sent me several emails, each with a message/partial MIME attachment. mutt doesn't seem to understand these messages. ...
2
votes
2answers
53 views
Sending email without including an origin IP address in headers
I often see email headers like these when I get email these days:
Received: by FQDN (Postfix, from userid $USERID)
So does that mean that people SSH into their VPS and send email from there or is ...
1
vote
1answer
21 views
privoxy show client ip when sending mail
Is it possible for privoxy to show original client ip when sending mail ( example:
this mail header should show the client's ip not the proxy ip:
Received: from [xx.xx.xx.xx] by ...
0
votes
1answer
48 views
Set up an email domain with Postfix and Dovecot
I am very new to the Linux world so please forgive me.
I have a VPS running Ubuntu 12.10 x86 and I have installed Rails3, Nginx, Mysql and Passenger. All are up and running.
I want to set up mail so ...
1
vote
1answer
48 views
Using mutt and not revealing IP address
Here is mutt setup: I use offlineimap to fetch the mail and use msmtp to send the mail.
My concern is that when using this (msmtp), it appends my IP address in the header in every email that is sent. ...
2
votes
3answers
97 views
What email features/functionality are baked into a typical Linux/GNU distro? [closed]
I am curious how system daemons on a local Linux host send email.
Is there some type of email framework already built in?
Do I need a MTA or a MUA?
What part does "Sendmail" play and is it a ...
0
votes
1answer
32 views
Can't delete system email
While running Postfix on an Ubuntu, I have acquired a number of test email in an account usr1, and now I want to delete them before starting other testing. However, every time I try to delete using ...
1
vote
1answer
52 views
OpenSMTPD Configuration Problem
I'm trying to configure a simple mail server on OpenBSD 5.2, running OpenSMTPD 5.3.1, however there is some problem with my configuration file, and I'm unsure how to fix it. I can send and receive ...
0
votes
0answers
34 views
Cron logs describe a successful run that never happened
I run a daily job that uploads data from one server to another, and today I noticed that it failed silently two days ago - no mail got sent, and the jobs were never run. But when I look at the crontab ...
3
votes
1answer
67 views
local email storage syncing to imap - mutt-friendly
Summary
My problem: I want to read email offline with my choice of client (mutt), but I want actions like moving emails, etc. to be kept in two-way snc with an imap server.
My question: Is there a ...
0
votes
2answers
237 views
rsync error: some files/attrs were not transferred
I'm trying to move my emails Maildir from an old centos server to a new debian server.
rsync -avz /home/me/Maildir ssh root@ipaddress:/var/vmail/me/Maildir
I tried to copy an 8gb account, didn't ...
0
votes
0answers
66 views
Postfix header_checks
I want to forward a copy of the users email which has the specific subject. I have tried the below settings, able to Redirect that particular subject mail. But I want to forward a copy of that mail to ...
2
votes
0answers
36 views
Why isn't Gnus scoring emails based on the To: or Cc: headers?
I use Gnus v5.13 in GNU Emacs 24.1.1 to read my email, and I'm having a trouble getting a simple score file to work. Essentially, I want any mail that's sent to (or copies) a particular email address ...
1
vote
1answer
54 views
Is there a way to store mail attachments outside of mailboxes?
Nowadays, size limits on mail attachments are less comprehensible by traditional users. I am looking for a way to extract mail attachments as simple files that I would be able to manage elsewhere.
On ...
2
votes
1answer
40 views
Autocompletion of email addresses in vim
I'm playing around with various bits of an email solution, including notmuch and alot. I write my emails in vim and I'd like to have tab completion of email addresses while writing email. Is there a ...
1
vote
3answers
79 views
Unix mail command not sending email
I'm having trouble trying to send email with the unix mail command.
Currently I'm trying this:
echo "something" | mail -s "test mail" email@address.com
But when I check my email, I haven't received ...
2
votes
2answers
86 views
Sending a file as the body of an email
I want a utility that does something like this:
email --subject="xxx" --body=body.txt --to=to_address@hostname.com
(using pre-configured sender information for e.g. gmail). Note that body.txt is ...
1
vote
1answer
91 views
Where is the setting for sending email to a system user with ssmtp?
I'm using ssmtp for sending email (the setting is below)
Now when i run a cron command or an at command, mail is sent to
michel@mypi
which is username @ machinename
Now ofcourse this is not a ...
2
votes
1answer
73 views
Script to send mail if there has been no entry in a log file for a certain amount of time
I am new to shell scripting. How would I write a script which can send an alert mail if there is no entry in the log file for more than 3 hours.
0
votes
1answer
104 views
IP set to block access to exim and dovecot
I have created a ipset with a bunch of IPs that I want to block access to dovecot and exim.
The ipset is called "bannedIPs" and have been added to iptables using this
iptables -A INPUT -p tcp ...
1
vote
1answer
139 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
128 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 ...
0
votes
0answers
43 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 ...
1
vote
1answer
613 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 ...
3
votes
1answer
64 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 ...
1
vote
1answer
66 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
43 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 ...
1
vote
1answer
623 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
...
3
votes
2answers
479 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
121 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 ...
2
votes
0answers
134 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 ...
2
votes
0answers
283 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
130 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
58 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
77 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
95 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
132 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
89 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 ...
0
votes
1answer
421 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 ...
1
vote
3answers
581 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
67 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
150 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
137 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 ...
3
votes
3answers
216 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 ...
1
vote
1answer
380 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 ...
0
votes
2answers
322 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 ...
-3
votes
2answers
95 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
150 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
173 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 ...
