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

Allow Postfix virtual domain to only send mail to a specific domain

I would like to add a virtual host/domain with several mailboxes on postfix where the users can only send mail to addresses with a specific domain hosted on the same postfix instance. The scenario ...
0
votes
0answers
11 views

How can I add 'email scanned for viruses' to the emails

I have a small, Opensuse-based computer for my family, which includes GUI, Postfix, amavis, clamd & spamassassin. I noticed that Amavis adds a line among the hidden headers: X-Virus-Scanned: ...
0
votes
1answer
19 views

Custom user access to Zimbra webmail

I know it's a specific topic, but it could be broadened to a more general context. I have a Zimbra mail server on CentOS, only used via webmail, where i need to differentiate user capability to login ...
0
votes
0answers
6 views

Why doesn't ddclient's mail notifications recognise smtpd's aliases?

I've configured OpenSMTP's aliases, with /etc/smtpd/aliases containing: root: pi pi: pi, foo@bar.com Hence, emails to root redirect to pi; those are then duplicated to an external email address. ...
2
votes
1answer
18 views

Mutt mail - read / unseen flag not syncing with server

Mutt is connected to a Gmail address via IMAP. When a new message arrives, quite rightly it is marked with 'N' within the index. Reading the email, this flag is removed ... however any other clients ...
0
votes
0answers
12 views

Pipe email through translation program and save results to mailbox

My mail service uses exim to filter mail and I have some experience putting in various conditions in my .forward file. However, I have a more complex problem that I don't know how to solve. ...
0
votes
0answers
16 views

Dovecot Sieve and MS Outlook

I am looking for some guidance using managesieved with MS Outlook. I am using dovecot as my IMAP server. I was hoping to configure and use managesieved with MS Outlook to store any rule on the server. ...
0
votes
0answers
6 views

Postfix, sending email wrong server

Sorry for the title, I can't find a small sentence for my issue... I configured postfix on my debian 10. I can connect to it using my username/password using telnet and send/receive email. But when ...
1
vote
1answer
52 views

Send Email with table format body from a text file

I have a text file which is generated by some process. The file has 5 columns and 3 records as of now. The number of records can increase later. I want the simplest way to convert those rows and ...
1
vote
1answer
24 views

Desktop Environment - Linking a webmail address as the 'preferred email application'

In the desktop environment I can choose any of a number of installed email clients the 'preferred application' to read and send email, by linking the clients associated executable file. Is there a ...
0
votes
2answers
71 views

