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
1answer
133 views

Unknown TCP Service when installing stunnel

I am trying to install stunnel on a CentOS 7 server, but I am getting an Unknown TCP Service error. How can I resolve this error to complete the stunnel installation? I installed and tested ...
1
vote
1answer
126 views

enabling smtp on port 465 and imap on port 993 for webapps running on centos 7

A CentOS 7 development server is used for prototyping webapps that send and receive email using JavaMail to connect with a remote mail server elsewhere on the internet. The remote mail server uses ...
1
vote
1answer
80 views

How can I safely send email over encrypted connection from the command line?

I found the following related questions on the stackexchange network: stackoverflow - Connecting to smtp.gmail.com via command line serverfault - Using nc.exe (NetCat) to send emails to secured SMTP ...
0
votes
0answers
61 views

Add colors to mailx inbox

Is there a way to add color to the mailx inbox. I know there is dircolors and also the bash hex colors. I am not sure if mailx can add some of these tools to colorize replied, purged or forward ...
2
votes
1answer
775 views

Exim: Email to root ignores /etc/aliases and /root/.forward - always used qualifies domain name

dpkg-reconfigure exim4-config asks for a domain name to "qualify" email addresses of local users such as root. Let's say I've set this setting to qualified.example.com - this causes all email sent to ...
1
vote
1answer
247 views

How to retrieve email on Linux?

My college signed me up with Office 365 and I'd like to be able to download the emails and either save to file or print to stdout within a script. I've already managed to send email with scripts ...
4
votes
1answer
134 views

Why does sending email via mutt work to gmail but not to evernote?

I have freshly installed sendmail and mutt on Ubuntu 14, with no configuration. It works fine like this when sending a test email to a gmail account, e.g. mutt -s 'test 1' < /dev/null -- ...
1
vote
2answers
63 views

sending an email on command line: “550 aliases” error

