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)

5
votes
1answer
7k views

mail: cannot send message: process exited with a non-zero status

I've had a cronjob working for about a fortnight without any problems. Then last night I checked I didn't get the email that I usually get. I went to the terminal to try send myself an email, I got ...
3
votes
2answers
427 views

Forwarding my institute mail to gmail?

I wanted to forward emails which comes to my institute mail to my gmail, while keeping the originals in the institute account too. I tried editing my /.procmail file like below: # Forward everything ...
0
votes
1answer
199 views

How to send an email using mailx so that From and To appear correctly in the email?

I need to send an email from my Ubuntu 12.04 machine. I am using mailx command to do that. Below is the command I am using which works fine. echo "Test server started at `date +"%F %T"` on `hostname ...
10
votes
4answers
4k views

Spamassassin object method location problems after restart

After spamassassin was restarted by the daily cronjob this morning it's flooding syslog with the following errors: Feb 9 09:24:26 mail spamd[8766]: spamd: got connection over /var/run/spamd.socket ...
-1
votes
1answer
902 views

How do I read Maildir RFC822 messages from the CentOS 7 terminal?

In a CentOS 7 server with dovecot, postfix, mailx installed, I have mail configured to be stored in Maildir format. How can I use the terminal to access and view the RFC822 messages stored in a ...
0
votes
3answers
362 views

creating and sending a self-signed public key using GnuPG in CentOS 7

I know that I can create a GPG keypair from the CentOS 7 terminal by typing gpg --gen-key and following the resulting steps, but how can I make sure that the resulting public key is self-signed? And ...
-2
votes
2answers
250 views

installing GnuGPG with Thunderbird on CentOS 7

How can I install GnuPG on my CentOS 7 system? I want to use GnuPG alongside Thunderbird and Enigmail to manage pgp keys, as per the instructions in this link. The problem is that the download ...
0
votes
0answers
180 views

munin monitoring - email notification not delivered

I installed the munin monitoring tool on a Debian Wheezy server and it runs correctly excepted for the email alert notification. I configured munin.conf as requested and I added a test plugin ...
0
votes
1answer
80 views

How to remove Linux permissions on files for emailing to a Windows user

A friend needed some help with LaTeX so I created some files, zipped it and mailed it. My friend (who is running Windows 8.1) could open but not edit the files I sent, due to write-permissions. I ...
1
vote
1answer
253 views

Procmail - auto reply with attachment

I am trying to auto-reply using procmail. I want to send back an HTML form with attachments (images; jpg/png). Is there a simple way to accomplish this? This is my piece of code so far: :0 | ...
0
votes
1answer
12 views

How can I do to use a email service for a same domain on other server [closed]

For example, the server I am using uses the host name "A.com". Now, I want to send an email to "A@A.com". But the email server isn't on this server. How can I do this?
1
vote
2answers
148 views

Why does terminal say I have mail every time I open it?

I am using OSX 10.9.5 Whenever I open a terminal, it says something like: Last login: Wed Jan 21 10:29:13 on ttys002 You have mail. What mail is it talking about ? If I open the mail app, I have ...
1
vote
0answers
341 views

Sending mail from multiple e-mail accounts(for different domains) using ssmtp

I'm hosting multiple domains in my public html folder of an ubuntu-nginx vps server. And I currently have my ssmtp.conf file set up to send mail successfully from one of those domains (say, example1). ...
2
votes
1answer
644 views

Exim4 DNS issues

I'm trying to forward the emails from my Debian server to my usual email address. I'm probably missing something important, as I can't find a good solution online looking for the following error ...
0
votes
0answers
45 views

System sends alert when root-login fails three times

I have a server-system. I typed the password for the user root 3 times the wrong way, and I got an mail like servername : Jan 15 23:06:50 : username : 3 incorrect password attempts ; TTY=pts/6 ; ...
2
votes
1answer
900 views

Is there any way to check email sent success acknowledgement?

