Tagged Questions

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)

1
vote
2answers
58 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. ...
1
vote
0answers
28 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 ...
4
votes
1answer
345 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 ...
0
votes
0answers
29 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?
2
votes
1answer
113 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?
1
vote
1answer
82 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 ...
4
votes
1answer
34 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 ...
1
vote
1answer
239 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 ...
3
votes
3answers
277 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 ...
1
vote
0answers
34 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 ...
2
votes
1answer
80 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 ...
1
vote
2answers
71 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 ...
2
votes
1answer
270 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
590 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
70 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 ...
1
vote
2answers
732 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 ...
0
votes
0answers
39 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
1answer
506 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. ...
1
vote
0answers
144 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 ...
1
vote
1answer
35 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. ...
0
votes
0answers
55 views

Weird authentication with Exchange server

I'm using Evolution with evolution-mapi to access an Exchange e-mail server. It has worked flawlessly in the past, but recently it will fail to authenticate, asking my password endlessly. If I enter ...
1
vote
1answer
727 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 ...
4
votes
1answer
70 views

multiple clients accessing one email account over IMAP

I am using Postfix + Dovecot + IMAP + Maildir and I am accessing my server from two different machines (desktop and Laptop), i.e. two clients (Thunderbird). The are sometimes running simultaneously, ...
1
vote
0answers
329 views

Postfix error: not yet authorized to deliver mail

I am running a private postfix server for my domain mydomain.com, on server 111.111.111.111 (IP and domain sanitized for privacy reasons) I have sent an email to info@example.com which is on server ...
2
votes
1answer
77 views

Outlook on Kubuntu 14.0.4 with Wine

I have Kubuntu 14.04 and am mandated by my employer to use Outlook 2013 for company email for "security reasons". I currently solve this problem by having a virtual Windows 7. This seems like a bit of ...
2
votes
0answers
74 views

Mails from my server goes directly to spam

I am running an ubuntu server with plesk panel, Mails sent from this server goes directly to spam folder. All records seems perfect like spf, DKIM, Domain key, PTR etc.. I'm really stuck with this. I ...
2
votes
4answers
189 views

Why am I getting inconsistent IP values from icanhazip.com or curlmyip.com?

I wrote a bash script and appended to my crontab to query my IP address every minute, and if it is not the same with the previous query it sends me an e-mail to inform me for the IP address change. ...
1
vote
0answers
129 views

Domain has exceeded the max defers and failures per hour - No Cpanel

I am receiving the following error with for most emails that are sent: Domain *** has exceeded the max defers and failures per hour (5/5 (100%)) allowed. Message discarded. I am using PHPMailer to ...
2
votes
1answer
131 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 ...
0
votes
2answers
84 views

Thunderbird: Override colors in received HTML emails

I need to override default colors in received HTML emails. I have followed this Howto, and modified my userContent.css accordingly. Basically, I need white text on dark background: $ cat ...
2
votes
1answer
104 views

Using several independent instances of Thunderbird

As many people, I too have several email accounts. Until now, I have been using Thunderbird for my main account, and either used web interface for the other accounts, or used other email clients ...
3
votes
2answers
103 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 ...
0
votes
0answers
55 views

Exim4 Configuration for Webserver

I successfully configured exim4 to handle mail only for the localhost (just for forms on the website). I tested it by sending messages from the CLI to myself on another domain. My problem is that the ...
1
vote
2answers
710 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?
1
vote
1answer
463 views

Setup GMX email with SSMTP

I setup the simplest outgoing email server possible with ssmtp. It is giving me the error Authorization failed (535 Authentication credentials invalid). Here is my configuration without comments: # ...
2
votes
0answers
24 views

Can you change mail accounts by recipient in mutt?

I have a pretty good mutt setup for dealing with multiple mail accounts (work and personal). I'd like to be able to have a send-hook that will change the account based on the recipient. I can do this ...
0
votes
1answer
48 views

How to save mails in Unix? [closed]

I wanted to save mail in unix in some directory, as we do in outlook (files are saved with .msg extensions). Is there any workaround for doing this.
2
votes
3answers
211 views

How to block incoming and allow outgoing mails for a no-reply user on Sendmail?

I am trying to block inbound emails for no-reply user and allow it to send emails at the same time. I tried editing the configuration in /etc/mail/virtusertable with: no-reply@example.com ...
4
votes
1answer
55 views

Send an email right before the password prompt of ecryptfs during bootup

I'm setting up a home server which has full disk encryption enabled. In order to recover from a power failure the machine automatically reboots. I'm also able to unlock the disk remotely using ssh ...
1
vote
2answers
193 views

Receiving emails over IMAP and parsing with a script with minimal delay

I have a Perl script that uses NET::IMAPClient and MIME::Parser which simply reads new emails from an IMAP server and saves any attachments to disk. My question is: what is the best way to run this ...
0
votes
1answer
38 views

What program constantly reads e-mails and could execute actions under certain conditions?

I need a program that would be running as a daemon, connecting to mail server and reading inbox of a specified e-mail address (provided with password, of course =) ). If certain conditions are met, ...
6
votes
1answer
260 views

mutt: automatically show new mesages

When I have mutt opened, I don't see new emails until I press a key, for example arrow down. Then new emails appear. Is there a way for mutt do recognize that new email has arrived, and display the ...
2
votes
1answer
538 views

Dovecot: Corrupted index cache file

I received following error message in /var/mail/mail.err: Jun 14 00:03:42 max dovecot: IMAP(bernhard): Corrupted index cache file /home/bernhard/Mail/.indexes/.imap/INBOX/dovecot.index.cache: ...
0
votes
0answers
37 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 ...
2
votes
0answers
348 views

mailx attachment behaviour between RHL 5 and RHL 6

We have a line of code that does this in ksh, to send a file as an attachment in email: uuencode <filename> <filename.txt> | mailx someone@somewhere.com In RHL 5.2 mailx sends ...
0
votes
1answer
2k views

sendmail not working

I have a website where mails are sent. Those mails from website (contact mail, booking mail) are being sent well. But when I go to shell with ssh and give sendmail myemail@mail.com it is not sending. ...
1
vote
0answers
147 views

With opendkim, what might cause “signature doesn't verify” errors with Port25's DKIM email tester?

As far as I know, I've followed all the instructions in this post from Steve Jenkins about how to install and configure opendkim for sendmail under CentOS. ...
1
vote
1answer
120 views

Creating an email server on CentOS 6

I'm looking into creating my first email server on CentOS Linux. I know it can be a challenge when it comes to managing one, but i'm up for the challenge. So if i have my domain name pointed directly ...
0
votes
0answers
29 views

I want to use openldap account to send or receive email from internet

I have DNS server + DHCP sever + openldap +samba with only IP: 192.168.100.114; and domain is samba+ldap with domain name abc.local. In this server, I created some group and users (Ex: user1, ...
1
vote
1answer
393 views

Configure sender address for all users in mutt

I have CentOS running mutt. When mails are sent from mutt (via a shell script), it takes the current user name as sender address causing it to go into the spam. I receive mail as From: tech ...