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
56 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
143 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
62 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
46 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
28 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
160 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 ...
4
votes
2answers
192 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
178 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
36 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
21 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
72 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
61 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
71 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
486 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
175 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
106 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
101 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
88 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
749 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
101 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
122 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
219 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
771 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
115 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
87 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
574 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
84 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
51 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
125 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
634 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
305 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
712 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
57 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
27 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
377 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
90 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
663 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
21 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 ...
2
votes
1answer
32 views

Can the vacation e-mail auto-responder cope with Berkeley DB version skew?

We have a typical account domain with NFS home directories, accessible by the mail server as well as various user workstations. Do the versions of the vacation package installed on the mail server ...
0
votes
1answer
212 views

Postfix - Modify header “Message-Id” twice

I am trying to do both of the following actions. However Postfix only changes the first Message-Id. With this example Precedence: bulk won't be added because it's at the bottom. ...
0
votes
1answer
37 views

Why the info displayed on my console after executed mail command?

I have installed and set the sendmail . root@localhost:~# echo "Just testing my email " | mail -s "Sendmail gmail " test@qq.com The info displayed on my console after the command be executed. ...
1
vote
2answers
68 views

Make a Scheduled job for Renaming the files in a folder and send an updated alert email

I am writing a shell script, which can rename all the files in the folder, We need to search for a particular pattern of files every 30 seconds. Files in the below format need to be selected, ...
1
vote
2answers
24 views

Procmail to recognize e-mails which were already copied into a folder

I am working at a place where e-mails are sent to multiple groups very often, which means that e-mails will be filtered into random directories, even in mid-thread if a new group is added to the ...
-1
votes
2answers
87 views

popcon failed is the mailto address busted?

in my mail today ( I checked it today, the messages started 5 days ago) I got messages from popcon the package popularity contest which says: ... A message that you sent could not be delivered to one ...
0
votes
1answer
110 views

Select latest updated file from directory and send it via email

I want to select latest error(timestamp).log file from some directory and send it via email as attachment. What I am trying is: Filename: abc.sh echo 'An error occured' | mutt -s "Logs" -a ...