I need to send the generated CSV files on regular intervals using script. I am using UUENCODE and mailx for the same. But i need to know that is there any method/way to know that email sent ...
0
votes
1answer
260 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!: ...
2
votes
1answer
523 views

Gmail instant new mail notifier for Debian 7 systems?

The way I do it now is that I have to keep a 'Gmail' tab open at all times in my browser to check for new mail. My mails are important and I need instant notifications. I thought of using a client ...
4
votes
3answers
3k 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 ...
1
vote
1answer
169 views

can i get imap access using just postfix and mailx?

I have postfix and mailx installed on a CentOS 7 server. I am able to send and receive email from the command line using the mailx command. I am also able to read email in each user's inbox using ...
1
vote
2answers
1k views

postfix multidomain myhostname configuration

I have two IP address running on Postfix and each IP has own domain. In short i want to isolate domain so outside folks think it is running on own IP and fully isolated even PTR also But in postfix ...
1
vote
0answers
287 views

Postfix multi IP/Domain SMTP Helo'ing

We have Postfix running with two domain and each domain has own IP so it's isolated. But Spamhuaus blocked my IP and saying you are sending "localhost.localdomain" HELO I am already using ...
1
vote
1answer
664 views

Relay access error when I try to send mail from outside to postfix

I run a debian 7 system and I run postfix as smtp server. I can send mail from postfix to outside (even though it gets to spam folders by google) but when I try to send a mail from, lets say my google ...
-1
votes
3answers
1k views

unable to view postfix email from centos 7 command line, why not?

I have postfix installed on a development box and I used the parameters from this other posting to configure postfix to work on localhost only. But the other posting does not explain how to send ...
1
vote
0answers
105 views

Changing from Exchange to IredMail…Mail Import?

Changing from Exchange to IredMail...Is there a way to import MS Exchange 2003 Mail into Iredmail running on Ubuntu 14.04??
2
votes
2answers
255 views

Why does uninstalling sendmail install exim, and uninstalling exim installs xmail?

I just set up a VPS with Debian 7 x64, and removed Sendmail along with some other programs. When it removed Sendmail, it also installed Exim. When I removed Exim, it installed xmail. Is there any ...
0
votes
1answer
280 views

How can I programmatically access the contents of a Dovecot mailbox in CentOS 7?

I just set up postfix and dovecot on a CentOS 7 server using this tutorial. I am able to successfully create a mail record using echo "TEST" | mail -s "testmail" youruser@localhost && tail -f ...
1
vote
1answer
154 views

Remotely connect to computer when connection partly fails

I have a Debian computer acting as a server at home. It has a dovecot+postfix mail server, an SSH server, an apache server, and everything you would expect from a do-everything server. At home, it is ...
3
votes
1answer
966 views

ACL/MAC Permissions for dovecot and postfix in CentOS 7

I am using this tutorial to set up Postfix and Dovecot on a CentOS 7 web server. But when I try to send a test email using sudo echo "TEST" | mail -s "testmail" newuser@localhost && sudo tail ...
1
vote
1answer
193 views

/private/var socket not created with postfix/dovecot sasl

I'm currently running into a problem I have with my email server. I try to setup Postfix and Dovecot with SASL authentication but I get the following error when I connect with telnet (port 25) to the ...
2
votes
3answers
234 views

Email using shell script using email address from external flat file

I'm using alexkowalski script from Email using shell script MAILADDR=(mail1@example.com, mail2@example.com, mail3@example.com) for i in "${MAILADDR[@]}" do echo "Mail test..." | mail -s ...
1
vote
1answer
54 views

how to set up my mail

I'm just trying to figure out how to use the mail command from the command shell. I've got Ubuntu 12.04 on my laptop. I've been entering the following: user@hostname:~$ mail ...
0
votes
1answer
148 views

Mail - server name issues?

