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)

2
votes
0answers
25 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
51 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
263 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
56 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
216 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
297 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
722 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
45 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
456 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
157 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
134 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
31 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
476 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 ...
1
vote
1answer
230 views

Shell script and crontab to capture file size, name and date in a CSV file and then send via email?

I have a number of zip files in a certain folder. I want to capture file name and the size of the files in a CSV format in day wise and put it in crontab so I can report on a daily basis, and then ...
2
votes
2answers
526 views

IMAP folders: how big is too big?

I've switched from using Thunderbird to offlineimap and mutt. My mailboxes have over 50k messages. After tweaking some settings, mutt is very responsive with this many messages. notmuch is extremely ...
1
vote
1answer
135 views

How do you increase the size of someone's mailbox quota in Linux? [closed]

In a Linux Bash shell, how do you modify (increase or decrease) another user's email quota? The best & most relevant information I could offer you about my environment, (in my opinion, of course) ...
1
vote
1answer
95 views

How can I configure two mails for two different users in Ubuntu

I am struggling with configuring two mails for two different users in Ubuntu. Like if I login with User1 then whenever I use the command mail, it should send mail from user1@gmail.com. And when User2 ...
1
vote
0answers
207 views

Restoring a Particular User's mdbox Mailbox in Dovecot

A user is reporting lost emails due to a client-side error, so I need to restore emails from backup for this particular user but I'm not finding anything online (maybe my google-fu is lame). ...
7
votes
1answer
170 views

How can I configure mutt to display my replies within threads?

While mutt has set sort = threads to show threaded, "conversation" style messages, it doesn't display one's own replies in the threads. Instead, you have to change to the Sent folder to see your own ...
2
votes
3answers
107 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?
0
votes
0answers
27 views

Exchange NDR Hybrid Setup

NDR changed within hybrid messaging solution . Hybrid of Exchange Server + open sources base Mail Server (using postfix , Cyrus IMAP , etc) unable to view "Email id Or Users ID" in Bounced ...
0
votes
1answer
27 views

How can I reduce the volume of DenyHosts emails?

As someone who had no experience dealing with Unix or Linux before about 6 months ago, I'm feeling pretty comfortable with managing a Linux server now. The one question I do have is about DenyHosts, ...
0
votes
1answer
76 views

where are the spamassassin KHOP rules?

I have this spamassassin implementation where I lowered the score on: KHOP_BIG_TO_CC It works when I override the score in my /etc/mail/spamassassin/local.cf file but I cannot find the .cf file that ...
0
votes
1answer
489 views

davmail and JAVA INSTALLED MANUALLY

I'm trying to install davmail, I've already install JAVA manually (tar.gz file). After trying with the ppa:webupd8team repo and not having good results. Had to clean a lot of files packages and so ...
2
votes
2answers
246 views

procmail save into a dir and execute a script?

I'm using procmail with Maildir/ and easy rules like the one below to save incoming emails into directories: :0: * ^X-Spam-Status: Yes Spam/ Now I would like a desktop notification on new emails in ...
2
votes
1answer
4k views

Postfix email bounced (mail for domain loops back to myself)

I have problem when i send a mail to example@orbialia.es for example2@orbialia.es My emails has bounced for this error: status=bounced (mail for orbialia.es loops back to myself) May 9 09:33:58 ...
0
votes
0answers
103 views

Letters from mail server comes as raw html (Outlook 2013)

I have two servers with sendmail(php, zf2) and I send mail (from both) to my outlook mail. Message body in html format. From the first email server it comes normally. But from second server letters ...
1
vote
1answer
179 views

Modoboa 1.1.1 Deployment Errors

I try 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): ...
0
votes
1answer
79 views

Manually interacting with postfix mail queue

I need to manually be able to interact (check, remove, etc) with the postfix mail queue (through scripts and what-not). I know that this generally is a bad idea; so how can I interact with the queue ...
0
votes
0answers
35 views

