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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

Email alerts from VPS to Gmail

I am planning to fire up a VPS running Debian. I want it to send me email alerts. However, I don't want to bother with a separate local email client on my machine; I use Gmail and that should be ...
Mikhail Ramendik's user avatar
0 votes
0 answers
38 views

How to convert accented characters in an email

I want to send an email with the body ($BODY) containing accented characters like é, à, ô... echo "$TO" | mail -s $SUBJECT $BODY But the result shows unreadable characters. I tried to ...
Romeo Dejent's user avatar
0 votes
1 answer
40 views

mail: unrecognized option '-S' | sending mail from linux server

I am trying to run a bash to send emails from my linux server. I am using the following command: echo "This is the message body" | mail -s "This is the subject line" -a "From: ...
user3165121's user avatar
1 vote
1 answer
40 views

How to include a display name when sending mail with mailx

I'm sending email from a script using mailx. The script is run daily by systemd, using .service and .timer files. For testing purposes I'm sending from the command line. The mail is sent with the ...
CatchAsCatchCan's user avatar
0 votes
0 answers
30 views

How to configure Linux (debian 11) as an SMTP Gateway with authentication

Hope you are all having a good friday. The situation is - I have a local MS Exchange Server, which currently has a windows based server in the cloud that I'm using as an SMTP relay - it works great ...
Andre YPB's user avatar
0 votes
1 answer
36 views

Tagging mail with "notmuch" marks them as old

After syncing my local maildir inboxes with offlineimap and performing spam filtering and sorting using fdm+bogofilter, I tag the messages in the mail store using notmuch. Up until recently, I used ...
Kusalananda's user avatar
  • 323k
0 votes
0 answers
40 views

How can I make Exim mailserver doing faster retry after temporary DNS failure