I asked some time ago a question Send emails with a custom From: field However, still can't get exim4 running. It does send emails, but it is unable to receive any. I'm quite sure this might be ...
3
votes
1answer
66 views

is there a way to stop users sending to unwanted email accounts?

I want to set a command that only allows users to send emails to accounts ending in @hotmail.com @gmail.com @talktalk.net for example. Is there a way to set it so users can only enter these ...
0
votes
1answer
156 views

Checking if a mail has arrived, if not then alert

I am using fetchmail in combination with procmail for mail filtering on CentOS where my mail contains various log messages. They serve me so I could search through my mail(logs) for error strings. So ...
1
vote
1answer
663 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
91 views

Alpine: work with some e-mails

How can I setup alpine to use more than one mail address? That SMTP Server parameter in config looks like an global. Can someone help me? NOTE: At least for both e-mails on the same server. Thanks.
1
vote
2answers
338 views

Backup and restore IMAP mail account with (open source) Linux tools

Which Linux tools help to backup and restore a IMAP mail account including all mail and subfolders? I expect disconnects for large IMAP accounts because of ressource limitiations on the server ...
2
votes
1answer
690 views

Rewriting from header when forwarding email using Postfix

I'm sending email using Postfix on my Debian server, which is working fine. Now I want to receive email by forwarding all incoming email to my email address (which is not on this server). I got this ...
15
votes
5answers
6k views

Gmail blocking mutt

When I try to log in to gmail with mutt, it flashes a quick Webalert with a url, something like accounts.gmail.com or something. It's too quick for me to see or copy it. Then it says Login failed. ...
2
votes
2answers
259 views

Sending mail to lan ip failed

In a Ubuntu os, with sendmail installed (maybe as default installed package) but not configured, I tried to type both echo "Text message" | mail <dest_ip_address>\!dest_user and echo "Text ...
0
votes
2answers
817 views

Send emails with a custom From: field

I'm really not into mail configuration, but somehow I managed to configure exim4 and it does send e-mails. I spent so many hours on it though I even can't count. (And I don't know why it is so ...
1
vote
1answer
309 views

Assp won't start

I tried to install ASSP (Anti-Spam SMTP Proxy Server),but when I try to start it I get the following: $ perl assp.pl Perl version 5.012003 (5.12.3) is at least recommended to run ASSP 2.4.3 (14313) ...
3
votes
1answer
307 views

postfix virtual domain on specific IP address

We are running postfix with single domain (example.com) currently and we have appropriate PTR record for that. Now we want to add one more domain but i want to isolate that domain totally, Even i ...
0
votes
2answers
758 views

Difference between Reply-To address and From address in an email

In Heirloom mailx, one can specify "from address" (-r) and "reply-to address" (-R). What is the difference between the two?
1
vote
1answer
150 views

Is it safe to remove “received” header?

Is it safe to remove "received" fields created by my mail server for all outgoing mail? For example like this (all "received" headers from my server are deleted by postfix "smtp_header"checks"): ...
0
votes
1answer
717 views

mail command successful, but mail was not received by recipient

I used mail, its exit status is zero but the recepient is not receiving any mail. What could be the problem? I used this code: mylinsystem:/etc/mail # mail -v -s "test" ...
1
vote
1answer
112 views

How use mutt to manage /var/spool/mail/user

I've just installed apticron to get mails as available update notifications. Now I was wondering if there was a way to set up mutt to manage my mails from /var/spool/mail/daedalus? I'm on Debian ...
1
vote
1answer
361 views

How to mark read mails as unread in Postfix

In our postfix server, the mail directories cur and new are under /home/<user>/Maildir. I don't have much of an experience with mail servers, but I am aware that new e-mails land in the new ...
1
vote
0answers
89 views

What is error code 68 for msmtp and which problems may provoke it?

Sometimes, when I send mails (from alot MUA making use of msmtp) I get the following error message: failed to send: msmtp --account=FOO -t failed with code 68: A process has ended with a ...