Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [email]

Sending, receiving, reading, composing, sorting, and generally working with email. For the mail(1) command line utility, see the tag /mail-command.

1
vote
0answers
5 views

Train spamassassin remotely using a single email account set up for both POP and IMAP

I use multiple devices ( desktop / laptop / iphone / ipad ). I use POP because my desktop has extensive folders that I do not want to upload/share with a server, or take up space on my mobile devices. ...
-1
votes
0answers
29 views

I want to start an email hosting solutions on my own server [on hold]

I want to start an email hosting solutions on my own server. Something which Migadu ( https://www.migadu.com/en/index.html ), google apps(email) for business or Zoho does. I am not sure how to get ...
-2
votes
0answers
7 views

Any attachment should not deliver to cross domain

I'm Using Postfix and created virtual domain for example acb.com and xyz.com. If we send any mail with attachment from abc.com to abc.com that should be deliver but if we are sending mail from abc.com ...
0
votes
0answers
10 views

Generate postfix log file for current month or last year in 12 log files

I have an issue with my postfix mail server amount of sent emails in 11-5-2019 and when I use pflogsumm command pflogsumm /var/log/mail.log.1 __ /name.txt It generate new days. I need: 1- Command ...
-1
votes
0answers
32 views

How can I know where bounces are coming from? [on hold]

I have inherited a postfix configuration on a host. The host has been named mail.mydomain.org. I'm trying to have it receive mail for mydomain.org. I've updated the DNS zone for mydomain.org like so:...
1
vote
0answers
137 views

CRON (no tty): Delete message with specific “Message-Id”

I have a situation where I need to delete from mailbox (eg. /var/mail/root) messages with specific Message-Id. Following code works only from console, but I have to do it without user interaction ...
0
votes
0answers
15 views

Strange error doveadm

I try to move mail from one user to another: sudo doveadm move -u touser INBOX user fromuser mailbox INBOX ALL In finally I get an error: doveadm(touser): Fatal: setresgid(1005(fromuser),1005(...
0
votes
1answer
19 views

Correct PCRE in Exim Custom Filter File

My Server: - CentOS 7.6 - Exim 4.91-5 What I am looking to achieve Using Exim I want to silently discard incoming emails from a user set list of wildcard matches. SpamAssassin and other tools are not ...
3
votes
2answers
85 views

CLI E-Mail client with auto reply?

All I can find online refers to a setup where you own the mailserver. This is not the case here. I have a headless (so thunderbird is a no go) machine (ARM) on which I need to setup an automated mail ...
0
votes
1answer
19 views

Sendmail issue with “localhost.localdomain”

I have a DigitalOcean server which runs Ubuntu 14.04. I am having problems with sending emails from the PHP mail() function (which uses sendmail internally). I think the issue may be related to my ...
-1
votes
0answers
19 views

How to send an email with a shell script? [duplicate]

I need to send a mail to XXX@gmail.com, ZZZ@gmail.com from YYY@gmail.com with the subject and the message. How to do it?
0
votes
0answers
31 views

fdm mail filtering: avoiding archiving messages that have been “flagged”

I'm using fdm to fetch, filter, sort and archive my email. For archiving mail, I have a "disabled" account called archive that I invoke with fdm -a archive, which makes fdm go through all my various ...
0
votes
1answer
32 views

Have logwatch send reports only once a week

I would like to lessen the noise from logwatch reports sent to my email on three systems. Is it possible by to configure logwatch to send only some days in the week, or once a week? More relevant ...
1
vote
1answer
19 views

How can I return (fetch) the subject using Dovecot's `doveadm fetch`?

Dovecot allows me to search on SUBJECT returning the body doveadm fetch -u myUser body SUBJECT mySubject body: My Body of message This shows me it knows what a SUBJECT is, but when I try to return ...
0
votes
1answer
25 views

Recover/reupload messages deleted by fetchmail

I used fetchmail to access my Hotmail/Outlook mailbox. It downloaded every message inside Inbox, but now that folder is empty at the server. Now I see that fetchmail deletes messages by default: -k ...
0
votes
0answers
16 views

Unable to access email only on Ubuntu but accessible on other devices

I have been using Thunderbird as my default email client but it has all of a sudden stopped accessing all my email accounts. Its also the same with Evolution. The curious thing is that Im properly ...
2
votes
3answers
120 views

Sending text file as it is

I have 10 lines in a text file and wants to send it as it is in email. Below script is attach file and not showing as regular email. Recipients will read file as regular email (no attachment) #this ...
1
vote
1answer
38 views

Modify subject line of cronjob

I have the following one-line cron command set up which gives me a nice simple message in the body of the email upon backup complete (thanks to @steeldriver). tar -cpzf /home/user/backups/...
0
votes
1answer
32 views

Sending email via mutt as root on RaspberryPi

I have an application that needs to run as root for access to hardware on the Raspberry Pi. In this application I need to send emails with attachments containing data. I am able to write a bash ...
0
votes
0answers
12 views

404 error syncing Google Contacts with Roundcube using CardDAV

I have a Roundcube installation running on a Debian server with the CardDAV plugin that was, until recently, successfully syncing contacts with my G Suite account. Today I noticed it had stopped ...
0
votes
0answers
47 views

Why is nullmailer appending my hostname to the recipient address?

I want to set up nullmailer to relay mail to my provider's SMTP. Since the provider drops email with mismatching sender's domain and user login, I used /etc/nullmailer/allmailfrom to match the login ...
10
votes
2answers
922 views

Why does cron require MTA for logging?

Why does cron require MTA for logging? Is there any particular advantage to this? Why can't it create a log file like most other utilities?
1
vote
1answer
57 views

Exim4 and root aliases? Send a copy to root?

When setting up my raspberry pi to use local email (using exim4 as the default MTA on Raspbian/Debian), and while doing the debconf initial configuration, I was asked whether to forward root's email ...
0
votes
1answer
60 views

Roundcube Error: Connection to storage server failed

I installed Roundcube on a Debian server running Dovecot, Postfix, mySQL for mail, and postfixadmin. Then I installed Roundcube. I have another server with the same configuration. I can send and ...
0
votes
1answer
38 views

Implement a script in Solaris when usage in all filesys >90% & send a mail i dont know how to send mail from script

Script in Solaris when usage in all filesystem >90% & send a mail i don't know how to send mail from script #!/bin/bash # Outputs alert if filesystem is above 90% { for fs in $(df -hk | ...
2
votes
3answers
52 views

Get number of emails in specific directory on mail server

I am trying to find a way to connect to a mail server and find out how many emails there are in a specific directory. In this specific case, it is the Spam directory in my Gmail account. I am not ...
0
votes
1answer
37 views

Which permissions do I need in order to send someone else / root files?

So I was playing a little with permissions in my system and then I noticed there is no permission specified for sending the file somewhere else. I tried, as a simple user, the following command: ...
-1
votes
1answer
75 views

Protecting an email-proxy (Gmail) account being used by a Mail Transfer Agent (MTA)

On Debian LAMP with different PHP based CMSs I use the MTA sSMTP to send email via an email proxy (Gmail); the emails I send are only contact-form inputs transferred from any such CMS to my own email ...
0
votes
1answer
13 views

Centos 7 / FreePBX14 Distro Email

I am trying to find out what mail service is being used to send voicemail to email on Centos 7 / FreePBX14 Distro.
1
vote
1answer
20 views

Method to automatically email if a drive goes offline (or a USB port is restarted)

Is there a quick and easy method to send an email (I already have automatic emails coming from the server for other events - I just need to be able to send one for this specific event) if a USB port ...
2
votes
2answers
37 views

procmailrc-Killfile for recipient addresses?

I want to block mails with certain recipient addresses using procmailrc (temporary addresses that now only receive spam). I found a code sample for using a killfile/blacklist, but it only applies to ...
0
votes
2answers
92 views

Who is marc, the default receiver of root mail in /etc/aliases?

Is 'marc' some person in the Linux/Unix community? In /etc/aliases on a default centos install, the bottom line reads: # Person who should get root's email # root: marc Or is it just a ...
1
vote
1answer
21 views

How to send emails from multiple domains

I have a number of Drupal websites running under several different domains. These websites must be able to send emails to users. Furthermore, I have a Zimbra mail server running. In Drupal I can ...
0
votes
1answer
194 views

Why cron doesn't stop sending emails even redirecting to /dev/null

I have some cron tasks, and some of them doesn't stop sending me emails. An example task are: */2 * * * * php app/console mautic:email:fetch > /dev/null 2>&1 (All ...
1
vote
0answers
62 views

evolution mail and exchange tls

Was informed this week Microsoft is about to lock down their exchange servers and allow tls1.2 only. I run evolution for mail and it is currently working nice with Exchange online. Does evolution mail ...
0
votes
3answers
83 views

Move line that matches pattern to top of file (multiple files)

I've got a folder containing roughly 4000 text files, each of which contains an email and its headers. I want to convert all the files in the folder to one .mbox file, but to do that I need every ...
1
vote
1answer
57 views

Sendmail migration: Replicating all incoming mails to another mailserver

I am migrating a mailserver running sendmail 8.14.3 to a postfix server. The MDA on the new server is Dovecot. In order to ensure a seamless transition, it would be best if incoming mails are ...
0
votes
0answers
51 views

Pine Email Client and MFA

Can anyone describe how to deploy a Multi-Factor Authentication (MFA) solution (such as DUO) to the text based email client Pine (out of the University of Washington)? Many University's have ...
0
votes
1answer
188 views

Claws Mail: import messages + folder structure from Thunderbird

I've exported a folder structure with several messages and subdirectories from Thunderbird to mbox files. I'm trying to import this to Claws via file>import mbox file... but, so far, it works only ...
1
vote
0answers
109 views

Sendmail authinfo for multiple users on the same relay?

I'm attempting to set up sendmail to use the mailgun smtp relay for some email invoices our company sends out. However, these are originating from a handful of different domains and when I try to set ...
3
votes
2answers
45 views

Hide “You have old mail” message when logging into shell?

I have a mail system set up on my server (Postfix + Dovecot) that I use for personal and sys-admin email. Every time I login via shell (for all of my accounts), the message "You have old mail." is ...
2
votes
2answers
134 views

Sending attachments with GNU mail to @kindle.com

Background: I'm trying to set up a server to regularly pull RSS feeds, package them up in a mobi-ebook and send them to my kindle. Problem: If I configure the server to send to my @kindle.com email ...
2
votes
3answers
195 views

Why does cron use MTA to send emails, while we use MUA to send emails?

I have looked at the definitions of MTA, MUA, MDA, for example, https://ccm.net/contents/116-how-email-works-mta-mda-mua and https://en.wikipedia.org/wiki/Email_agent_(infrastructure) In Lubuntu, the ...
1
vote
0answers
39 views

With “reject_sender_login_mismatch” I can no longer send email [duplicate]

I've added "reject_sender_login_mismatch" to "smtpd_sender_restrictions" as was suggested to me. Now I get this when sending an email: <my_email@my_domain.com>: Sender address rejected: not ...
4
votes
2answers
423 views

I can't send email via my own Postfix anymore due to enforced restrictions that I made

Until recently my server with Postfix has worked well. Then I enforced some restrictions to a) combat spam b) disable sending emails to me on behalf on my own name -- I have begun receiving emails ...
1
vote
0answers
54 views

Mailman auto-unsubscribe by bounce while all mail ids are valid in the list

I am working on Mailman version 2.1.12-14.el6.x86_64 and sendmail that came inbuilt with RHEL 6.0. My mailman does not directly send mails to the destined domains. It relays to another appliance ...
4
votes
2answers
149 views

How to get traditional email clients to send email which appears normal in Gmail?

A considerate friend informed me recently that emails I send (with Neomutt; could be Mutt or Gnus or Pine) look funny on his device: Apparently Google doesn't invest much effort in properly ...
0
votes
2answers
34 views

What utility can add a delivered_to line to an email based on To: and Cc:?

TLDR: I need a utility that reads an email and looks at the To: and Cc: fields to find an email address from a list of knows addresses. If it finds one I want it to output the email with an extra ...
0
votes
1answer
51 views

Add file (as attachment) to existing email

Is there a way to add a file to an existing email with mutt? It is an archived (i.e. old) email and I’d like to add a pdf to it for reference. Of course, it’s possible to forward / resend it to ...
0
votes
0answers
24 views

View attached mails in mutt

I'm just trying to view an attached MIME mail (no, this isn't a spelling mistake, there is a mail attached) in mutt, but, as the attachment is recognized as text/plain, mutt just shows up the header ...