log all the email send by the root

I'm new in Linux and just installed a private script and want to capture all traffic, to know if this script send my logs or other things via email.
1
vote
1answer
490 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
2answers
81 views

How to debug ~/.forward

How can I debug ~/.forward file or see errors logged by mail agent on it without root privileges? I'm trying to process my mail with procmail. When I invoke procmail manually with procmail < ...
3
votes
2answers
139 views

Canonical bash environment variable representing a user's email address

I'm writing a bash function which will send an email to the current user upon completion. I'm wondering if there's a canonical or normal way to get a user's email address. My current plan is to ...
3
votes
0answers
27 views

Selecting different accounts in a mutt send-hook

I use the instructions outlined here to use different accounts in mutt. I'd like to be able to select different accounts depending on sender--send-hook seems like the right way to go. send-hook ...
1
vote
1answer
65 views

Mutt - sent and drafts in the INBOX

I'm using offlineimap + mutt + msmtp to handle my email. I would like to have an unorthodox configuration, where all of my current mail (received, sent, and drafts) reside in the INBOX (or at least a ...
1
vote
1answer
57 views

Selectively forward email based on domain?

I have an alias on my mail server, call it splitusers. Based on which domain (a couple are run off one mail server) is used, I would like the mail forwarded to a different user account. Eg: ...
1
vote
1answer
132 views

configure exim for system email forwarding (outside) , on a server with dynamic ip, behind a DNS router

Trying to configure exim to deleaver email to the outside world. I/We need to send email outside just for centralize certain admin notifications. Working on an already configured debian webserver, ...
0
votes
0answers
33 views

suitable openldap schema for mailserver

I'm currently looking for a suitable openldap schema for a mailserver. More specifically, I'm looking for a schema that includes the mailAlternateAddress and mailForwardingAddress attributes. Until ...
1
vote
1answer
69 views

Unix Fetchmail Utility: date on which email was received

I've successfully configured fetchmail and I'm able to download messages from the mail server but I'm not sure how to get the date on which a particular email was received. I need this date for ...
0
votes
3answers
38 views

How to disable receive email at dns level?

I'm completely new to DNS and how it work. Lately I've been getting mail spammed like crazy on one of my domain. I'm not using any mail for this domain and don't need it. I don't want to stop it just ...
3
votes
1answer
435 views

simple script for monitoring a mailserver

I would like to use a simple bash script (python would be second best) to monitor regularly (hourly) if my mailserver is online and operating. I know that there are dedicated solutions for this task ...
-1
votes
2answers
597 views

Sending zip file containing plain txt file via email

How to send a plain txt file in a zip file via email in unix? The contents in the txt file should be word wrap.
1
vote
1answer
495 views

automate updates with a bash script and cron

I'm trying to automatize the updates of debian system, without making upgrades. Then i'll send an e-mail to me, everytime there is an upgrade available. I've tryied to do it with cron-apt, but i ...
2
votes
1answer
187 views

Postfix Relay Multiple Domains with Multiple Origins

I currently have Postfix relaying multiple hosted customer solutions which all works as expected. There are no local accounts and it is used solely as a relay server. In the config I have the ...
2
votes
2answers
56 views

Securely inspect email attachment

I received a really classic spam mail stating that I have to pay a bill. The mail included an attachment (.exe). Just for curiosity reasons: What would happen if I click on the attachment? (I am ...
6
votes
1answer
1k views

Are there any alternatives to mutt?

I really like the idea of Mutt, reading mail in the terminal. I'm not really pleased with some inconsistencies and the imap handling. I set about trying to find some alternatives to mutt, but I can't ...
2
votes
1answer
166 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 ...
1
vote
0answers
679 views

How to configure Squid for Microsoft Outlook?

I have configured a Squid proxy server on RedHat Enterprise Linux 5.4. All my Windows clients have been configured to use the proxy at 192.168.5.100, port 3128 when accessing the Internet. However, ...