I am trying to send an e-mail from Linux command line by executing: echo "this is a test" | mail -s Subject <email address> The error I get is: send-mail: RCPT TO:<email address> (550 ...
0
votes
1answer
156 views

Postfix does not work with TLS but Dovecot does

I have posted this question on Sever Fault but as soon as I mentioned that I have a control panel installed on my server (even though it has nothing to do with the issue) my question was closed. Here ...
4
votes
1answer
67 views

Can mutt show the index and body of emails in a horizontal split?

I'd like to have mutt show an index of emails at the same time as the body of the selected email, horizontally next to each other. I understand that you can set mutt up to show the index of emails at ...
2
votes
1answer
52 views

Spamassassin - testing content of an html email with no headers

I'm using Scrivener to write emails for my business. I then use the "compile" feature to export to HTML. I'm wondering if there is a way to use spam-assassin to do a local test on a folder with ...
0
votes
0answers
30 views

Preserve formatting of the attachment sent by the script

I have written a script which at the end of execution send a mail with an attachment. Through my script i am making two files , one serves as email body and the second as an attachment. I noticed ...
1
vote
1answer
176 views

Postfix - envelope and body header

I have got a question regarding how one can protect himself from fake e-mails that are forged by putting in a fake message header while keeping normal envelope header? The issue is that what is ...
5
votes
2answers
228 views

How can I use mutt with local storage, IMAP and instant pushing of new email?

I'm thinking about switching to mutt for email. However, I have a few requirements. I'd like to be able to store the email offline. I'd like to have email pushed immediately to my local computer as ...
1
vote
1answer
204 views

Sendmail issues “530 Authentication required” error message when authinfo is supplied

sender_email - email address that does not exist, but must be used as FROM address, because receiver host rejects emails from other emails. receiver_email - email that is supposed to receive the sent ...
0
votes
0answers
40 views

How do load balanced mail servers function with each other and clients?

If there are two mail servers running postfix/dovecot as both primary in a load balanced configuration, how do they function with each other and with clients? For example, my DNS record will look ...
1
vote
1answer
23 views

Force enigmail to sign with a specific subkey

I have a GPG key with multiple signing subkeys and I want to force enigmail to sign email with a specified subkey. GPG can be forced to sign with a specific subkey by appending the characted "!" after ...
1
vote
0answers
77 views

Thunderbird: disable ENTER opening all messages in thread

When using thread view in Thunderbird, pressing Enter on collapsed thread does not un-collapse the thread as would be logical, but instead opens all emails in that thread in separate windows. Is ...
0
votes
1answer
73 views

Cannot make sendmail to use a remote SMTP server [closed]

I followed the following guide on how to setup sendmail to use a remote SMTP server and authenticate: https://www.smtp2go.com/docs/sendmail/ However, sendmail shows that it sends emails out, but ...
0
votes
1answer
73 views

Find mails, pipe them to php and delete after

I have a script that saves to DB content of piped to it file. cat /mailpath/Maildir/cur/mailfile | php -q /scriptpath/mailPipe.php I need a shell script or oneliner to find all files in Maildir, ...
0
votes
1answer
565 views

Postfix: Recipient address rejected from another domain zones

I have successfully installed Postfix/Dovecot with virtual domains and TLS support like this article describes - https://geekpeek.net/postfix-with-dovecot/ ... But faced with the problem. I can send ...
0
votes
1answer
205 views

Sending email out at a specific time

I'd like to write emails now and have them go out at some specific time in the future, eg. when the office opens in the morning. What would be a good way to do that ? Most user agents don't support ...
0
votes
1answer
123 views

mail delivery goes wrong with mx lookup

in Plesk (11.5) you can deactivate mail service on a specific domain. I did this, because: At my domain provider I configured the domain DNS settings like this: A-record: IP points to web server with ...
1
vote
1answer
39 views

Forwarding every message in a folder to a specified email address

How can I forward each message in a mail folder (I am using alpine where each mail folder is actually a single file in mbox format) to a specified recipient? I would like each message in the folder to ...
0
votes
0answers
110 views

Postfix/Rancid - Confused by terminology, /etc/aliases, and relaying mail from localhost

I want to send notifications from a non-domain linux server, to my corporate email, me@company.com. My main concern is receiving notifications from an installed instance of rancid. I am confused by ...
0
votes
0answers
91 views

fetchmail: Missing trust anchor certificate:

I try to setup fetchmail on mac for checkdomain.de and created a certificate .pem file in the cert directory of ssl by copying certificate from running this command: openssl s_client -connect ...
1
vote
1answer
903 views

How to install/setup mutt with Gmail on CentOS and Ubuntu?

How to setup the email client Mutt to send, receive and read email under CentOS and Ubuntu using a Gmail account as a relay
2
votes
3answers
113 views

Migrate mail from dovecot on centos to dovecot on debian

I am trying to migrate a number of user mail accounts from dovecot 1.0.7 on a centos 5.11 server to dovecot 2.1.7 on a debian 7 server Foolishly I thought I could simply replicate the Maildirs from ...
0
votes
1answer
125 views

private iRedMial server, [127.0.0.1] in email headers

I have installed a private email server using iRedMail on CentOS6. When I used it to send email to my outlook account, I found '127.0.0.1' in the header, the header show below: <blink> I have ...
2
votes
0answers
43 views

How to trap spam sent from certain top-level domains?

I'm getting a lot of spam from eu TLD Maybe I could have put a rule set giving a score of say 2.5 or 3 for any mail originating from the .eu TLD; then this score + other factors could have made it ...
0
votes
1answer
239 views

Offlineimap unknown SSL protocol error

I am using offlineimap to fetch mail from several IMAP servers. This used to work but today offlineimap has been unable to fetch mail, producing the following errors: *** Processing account example ...
0
votes
1answer
1k views

Sendmail Attachment

I was wondering if it's possible to include an attachment with sendmail. I am generating the following emailfile.eml files with the following layout From: Company Name <example@nowhere.com> To: ...
2
votes
2answers
128 views

Can I automatically send from specific email addresses in Mutt?

Background I own a domain with a catch-all, so that all email sent to *@foo.bar goes to one account. I have unique usernames for particular organisations, e.g. stackexchange@foo.bar. If an email ...
2
votes
1answer
92 views

Postfix - external email notification when an internal email is received

describing my specific case; on our centOS 6.6 final servers , I've installed yum-cron, in order to schedule a check every night if there are updates from the active repositories. I preferred to ...
0
votes
1answer
30 views

Delivering email to Maildir PreINBOX

I have a running dovecot with: $ dovecot -n # 2.2.18: /etc/dovecot/dovecot.conf # OS: Linux 4.1.0-x86_64-linode59 x86_64 Fedora release 22 (Twenty Two) ext4 auth_debug = yes auth_mechanisms = plain ...
0
votes
0answers
632 views

My server email can't connect to Outlook or Thunderbird

I have postfix for smtp, and dovecot for imap/pop with FROXLOR. I have configured correctly, but I can't succeed in configuring an account in client mail programs. From Outlook, I receive Log on to ...
0
votes
1answer
86 views

Can I check a suspect .zip file without downloading it?

I am using Linux Fedora 20 and BT Yahoo mail. I have received an email with an attached .zip file, but I suspect that it might be malicious and dangerous even to download the attachment -- it might ...
1
vote
1answer
56 views

Mutt authentication fails because username string is malformed

I'm trying to set up mutt to work with our internal email server. Our user names have the form user@domain.lan But when mutt tries to authenticate, it appends the mail server's url to the username ...
2
votes
0answers
40 views

Can I make cross-computer sharing compatible with tinfoil-hat security (password managers, email, etc.)

Preface: I realize the following is asking for tinfoil-hat type security, but I'm really curious for answers to my questions -- not suggestions to enable two-factor logons on gmail, etc. and call it a ...
1
vote
0answers
130 views

Postfix - domainkeys=neutral (no sig)

I have everything else working fine (SPF and DKIM) but I can't get domainkeys=neutral (no sig) to pass! domainkeys=neutral (no sig); from=foo.com; dkim=pass (ok) I know what some people are already ...
0
votes
0answers
662 views

Error 550 No Such User Here when sending mail to postfix server from certain servers

So, I've been doing a lot of Googling and researching, and I can't wrap my head around this. I set up a mail server using iRedMail. I'm not an incompetent Linux user, but I'm not experienced in the ...
1
vote
3answers
353 views

Send mail at startup

I want to send a mail to myself at the restart of a server. We use AWS, and a restart results in a changed internal 10.x.x.x address. This address has to be configured in Postgres and elsewhere, and ...
0
votes
0answers
832 views

How to set mail subject using variable and ensure attachment is not included in email body

I have the following shell script fragment. var_name='ZZPCI' for emailadd in `cat /tmp/email_list.tmp` do subject_text="Subject with Var Name "$var_name subj_text_novar="Subject without Var ...
0
votes
2answers
62 views

rsyslog seems to have vanished from my system

I'm debugging an issue where I think my server is spamming other servers because it is infected but all my logs stop in august last year, and rsyslog is missing from the system /etc/rsyslog.d still ...
2
votes
0answers
28 views

how to prevent procmail listening to the world [closed]

This is part of a larger effort to try and ensure my server is not infected and spamming the internet with spam emails I had a friend take a look at the server and he said "Your procmail is open to ...
2
votes
1answer
399 views

How to clean a flooded mailbox

Today I opened my university mailbox, after several months of not opening it. I found it is flooded with about 300 K messages from the cron daemon, notifying me of a certain unimportant warning in a ...
0
votes
0answers
28 views

How to redirect roundcube log to stdout

Installed roundcube from source on top of debian. I wanna redirect roundcbe logs to stdout. How to achieve this?
1
vote
1answer
104 views

Can I do a delay delivery in Thunderbird or Evolution

Now we have an option of "Delay Delivery" in Outlook. Can we do something like that in thunderbird/evolution or any other linux client ?
1
vote
2answers
724 views

My cron job is not sending an email with any output, I see only a blank email

Can someone please help me here. My cron job is not sending an email with output. While I run the shell script manually it generates an email with output. Here is the script looks like #!/bin/bash ...
0
votes
0answers
23 views

How to make roundcube work with pgsql?

roundcube & pgsql are running on different containers docker run --name to-postgres --expose 5342 -e POSTGRES_USER=roundcube -e POSTGRES_PASSWORD=roundcube -d postgres Now how shall I install ...