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
1answer
153 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: ...
2
votes
0answers
21 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
68 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
279 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
84 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
88 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
26 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
72 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
157 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
154 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
66 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
77 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
72 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
86 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
75 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
14 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
18 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
0answers
34 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
259 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
70 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 ...
1
vote
1answer
1k 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
48 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
108 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
63 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
25 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
272 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
56 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
81 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
18 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
39 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
50 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
97 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
19 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
45 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
33 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 ...
5
votes
1answer
192 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
155 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
171 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
117 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
49 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 ...
5
votes
1answer
476 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
97 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
404 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, ...
4
votes
3answers
557 views

Is it possible to have an outgoing SMTP server when port 25 is blocked?

I have a Debian machine (actually a Raspberry Pi) that I would like to use as a rudimentary, outgoing-only mail server over a residential connection, just for kicks. Port 25 is blocked. I would like ...
1
vote
1answer
297 views

Cron: Client does not have permissions to send as this sender

Platform: Arch Linux Cron: cronie Mail: msmtp I discovered that sending cron output to a mailbox hosted by Office 365 produced the following error, even though sending mail through the CLI was ...
0
votes
0answers
37 views

Cyrus create mail box gives error permissions denied

On freebsd91 64 bit i installed exim as mta and cyrus as imap server. I use saslpasswd2 root cyradmin -user root localhost localhost> cm INBOX.Sent It gives permissions denied error. In my ...
0
votes
0answers
180 views

Postfix: restrict all external access but allow for only mynetworks

How can I restrict access for an internal domain but allow all access for me the administrator? All users should be blocked from communicating outbound and no external domain may contact them, but I ...
1
vote
0answers
33 views

What Causes Mutt To Fail In This Way

When sending an email, the authentication and uploading stages exit successfully. After a long period with the message Connecting to gmail.com, the error message Could not connect to gmail.com (No ...
2
votes
1answer
87 views

Block local (unix) users from sending mail

Is there a way to block a local/unix user (or a list of local users) from sending mails via mail command (or maybe even in postfix, which is the MTA I have).
0
votes
2answers
89 views

Using an email without email services

I know that I can send email with the mail command. Something like echo “Hello world” | mail -s “Hello world” foo@bar.com would do the trick. But, given that I and a partner are online, how can we ...