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
1k 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: * ...
0
votes
2answers
29 views

What is the unix mailbox format?

man git-format-patch makes reference of the UNIX mailbox format which is a term I am unfamiliar with. A google search for "UNIX mailbox format" and similar expressions lists many hits with the term ...
4
votes
4answers
1k 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
2k views

Mail forward: 550 5.7.1 Anonymous client does not have permissions to send as this sender

I want to install a small mailing list that forwards mails related to a specific project to all project members. So, let's say there are two members in that project userA@mailA.tld and ...
3
votes
1answer
24 views

Best way to delete select email messages from mbox file using script

I have an arbitrary email messages file in mbox format. I would like to periodically (end of the week), and automatically (via cron) purge messages from my "alerts" mbox file (new folder) just from ...
0
votes
1answer
784 views

Sendmail Attachment

I was wondering if it's possible to include an attachment with sendmail. I am generating the following emailfile.eml files with the following layout From: Company Name <example@nowhere.com> To: ...
3
votes
1answer
746 views

How can I configure Postfix to silently drop/discard/reject mails that were sent from specific users to an external address?

How can I configure Postfix to silently drop/discard/reject mails that were sent from specific users to an external address? It should work only for specific users E.g: abc@localdomain can send ...
0
votes
1answer
16 views

IMAP — what are the most popular versions used these days?

I can't find any information about the status of IMAP version 4 and how widely it's used nowadays and how widely other versions, 1, 2 and 3 are used. So is IMAP version 4 common these days? What ...
6
votes
2answers
81 views

How to use the same email account when replying in Thunderbird independently of the folder?

I have several accounts set up in Thunderbird. If I reply to a message, I would like Thunderbird to always use the same e-mail address as the one the original mail was addressed to. However, it ...
-1
votes
0answers
32 views

Read and filter mail by subject line through a shell script [closed]

I need to configure a shell script which would periodically check the incoming emails, and looks for an email with a particular subject line. It then needs to download and move the attachment from ...
1
vote
2answers
822 views

Remove/Delete Attachments from email server (IMAP)

I have a rather large quantity of emails on my mail server (IMAP) which contain attachments (PDF's, etc.) These attachments waste space--my HDD space on server is limited by my hosting company--and I ...
1
vote
1answer
24 views

How to upload my emails to another email server I've downloaded via IMAP from my 1st one?

I want to download my emails via IMAP from email account and upload them to another. I want to do that manually in Python. I know how to retrieve my emails via IMAP, but how can I actually "upload" ...
1
vote
1answer
342 views

Modoboa 1.1.1 Deployment Errors

I tried to install modoboa follow this steps: http://modoboa.readthedocs.org/en/latest/getting_started/install.html I installed modoboa with pip install modoboa: Traceback (most recent call last): ...
3
votes
2answers
2k views

Crontab change MAILTO for only one specific job in Root's crontab

Can I do the following to change where mail goes for one specific crontab job in root's crontab (don't sent to root for Do Something job, just send to porklover): # Make a hambone appear * * * * * ...
1
vote
1answer
43 views

Virtualmin - How to use reserved email names? (domains@example.com)

I'm in the process of transferring a clients mail service from cPanel to Virtualmin. This person has multiple email addresses on different domains. Everything is working fine except today I am ...
1
vote
1answer
7k views

How can I see settings of the email server?

I have root access to a Linux server (CentOS 5.10). I want to see the email server's settings such as whether SMPT is working, wheter there is an email server, port number, does it require SSL, what ...
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 ...
2
votes
1answer
69 views

Mutt and Postfix : relay access denied

I try to send mail with Mutt through my own mail server. My mail server run Postfix and Dovecot. I configured it by following this tutorial. I can send / receive email on my server with Gnome ...
-1
votes
0answers
50 views

Sending mails from Linux

I trying to send email from my Linux box but its not working. I'm using below command echo "This is the message body" | mail -s "This is the subject" chhaya.vishwakarma@example.com -aFrom ...
1
vote
1answer
39 views

Sending mail through external smtp server via command line/shell script

Currently the server I have has blocked emails from being sent from it due to spam issues. So I am currently looking for a way to send e-mail through the command line or shell script through an ...
2
votes
1answer
1k views

CLIENT wrappermode (port smtps/465) is unimplemented

I am getting the following error when I try to send email using a relayhost from a CentOS 7 server using postfix: Oct 19 19:53:08 localhost postfix/pickup[7174]: 64DAF1A53CB: uid=1002 ...
3
votes
2answers
8k views

localhost [127.0.0.1] in email headers

I'm using sendmail to send a very simple email from a text file. Here is the text file: to:test@someaddress.com from:admin@hostname.tld subject:Testing test test test Which I send with: sendmail ...
2
votes
3answers
2k views

How to install postfix for sending mails to admin only?

I have a VPS running Ubuntu 13.10 on Digital Ocean. I'd like to install postfix on the server, but I want it to be able to send e-mails only to my e-mail address whenever a system message wants to be ...
3
votes
0answers
13 views

Spam in Zimbra OpenRelay

First apologize me for the grammar, english isn't my native language. The problem I have is users from our local zimbra mail are getting spam messages from other email addresses who don't exist, like ...
1
vote
1answer
6k views

Mail filtering with procmail in a postfix/dovecot system with virtual users

I had a postfix/dovecot system with mail users working. After unsuccessfully following a few tutorials online to enable procmail, now I have an unusable system. What I want is to enable procmail ...
0
votes
1answer
86 views

Flush Postfix mail queue

I'm running an old version of Postix (1.1.7) on my Red Hat Linux and I wanted to flush the e-mails from a specific recipient with postsuper, which comes with the postfix-perl-scripts package. However, ...
0
votes
2answers
313 views