sendmail - sendmail using relay (Why it doesn't work?)

I am trying to configure configure sendmail to use a relay. I've tried several procedures, but I don't know why it doesn't work since the same relay is used by other services and it works. Below is ...
1
vote
1answer
55 views

Mutt sidebar: switching accounts only appends mailboxes

I have Mutt set up to switch to different accounts using a macro which works fine, but when I switch the Sidebar simply appends the folders of the account I'm switching over to below the folders of ...
0
votes
0answers
29 views

call a file in exim filter

Hi I have hundreds of exim filter conditions as below. each condition block has 2 white listed domain as @safedomain1.com and @safedomain2.com. I want to be able to create a file e.g /etc/...
0
votes
1answer
35 views

How do I find what program is sending an email from a linux server

We have inherited a RHEL server and it is continually trying to send e-mails to defunct email aliases. Is there any way of finding out what program is sending the emails?
0
votes
0answers
19 views

How set Mutt so I can attach 0 bytes -empty- files?

Currently it seems that Mutt send only the files with content inside. How can I allow Mutt to send my empty, 0bytes, plain's textFile along the others file? Here my current Mutt's command, it ...
-1
votes
2answers
116 views

Bold a text in Bash

I have a sample script here I want to bold the word BOLD in the text and send through email. Tried several ways but not seems to working. BODY="Hello. I want to BOLD this" { echo "From: from@...
1
vote
1answer
70 views

install Thunderbird extension globally

in Thunderbird, I can go to Add-ons manager, search for extension, and click on Add to Thunderbird to install it. But I have multiple Thunderbird profiles, and installing every extension in every ...
0
votes
0answers
17 views

How do I configure fdm to delete mail from the server?

I've managed to get fdm running so it delivers email. I can't seem to figure out how to get it to delete the mail from the server once it's been delivered (as I can using getmail). How can I achieve ...
0
votes
0answers
9 views

How to add additional email validation rules by a python/perl script in Postfix?

In main.cf I have multiple restrictions, as usually: smtpd_NNN_restrictions = # ..... # ..... I want to be able to use an additional python/perl script in each section to make the final ...
0
votes
1answer
20 views

Setting up smtp server for local use only

So I have a security cam that will send out an email notification anytime motion is detected. I got this to work with gmail and it will properly send out an email. However, I don't want to use gmail ...
1
vote
2answers
35 views

Find a file and send email

I want to find a file for every 60sec. If the file exists between the time range then an email should trigger. i tried below but not working. Apprecite your help ! THanks Advance #!/bin/sh cd /my/...
1
vote
2answers
138 views

Send mail on change of line in log file, tail -f piping to mail doesn't work

I have a nginx access.log There is very infrequent traffic, so I want to get a mail on each access. I've tried tail -f access.log | cat That works. So piping with tail seems ok. With following ...
0
votes
0answers
21 views

Postfix virtual alias regular expression with variable

When using a regex virtual file, is it possible to use variables in the first section of the regex and use them in the second part? E.g., considering the example below: /^$1-fake[0-9]*@domain.com/ $...
0
votes
0answers
34 views

Extract mail message body by sender name

I'm working on a bash script that's supposed to accept a string containing a mail message, find out its sender (name and/or address, e.g. "John Johnson <john@podunk.com>"), and then write every ...
2
votes
1answer
111 views

Extract mail header and decode MIME encoded-word

As part of a script, I want to take a file containing an email and extract a header, e.g., the subject header. The following almost works: formail -c -x subject < FILE But it does not decode ...
2
votes
0answers
13 views

configuring thunderbird to run a given executable on each email recieved as an alias

On my Linux/Debian/Sid/x86-64 desktop ours.starynkevitch.net my favorite graphical MUA is thunderbird version 68.2 I don't want to install an MTA locally then use procmail. My thunderbird is ...
0
votes
1answer
48 views

Attaching multiple files using bash and emailing it out using SWAKS or another program

I'm trying to: Attach multiple files into one email. Have the email sent out using a Gmail account with the current date and time in the subject header. I'm having trouble with the for a loop ...
-3
votes
1answer
179 views

access mail inbox using python

I'd like to write a python script that access my email at work (it's accessible from anywhere). So, we're using a browser-based email client called OWA, here's a small documentation of that (https://...
0
votes
1answer
48 views

How do I prevent scrolling to the next email when I mouse scroll in mutt. mutt in Centos 7

mutt in Centos 7 I write this to help others as the articles I found were a mess and did not explain properly. So when I am in an email in Mutt and I naturally scroll out of instinct, mutt sends me ...
0
votes
1answer
26 views

Is there a simple way to send many emails that fit a template?

I have a csv file ~/data.csv whose content looks like this: | name | email | code | |-----------------+-------------------------+------| | Lennon,John | john40@...
0
votes
0answers
42 views

SMTP Error: [451] 4.3.0 Error: queue file write error in roundcube

as stated in the title, my roundcube (mail-server setup with mailcow with docker) generates this error-message. It pops up whenever I try to send any mail and I do not receive any more mails. I'm ...
0
votes
1answer
29 views

I want to configure postfix to use a relay smtp server, so that drupal uses postfix, but I don't know how to do it and I'm trying all I know

Objective I want to be able to send emails with drupal 8 using postfix. The latter is configured to use a relay server. For example, I'm using the module webforms, so I could test the sending of ...
0
votes
0answers
9 views

email client that has the ability to add follow up flag while sending an email

I am trying to create a shell script that monitors logs for a certain condition and when the condition is met i want to send an email. The requirement here is to set a follow up flag so that the email ...
0
votes
0answers
20 views

How to install and config several domain to use SMTP server using Ubuntu

I am using Ubuntu 18.04 server. lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.3 LTS Release: 18.04 Codename: bionic With Apache2 apache2 -v ...
0
votes
0answers
28 views

“Permission denied” for a custom content filter in Postfix

I've created a simple content filter as a python script, for Postfix: $ ls -al /home/main_user/test1.py -rwxr-xr-x 1 vmail2 nobody /home/main_user/test1.py In /etc/postfix/master.cf I have this: ...
0
votes
1answer
28 views

Invoke procmail on spool file using new .procmailrc?

I've recently configured new .procmailrc and .forward files to work with our Postfix mail server. I've tested it with new Emails, and the new .procmailrc is properly filtering and forwarding as ...
1
vote
1answer
21 views

How to tell sendmail to send out all mail using Mandrill smtp, smtp port, username, api key?

How to tell my CentOS sendmail to send all the mails of my incoming SMTP using following credentials (which is a third party service, who deliver my mails)? Host smtp.mandrillapp.com Port 587 SMTP: ...
-1
votes
1answer
58 views

Help in debugging Exim4 SMTP AUTH 535 Incorrect authentication data

I followed this guide to set up TLS and auth. I have a username (usr) and a password (pwd) set in /etc/exim4/passwd and the files has the right permissions: -rw-r----- 1 root Debian-exim 51 ...
1
vote
0answers
20 views

How to create my own simple autoresponder for Postfix with custom conditions?

Postfix/Dovecot I want to create my simple custom autoresponder for Postfix, in Python, for instance. I don't need any third-party ready-to-user one. I want it to have some custom conditions such as ...
3
votes
2answers
141 views

Bugzilla error: Can't locate object method quit via package “Net::SMTP::SSL” line 365

I installed Bugzilla on my CentOS 7 web server VPS. The install went smoothly, however when I went to set up email, I received the following error: Can't locate object method "quit" via package "...
1
vote
0answers
22 views

Mail command limit

I configured swatch to send alerts about threats through "mail" command. The problem is that it is sending me many same alerts, for example while I'm testing ping I can get like 8 e-mails etc. Does ...
1
vote
1answer
64 views

Send System Emails without MTA on VPS

I'm using a third party mail server to receive/send emails for the domains hosted on the VPS. They provide MX, TXT, CNAME records (without any IP address) to add in the DNS zone file for each domain, ...
0
votes
1answer
88 views

Tell mutt email client to leave mails on server and _not_ download them again next time?

Mails from my account are fetched using the POP3 protocol using the mutt email client. Will it is desired that mutt downloads the (new) mails (for having them available offline), those mails shall ...
0
votes
0answers
21 views

How can I easily confirm domain ownership via email using only self-hosted solutions?

I'm trying to configure many self-hosted solutions and every one of them require SMTP email configuration info (for notifications) I own multiple subdomains for my main domain, and also I use ...
4
votes
1answer
442 views

Complete setup of Exim4 as SMTP to reach most inboxes as possible (correct configuration)

I have over the last days tried to setup Exim4 to handle all mails sent from a web application. It seems to be working, but I haven't found out how to hardcode the hostname which will be sent with ...
1
vote
0answers
51 views

Possible to make mbsync (isync) update multiple multiple IMAP folders at once?

When running mbsync -a, it goes over each folder, updating it. This gets slow if you have many folders (20+ for e.g.). Is there a way to update multiple folders at once?
0
votes
0answers
18 views

Embed a Windows shared clickable path in the mail

want to send a mail by embedding a clickable link to a shared windows NAS path. I checked solutions where we can use something like "<html><body><a href= But I am not sure how to put ...
-3
votes
1answer
69 views

Can shell-scripting help secure a client-side email address? [closed]

I have a website with a client-side HTML contact form created manually (not as output of an HTML constructor like PHP): <form action="mailto:someone@example.com"> Email Adress:<br> ...
0
votes
1answer
36 views

Exim4 - set EHLO to mail from domain

How to set EHLO to the domain in the from/envelope-from domain? The SMTP server will send mails from different domains like @mydomain1.com, @mydomain2.com etc How to set the EHLO to the specifik ...
2
votes
1answer
142 views

Script bash, need to send mail if condition

I need to send an email only if a condition is reached, but I'm having error running this script: file='/somewhere/here/file.txt' value=$(cat "$file") if [$value < 99]; then echo "$value" | ...

1 2 3 4 5 23