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)

0
votes
1answer
17 views

Mutt: Emaillist emails not be shown in inbox and still readable in some file, how to do it?

I get emails from mail lists such as best-h@list.ayy.com. I don't want them to my inbox, I want them to a new inboxes that I can only read when I select them or basically move all mails like this to a ...
33
votes
6answers
43k views

How do I send HTML email using linux 'mail' command?

mail -s "subject" xxxxx@gmail.com <test.html works, but only for plain text email. What is the correct way to send HTML email using the Linux command mail?
1
vote
1answer
40 views

How to send a mail when someone remote connects to my server

I would like my server to send a mail to me when someone connects remotely over ssh to my server. who only gives me back the Username, TerminalID and Date. I cannot use only that, I need to check ...
0
votes
1answer
285 views

How to print gmail inbox messages

I want to print inbox messages one by one (like cat someFile) so that I can parse the message contents. something like printGmail InboxMesg1 | grep some | sed some Using curl I can access the ...
1
vote
1answer
930 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: ...
3
votes
2answers
58 views

Avoid mutt sending mail with too many entries in To: or Cc: fields

Frequently, I use mutt's alias functionality, to send a message to larger groups of people (legitimate, not spam!). Normally, I put the alias into the Bcc: field, to cancel out spam harvesters, and ...
-2
votes
1answer
27 views

Can somebody explain the difference between IMAP and POP3 [closed]

I dunno if I have right understanding or somewhat faulty understanding of the three topics. From a user-end perspective both IMAP or POP3 credentials are what I need if I need to have mail incoming to ...
2
votes
1answer
20 views

Why does KDEPIM add “pbecbengr-rivy-znaqngrq-ba” to the domain part of outgoing Message-ID headers?

When I send an eMail with Kontact (KDEPIM), my Message-ID headers look like this: Message-ID: <1548233.Ax4hfq5P2Q@pbecbengr-rivy-znaqngrq-ba.tglase.lan.tarent.de> In contrast, my regular MUA ...
0
votes
2answers
20 views

How to I solve the error? In svn email notification?

I have working from svn email notification,but it got the error, could you help for me. (The command execute autometic send file for my mail, but now not sending ) svn commit -m "[1] add some text ...
2
votes
3answers
87 views

Standard and portable way to send email from console?

What is the most portable or standard way to send an email from the console or a script on Linux, and possibly Unix?
1
vote
1answer
218 views

How do I install Exim and Horde on Centos 7 with MariaDB 10?

I can't find a guide for this (they are old and don't work) and I can't seem to manage to install it. I can't install Postfix because of its dependencies, so I'm going with Exim, which I installed ...
1
vote
3answers
656 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 ...
0
votes
0answers
16 views

Can You Send Mail With MSMTP Without Putting the Location, ISP, and Hostname in Header?

I've been testing sending mail with mutt and msmtp. I've noticed when replying to a message I sent with msmtp, my state, hostname, and isp show up in the In-Reply-To: header ...
2
votes
2answers
30 views

How to archive POP3 mailbox?

What programs are available to archive a mailbox (to mbox or maildir format) that I can only access via POP3? I'd like to be able to browse the mailbox locally afterwards, probably using mutt or the ...
2
votes
1answer
21 views

How to send email from ssmtp with HTML

I want to send an HTML report that is piped from another command, eg: mycommandthatprintshtml | mail someone@hostname.com . When I do this currently, it prints all the html tags. Is there a way I can ...
1
vote
2answers
48 views

Querying a remote POP3 Mail server using BASH

I'd like to connect to our mail server via POP3, look for a certain pass phrase in the subject and if found then run a script. How can I achieve this with BASH other than awkwardly scripting Telnet? ...
1
vote
1answer
299 views

SSH Login Alert Using pam_exec

Hi I have been trying to follow the information about pam_exec from here: Ssh login hook? When a user log's in they get: /etc/pam.d/email-alert.sh failed: exit code 8 My sshd file has this at the ...
2
votes
1answer
693 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, lets say there are two members in that project userA@mailA.tld and userB@mailB.tld, ...
1
vote
2answers
47 views