Can I view my Microsoft Exchange Online Archive via Davmail in Thunderbird

I have successfully set up Davmail on Ubuntu 14 and am able to read, receive and send mail on my Exchange account in Thunderbird. This page was a big help!: ...
1
vote
1answer
198 views

mutt: ask for confirmation before moving message to archive

I have following macro defined in my muttrc: macro index s ":set confirmappend=no delete=yes auto_tag=yes\n\ <save-message>=archive\n<sync-mailbox>:set delete=ask-yes\n" When I ...
1
vote
0answers
26 views

How to set up Mutt and Spamassassim

I've got Mutt to access and read my gmail, but in the inbox, it includes all the mail that the gmail interface hides in two tabs (I think they're called labels) called 'Social' and 'Promotions'. I'd ...
0
votes
1answer
39 views

Which port is used for receiving email?Is it the same port for sending email SMTP (25)? [closed]

I just noticed my ISP blocked both direction for port 25. Does that mean port 25 is for both sending or receiving email? Used to think it is for sending only.
3
votes
1answer
92 views

GNU Emacs Gnus can't connect to gmail IMAP

I'm in the process of configuring Gnus to retrieve emails from my gmail account via IMAP. I have done as recommended at https://www.emacswiki.org/emacs/GnusGmail, however I keep on getting errors from ...
0
votes
2answers
31 views

Does postfix using mail command report if an email was unable to be sent to an address?

I am writing a program that will be sending external emails using postfix with the mail -s command and I need to verify that the email was sent to the specified address. In which case, I am curious ...
3
votes
3answers
4k views

Run script on receipt of email

I run a Postfix/Dovecot mail server for personal use. There's only a handful of actual mailboxes, essentially just postmaster@domain.com and username@domain.com. I frequently use the virtual file to ...
0
votes
1answer
23 views

e-mail sent out from <user>@<hostname> instead of <user>@<domain>

When I send an e-mail from my server(hostname of the server is syslog) with command (echo "To: blah@example.com"; echo "From: root@example.org"; echo "Subject: test; echo; echo "test"; echo) | ...
1
vote
1answer
165 views

SOGo without Samba4 Active Directory

I'm tinkering with SOGo groupware to be run on my homeserver. I'm especially interested in the ActiveSync capability to synchronize contacts and calendar of my Android devices without the need for ...
2
votes
2answers
2k views

Send backup by email with crontab

I use this cron job to do a backup of /home/blah/ each day at 01:00 a.m. : 0 1 * * * tar -zcf /home/blah/backup.tgz /home/blah/ In fact I would prefer that an email is sent to me with the .tgz file ...
1
vote
1answer
29 views

How do I debug email delivery delays?

In order to get notified about some stuff going on on a server, I use simple mailutils command executed @hourly by cron: cat $file | mail -s "Subject" $receivers where $receivers is a list of a few ...
0
votes
1answer
24 views

Executing command for sendmail not working

Good Day, I'm still new in Linux CLI and I'm using RHEL 6. I'm executing command for sending email via terminal. $ cat log.txt | mail -s "Logs" myemail@e.mail.com Hosted by outlook365 When I try ...
0
votes
1answer
52 views

Downloading an attachment from Inbox using the command-line

Please help me figure out the right program to use to solve the following: Everyday I have a report emailed as a PDF attachment to my inbox. The subject is the same, and it is from the same email ...
23
votes
2answers
37k 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 ...
0
votes
1answer
26 views

what is exact meaning smtp_receive_timeout in exim.conf?

what is the exact meaning of smtp_receive_timeout in exim.conf ? Is it timeout for receiving the data after rcpt to ? Or is the total timeout for complete receiving a mail data ? Or If there is no ...
1
vote
1answer
64 views

understand sendmail log messages

I sent an e-mail message from machine named syslog-server with command mail -s "syslog test" test@example.net <<< "test". The mail message was not delivered to receiver and following messages ...
0
votes
2answers
31 views

Sendmail : save email into a file

I use sendmail to manage the emails of my website. I'm testing features which require to send emails, and I'd like to receive these emails in a local directory of my server, store them as text files ...
-2
votes
1answer
20 views

How to migrate from one email provider to another? [closed]

I've used my own domain with the email service of yandex.com. Now I want to migrate to another email service provider. I've chosen zoho. 1) How can I copy all my email from yandex to zoho? Or ...
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 ...
0
votes
0answers
43 views

Can't Send or Receive mail from Dovecot/Postfix Mail Server (Centos 7)

So I've been looking into getting a mail server set up and while it's been problem after problem I feel I'm getting it close to working. Now it just doesn't seem to be receiving mail (no errors via ...
1
vote
1answer
746 views

motd message, when I log in using ssh, tells me I have a mail, how I can check it?

When I login into my vps, ssh -D 127.0.0.1:1080 root@mydomain.com root@noxp.info's password: Linux born 3.2.0-4-686-pae #1 SMP Debian 3.2.65-1+deb7u1 i686 The programs included with the ...
5
votes
5answers
15k views

How to create Maildir directory with enough permissions for Postfix?

I have CentOS 5.5 with Postfix installed on it. I want to use local delivery agent with default setting, but I want it to store mail with Maildir directory style mailboxes. When I set the mailboxes ...
35
votes
5answers
102k views

Can I set up system mail to use an external SMTP server?

Is it possible to set up system mail on a linux box to be sent via a different smtp server - maybe even with authentication? If so, how do I do this? If that's unclear, let give an example. If I'm at ...
-1
votes
1answer
18 views

fdm & msmtp: mark messages read

I have installed fdm and offlineimap to connect to our corporate Exchange server. Now I want an action that marks a message read when a pattern matches.