We are running Exim4 mailserver version 4.90.1 on Ubuntu Server 18.04.1 LTS which is in DMZ and sends out emails from LAN out to the internet. Sometimes (maybe a couple of mails per 24h of thousands ...
Daku's user avatar
  • 31
0 votes
1 answer
114 views

How to make mail command to send email to root after installing msmtp?

Install a simple SMTP client: sudo apt install msmtp msmtp-mda Set in msmtprc :: cat .msmtprc account default host smtp.qq.com from [email protected] auth on tls on tls_certcheck off user [email protected] ...
showkey's user avatar
  • 99
1 vote
1 answer
60 views

Pass Password-Manager for Aerc eMail-client

I use Aerc eMail-client on Archlinux. I have an gmail-account, which I was setting up like this: https://oren.github.io/articles/text-based-gmail/. So I integrated the special password-App. How can I ...
Denis's user avatar
  • 21
0 votes
0 answers
48 views

Postfix delivers messages locally despite configuration for discovering external agent

A small node operates several web applications attached to a domain. The same domain is used for mailboxes, hosted off site by a commercial service. On the name server operated by the registrar, A, ...
brainchild's user avatar
0 votes
1 answer
76 views

Script to send an alert mail once the disk space is above 90% sends disk full even when the disk isn't full, how to resolve this issue?

#!/bin/bash df -m > myfile server_ip_address=$(ip addr show $(ip route | awk '/default/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1) if awk '$2 &...
achhainsan's user avatar
0 votes
1 answer
77 views

Postfix add header to outbound emails from a single host

Situation: I’ve got an app that sends weekly emails to about 30 friends. I can’t modify the app. I want it to have a list-unsubscribe header. No other emails come from this IP to my mail server that ...
Rhysers's user avatar
0 votes
1 answer
51 views

Change mail from header in sendmail

We have two separate RTs (request trackers) configured on one server. They both are configured to send the emails through sendmail. We are trying to configure now SPF and DMARC records for these DNS ...
Julia Mala's user avatar
0 votes
0 answers
11 views

Thunderbird does not honor the configured archive location if it's an IMAP folder on another account

I have my mail archives on a local IMAP server (to easily backup them and to not be dependent on a certain mail client) If I configure another IMAP account to use a folder on this local IMAP account ...
snaut's user avatar
  • 101
0 votes
1 answer
87 views

Service only listens on 127.0.0.1 port 1025. How do you allow any computer on your local network to communicate with this service?

Let me open by saying I have scoured the internet, even companies I purchased the software from and it's been 5 months!! So I am turning to the community as my eyes and brain are bleeding from reading ...
Frank's user avatar
  • 13
0 votes
0 answers
21 views

OpenSMTPD: Mails that should be in root user's mbox is in default user's mail box

So I have setup an OpenSMTPD server on my OpenBSD VPS. I have specified the aliases file path and configured action "local_mail" to forward the mails to specific users based on their ...
prmethus's user avatar
0 votes
0 answers
120 views

timed out while receiving the initial server greeting

I'm trying to host a postfix mail server.I have a box with a fixed IP and also a mx record and spf record that link my box IP to my dns record. I can telnet to alt4.gmail-smtp-in.l.google.com 25 but ...
I_md_ou's user avatar
0 votes
1 answer
71 views

Outbound port 25 server issue

I recently attempted to install iRedMail on a container running Ubuntu 20.04 on my Proxmox server in my home lab. Everything apart the port 25 is working perfectly (updates, remote connection, remote ...
Alex's user avatar
  • 3
1 vote
1 answer
42 views

Mutt fails to send email

In my Azure ci/cd pipeline, I am executing tests on Ubuntu 20.04. At the end of the test, I created task in the azure pipeline , to send an email to team with attachment of test reports. I am using ...
Jay's user avatar
  • 115
0 votes
0 answers
19 views

mutt intermittently fails to send email

In my azure ci/cd pipeline, I created a task to send an email using mutt. I use Ubuntu 20.04 There are no error messages. But the emails are sent intermittently. I created a trigger in the pipeline ...
Jay's user avatar
  • 115
0 votes
1 answer
27 views

Google is not authenticating a request from a third party Linux app. Why?

My Evolution version up to just prior to this writing had been 3.36.5. Since I'm using metered internet not all of the applications are updated all of the time. Consequently, I would have the ...
wmdfrnyc's user avatar
0 votes
1 answer
112 views

Mutt silently fails to send an email from the ci/cd pipeline

Mutt is silently failing to send an email . There are no errors or failures. But sometimes the email is sent while other times it fails to send an email. This is how I am installing all the required ...
Jay's user avatar
  • 115
0 votes
1 answer
77 views

Can Sendmail rewrite a specific To: address, so that a different email shows up in the To line?

I have requirement to rewrite a single recipient address. Not just aliasing, because the email To: lines has to be changed. I.e.,. I tried adding this to sendmail.mc: FEATURE(`genericstable')dnl ...
user1993015's user avatar
0 votes
1 answer
60 views

Failures while setting up mutt on Ubuntu 20.04

Following is my shell script which I am running on Ubuntu 20.04 as pipeline task. echo "line1" sudo apt-get update echo "line2" sudo apt install snapd echo "line3" #sudo ...
Jay's user avatar
  • 115
0 votes
1 answer
88 views

Is it possible to ignore "Inbox" folder when using IMAP (mbsync)?

I can't find a clear answer whether "Inbox" folder is necessary to sync when using IMAP protocol. I can't seem to uncheck it on gmail and mbsyncrc (mbsync's config file) seems to require an &...
Daniel Krajnik's user avatar
1 vote
2 answers
66 views

List first relay mail server from header

The mails are stored with full headers in a text file. (The file is an INBOX from the Thunderbird mail client. File format is a mboxrd variation.) How to list the first server for each mail, that the ...
Hölderlin's user avatar
  • 1,160
0 votes
0 answers
106 views

neomutt+lieer: how to make deletion in neomutt sync properly to GMail?

I've recently migrated from mutt to neomutt, and have at the same time been moving from accessing my mailboxes live through IMAP to working with local frequently-synced copies, with a notmuch database....
Jake Wildstrom's user avatar
0 votes
0 answers
10 views

Unable to use Domain of Email Address, and Still Authenticate System Users

I have a working config for Dovecot and Postfix that gives me a working email server for a certain domain, for users who are part of the mail group. Now, I want to receive mail for a new domain on ...
MCLooyverse's user avatar
0 votes
1 answer
51 views

Remove specific emails from sendmail mqueue

How do I remove emails from mqueue based on destination address. Needing to remove deferred messages going to "[email protected]" Due to an endless loop (that has been found and ...
Sarah's user avatar
  • 1
0 votes
0 answers
105 views

How to set per-user quota limit in dovecot?

I have set-up mail server which uses dovecot as LDA and IMAP/POP3 & MUA is roundcube. I have to authenticate using LDAP. I want to implement per-user quota, but I cannot use any field in existing ...
Ayush Gupta's user avatar
0 votes
0 answers
148 views

script to send email with attachments

I have the file like below filelist.txt C:\Users\project\files\target1.txt; C:\Users\project\files\target2.txt; C:\Users\project\files\target3.txt; C:\Users\project\files\target4.txt; Now, the script ...
Rajesh's user avatar
  • 9
3 votes
1 answer
197 views

How do I change the user agent of K-9 Mail's IMAP client on Android?

I'm trying to use k-9 mail on android to connect to my organization's IMAP server which is being run as an outlook.office365.com service. As I'm sure many of you know, Microsoft recently turned off ...
user1794469's user avatar
  • 3,929
0 votes
0 answers
61 views

Auth error when sending mail through Postfix with SSMTP (local server)

I'm trying to send mail from a banana pi running SSMTP to a raspberry pi running dovecot/postfix. I used Thunderbird to login to my mail server it showed three times saying "Unable to log in at ...
Lukas's user avatar
  • 1
0 votes
1 answer
282 views

Postfix deny all relay domain destinations except for relay_domains

Im running Debian 11 with Postfix 3.5.17 and I'm having trouble restricting the domains that clients can relay mail to (mail from submission). I've configured relay_domains to only be the specific ...
user avatar
0 votes
2 answers
136 views

Using awk to pull multiple rows from a txt file and put it a single cell in html

Using this script to pull the command out lines from the text file and sending to email in table format. Need to know how to make the multiple rows (as single command has multiple lines of out) to put ...
user565847's user avatar
0 votes
1 answer
101 views

Sending text file output to email in table, but email out has repeated lines in table based on text file lines

Working on below to send txt file out to email in table. Email out has repeated lines of command based on number of lines in txt file out. Why the output receiving email has repeating number of lines ...
user565847's user avatar
1 vote
2 answers
58 views

email: Where does the datetime stamp in the From_ line of an mbox mail message stem from?

I am currently working on a program converting mailbox files from an old, tenex based mail format to mbox. The tenex mailbox format has separator lines like the mbox format (the latter is called the ...
user214289's user avatar
0 votes
1 answer
313 views

Cron job with `echo` sends e-mail instead of printing to terminal

I am new to Unix, learning how to schedule a job. Starting with a simple command like * * * * * echo 'hello' on vim. However I do not get the standard output at the start of every minute, instead ...
John's user avatar
  • 1
0 votes
0 answers
44 views

How to I send email from linux command using my outlook365 accoount

I am trying to setup my linux environment to be able to send mails via command line to my own email outlook account. I am accessing my outlook account via web-browser and it uses a two way ...
FotisK's user avatar
  • 323
4 votes
1 answer
71 views

Where are these "extra" RCPT_TO lines coming from when I send an email via SSMTP?

I've been using SSTMP on a local FreeBSD machine to send stuff like the output of certain cron jobs to my "real" main email account, which is not hosted on the same machine (or even domain). ...
Bob Vesterman's user avatar
0 votes
0 answers
46 views

Postfix - configuration of blocking distribution groups

I'm new to the forum, so I apologize in advance for any mistakes in the post. As in the topic, I have been administering a postfix-based mail server for a long time. Basic configuration. Distribution ...
gab-pro's user avatar
0 votes
0 answers
24 views

Can I put images in an email using a text based email client?

Can I use a text-based email client to embed images in my emails? Outlook is really inefficient and it drives me crazy. But I'd still have to embed emails.
leeand00's user avatar
  • 4,475
0 votes
0 answers
25 views

How to back up email to local filesystem? [duplicate]

I am moving to a different email provider. It will be the same email address, though. How do I back up the full account, all messages and attachments, to the local filesystem so that I can restore it ...
Travis Well's user avatar
0 votes
0 answers
67 views

Can’t send messages in Linux Mint from Kmail to Gmail

Can’t send messages in Linux Mint from Kmail to Gmail. Receiving goes well Received error message: Sending Email failed. Sending message failed. The remote host closed the connection Creating the mail ...
Erwin Lehnen's user avatar
1 vote
0 answers
153 views

Setup mail server in Docker with FreeIPA and Roundcube

I try to setup my own mail server with authentication against a Ldap(FreeIPA). All of them must running within a docker container. I don't know what I'm doing wrong. Maybe it's my ldap configuration. ...
Jayser's user avatar
  • 111
1 vote
2 answers
633 views

Send email via exim4 using port 587

I have configured exim4 and am trying to send out emails using port 587 and the email is being sent but on the mail server it show connecting at port 25. I am using: echo "Subject:Hello All" ...
Shaheena Kazi's user avatar
1 vote
0 answers
166 views

How to prevent sendmail from sending bounce messages to domains in the "To:" headers of received messages?

We are running a Debian Bullseye server that handles the email for our domain. We are using sendmail as MTA. We have disabled relaying and accept email messages only after SMTP authentication. Today, ...
Binarus's user avatar
  • 3,180
0 votes
1 answer
117 views

File is not readable when script is called by cron

This really has me scratching my head. I have a PERL script on a RHEL 7 server that creates an xlsx file via MIME::Lite and emails it to several people. If I run the script from the command line it ...
Chanel's user avatar
  • 59
0 votes
0 answers
135 views

OAuth2 commandline email (receiving and sending)

How does one quickly read and reply to email from the command line when the server requires OAuth2 authentication? Note: I already know about Google App Passwords to get around gmail's OAuth2 ...
hackerb9's user avatar
  • 1,458
1 vote
1 answer
461 views

Which domain is HELO checked against with rDNS? Mail server's domain, even if different from the sender's domain? Or the email sender's domain?

I run a small webserver that hosts a handful of domains which I use for personal and testing purposes. I want to set it up as a mail server as well, and I'm trying to understand the rDNS lookup that ...
billyjoepiano's user avatar

1
2 3 4 5
27