Need to delete mails for a range of dates in Linux

I have 1 million mails generated in a Linux sever due to a cron job. I want to delete the mails, but not all as this cron mails useful to troubleshoot and find out the issue with cron job's execution. ...
4
votes
2answers
455 views

configure postfix to accept mail from two WANs

I have a mac server but my question has long left the realm of the GUI. My last hope is a unix forum. I have a cisco router with two WAN ports. The mac uses postfix 2.8.3. I have correctly ...
4
votes
1answer
26 views

How to configure kmail2 to use client certificates for POP3 and IMAP access

I would like to run a POP3 server with TLS transport security such that a client must authenticate with a client certificate. (This shields the server from brute force password guessing attacks.) How ...
2
votes
1answer
209 views

How do postfix and mailx interact with mbox locking?

If postfix is setup as the MTA using its virtual transport to deliver mail to a local mbox file (and handling delivery of outgoing messages), and mailx is the MUA, being used on that same computer for ...
1
vote
1answer
107 views

Postfix is sending and receiving mail locally, but not to external mailbox

I have a CentOS box running my Apache website and Postfix, but whenever I try PHP's mail() function to my @aevidi email, it sends to my local mailbox in ~/mail, but is not visible in Zoho's webmail. ...
2
votes
1answer
50 views

Allowing outgoing emails that will be delivered to localhost only

I operate a Linux system where I give out free Linux shell accounts to people for educational purposes. Unfortunately, while doing so it's expected to meet abusive users who will keep sending spam ...
0
votes
0answers
10 views

Does the “Massive Growth in SMTP STARTTLS Deployment” decrease SPAM filtering efficiency? [migrated]

https://www.facebook.com/notes/protect-the-graph/massive-growth-in-smtp-starttls-deployment/1491049534468526 When we posted in May about the state of STARTTLS deployment, we had no idea that we would ...
1
vote
0answers
26 views

mailing thru ssh

(I am a Linux only user & MELT software developer, and use Linux since kernel 0.99.15 e.g. the previous century) I have a VPS host ovh.starynkevitch.net (running Linux) which is also the MX host ...
1
vote
1answer
56 views

Problem extracting email attachment using munpack

I have fetchmail running perfectly to fetch emails from Gmail, and then I am using procmail to store them in $HOME/Mail/Inbox. In my .procmailrc, I added this code which pipes to munpack to extract ...
4
votes
1answer
317 views

What is the purpose of mail spools?

If I understand correctly, a spool is a temporary storage location. Traditionally, the mail is stored in a "mail spool", a mailbox in the /var/spool/mail directory, where users are expected to pick it ...
2
votes
1answer
106 views

mbsync: Move subfolders to root

My mail provider (Fastmail) puts the folders I define in the webinterface inside the INBOX. Thus when I sync them using mbsync I obtain the following: INBOX - .Drafts - .Foobar But I would prefer ...
0
votes
0answers
21 views

How to delete mails from queue of Dragonfly Mail Agent (dma)

I have the Dragonfly Mail Agent installed. Is there a way to delete mails from its outgoing queue without going manually to /var/spool/dma and deleting them by hand?
1
vote
1answer
31 views

How can I forward emails from a POP3 account to another SMTP or IMAP account?

I have an email address that I can access via POP3, but which I rarely use. Though it receives quite a bit of email. I cannot use a forwarding feature for this account. Yet I want to forward ...
2
votes
1answer
47 views

Does fetchmail support SSL or TLS when using SMTP to forward email?

I am trying to forward emails that are fetched with fetchmail to another SMTP host, which enforces STARTTLS. I could not find a way to enable TLS in fetchmail. Is this possible at all? If so, how?
3
votes
3answers
117 views

Script to email all matching files in a directory

Trying to set up a bash script to automate sending data files. Desired end result is to check a specified directory once per week, make a list of all Excel files modified within the last 2 days, and ...
0
votes
2answers
9k views

sendmail error dsn=5.0.0, stat=Service unavailable

i have configured an sendmail configuration in ubuntu 12.04 64 bit machine when i'm send th email through a perl script it gives the below error dsn=5.0.0, stat=Service unavailable and mail is not ...
1
vote
0answers
16 views

How can I PGP decrypt an entire mbox?

Thunderbird cannot search PGP-encrypted emails. Hence, I was considering copying all my emails from IMAP to local storage, then decrypting them all locally, so that they are searchable. Is this ...
1
vote
2answers
57 views

How do I send email from a terminal?

I have been trying to use the unix mail command to send emails, but haven't been having much success. I wasn't getting any errors though so I checked my var/mail file and found a lot of these ...
3
votes
1answer
4k 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 ...
1
vote
1answer
80 views

Postfix vs Google SMTP servers inconsistency

I wanted to host my own mail server and in order to do so I've installed Postfix 2.7.0 and Dovecot 1.2.9 on Ubuntu Server 10.04. I had fun reading the docs and configuring all these great tools, I am ...
0
votes
1answer
201 views

Upgraded to Ubuntu 14.04 - Mail server missing dovecot-lmtp even though it is installed

So I upgraded to Ubuntu 14.04.1 from 12.04 the other day. Easy upgrade process. Everything worked fine except for my mail server stopped receiving mail. The logs show the mail arrives and is ...
1
vote
2answers
48 views

Sending most recently created file via Email

I'm trying to send a log file every 24 hours or so via email. Currently I am using mutt for this. You can call mutt like this: mutt -s "Log" -a file_attachment example@example.com I know I can ...
18
votes
7answers
17k views

Lightweight outgoing SMTP server

What do you use as a lightweight SMTP for outgoing e-mails only? I am running an app that sends e-mails via SMTP when events occur once in a while, and I don't need a fully featured e-mail server. ...
1
vote
2answers
155 views

Email using shell script

Is there a possibility to add multiple e-mails to a single variable so that when the shell script is run, it sends a mail to all the specified emails?
0
votes
0answers
35 views

Firefox freezes with attachments or pdf

I am working on an old CentOs 5 machine. I am using Firefox as a browser. It worked fine until now, when every time I try to open a pdf or to attach something to the emails, it crashes. I tried to ...
1
vote
0answers
41 views

How to sign end encrypt mail using openssl?

I am trying to send and encrypt mail using openssl. So far, I figure I should use theese commands: cat ${content} | \ openssl smime -encrypt -inkey lib/me.crt -aes256 -subject "$titre (cs)" -to ...
0
votes
2answers
2k views

Sending cron output to email?

I'm trying to send cron output to an email address and am struggling... I'm running the following command: 13 15 * * 1-5 root /path/to/mysql-backup.sh 2>&1 | mail -s "Daily Database Backup ...
1
vote
1answer
173 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 ...
1
vote
0answers
49 views

How to add calendars and contacts support to mail server

I have installed Postfix, Dovecot and MySQL to set a personal mail server with virtual users stored in the database. It works great, but there are two things missing: Calendars and Contacts. For ...
3
votes
1answer
27 views

sending emails with heirloom, even when Postfix is not running locally

Normally, I can send email from commandline, such as echo hello | mail -s "subject" user@example.com I have noticed that even when Postfix is not running on my machine, I can still "send" emails. ...
2
votes
1answer
68 views

How can I make mailx inform me of new mail?

I'm trying to set up mailx on my server. On one server (Raspbian) I am informed of new mail with a message You have new mail (or something similar). On another machine (Raspbmc), I never have this ...
3
votes
2answers
153 views

Configure Spamassassin to use URIBL and Google Public DNS

I use Google Public DNS servers on my mail server. However, URIBL and other spam blocking sites (which work over DNS) block major DNS sites such as Google Public DNS. I think if I run my own DNS ...