Questions tagged [email]

The server configuration of email, including POP3, SMTP, IMAP, and popular server software packages that control email.

Filter by
Sorted by
Tagged with
-2 votes
0 answers
22 views

Could not connect to SMTP host

I have a VPS server I have a postfix mail server running on that VPS server (I installed it via command line using a tutorial) I have an SMTP server running on that VPS server I also have the required ...
user avatar
1 vote
0 answers
20 views

Postfix inline regexp lookup table

According to the manual regexp_table(5) section INLINE SPECIFICATION there is a possibility to write the regexp lookup table inline. INLINE SPECIFICATION The contents of a table may be specified in ...
user avatar
0 votes
0 answers
38 views

Postfix not getting emails from Microsoft domains

I run a postfix mail server. It's been up for a while, and works perfectly in most cases. MXToolbox reports no errors, my domain isn't blacklisted, and Gmail addresses can interact with my server ...
user avatar
  • 1
0 votes
0 answers
26 views

Postfix sending from root@server even when From: specified in header, mail not being delivered

I'm writing a bash script that will email an alert when various system resources are used beyond a certain threshold. I've set the script to make the first line of the email body "From: ALERTS ...
user avatar
0 votes
2 answers
48 views

How do i use the mail CLI?

I want to make a simple bash script that curls websites and sends out an email if the HTTP_Code is above 299. I am not very fond of the mail CLI tool. I want to use a SMTP Server to send the ...
user avatar
-1 votes
0 answers
25 views

Regex matching in email headers - intended lines

This negative lookahead successfully blocks all but the selected domains most of the time in a postfix based mail server: /(Received:)(?.*!(\.(net|com|edu|gov|org)).*)/ DISCARD eg Received: from ...
user avatar
2 votes
1 answer
252 views

Gmail does not accept mail from a new VPS server with PTR setup

I have PTR records setup but I am not able to deliver mail to Gmail accounts: host gmail-smtp-in.l.google.com[2607:f8b0:4004:c08::1b] said: 550-5.7.25 [2a01:4ff:f0:a7b6::1] The IP address sending ...
user avatar
  • 123
0 votes
0 answers
33 views

mail on unit failure by systemd services

I have a system based on Raspberry Pi 2B and Ubuntu Mate running an application for controlling the humidity and temperature of a greenhouse. One of the programs is critical so, following the ...
user avatar
2 votes
1 answer
132 views

Postfix - how to set a message ID?

I have multiple applications using one Postfix instance connecting through SMTP. Some clients set a message ID and some don't. What I'm trying to do is to let Postfix set its own unique message ID, ...
user avatar
  • 5,219
6 votes
2 answers
589 views

How can I create and update the existing SPF record to allow more than 10 entries?

How can I include another SPF record if my existing domain already has 10 lines of SPF records in the TXT record? I wanted to add these two: include:mailgun.org include:sendgrid.net This is my ...
user avatar
-2 votes
0 answers
38 views

block a user from sending emails using your domain after allowing him

using postfix and saslpasswd2 a user can receive and send emails using his Gmail account as user@mydomain.com removing his address from /etc/postfix/virtual blocks him from receiving emails, but how ...
user avatar
-1 votes
0 answers
38 views

Why is some mail not getting through after reinstalling the mail server?

Good afternoon! After reinstalling the mail server to a new ip-address, problems with mail delivery began. From time to time, users complain about the inability to send letters to recipients to whom ...
user avatar
0 votes
1 answer
30 views

MAILTO not adding mails to queue until 9pm

I'm using postfix on CentOS to send out mails from crontab (using MAILTO=). The mails do send, but only at 21:01, regardless of the time that the cronjob ran. If I run multiple jobs, all of the mails ...
user avatar
0 votes
0 answers
55 views

How long does it take to be deblacklisted from gmail

We provide a real estate agency in France with a mail server configured with poste.io. In this change of semester, they have sent a high number of mails mails representing invoices, reminders, etc., ...
user avatar
0 votes
0 answers
41 views

postfix relay - send message to a non-existing mail address does not fail

I have a docker-mailserver with a relay on a tiers server (Oracle cloud email delivery). When I send a message to a non-existing address (e.g. to gmail), I get a Code 250 Ok Sent (should not it be a ...
user avatar
  • 1
0 votes
0 answers
36 views

Peer to peer asynchronous delivery with postfix?

I want to privately peer-to-peer send emails between me and my friend's self hosted personal email servers. How can I make sure a message from me (A) gets delivered to my friend (B), if me and my ...
user avatar
0 votes
0 answers
21 views

postfix incorrectly redirects external emails (different domain to my own) to a user on my server @ my host name but sendmail test works

Problem postfix will succesfully send emails which have the same domain name ending as the server itself emails that have a different domain name like ending in gmail.com don't get through In both ...
user avatar
1 vote
0 answers
90 views

How to Fix Microsoft Exchange incoming emails always failing with DKIM bodyhash mismatch

I am noticing on our servers that since we set DKIM to reject failures on Exim (v4.95) that a LOT of genuine emails are being rejected. Looking at the Exim rejectlogs we see that persistantly these ...
user avatar
  • 177
0 votes
1 answer
32 views

Two identical Debian boxes, only one delivers cron output in /var/mail

I have two Debian 11 boxes with cron and postfix installed. Both seem to have the exact same config (but probably not) and one of them does deliver cron output to the correct /var/mail/user file and ...
user avatar
-3 votes
1 answer
58 views

How to configure Postfix with new gmail authentication?

Gmail past month has disabled the classic authentication method called "non secure access". Before basically it was enough to configure SMTP smtp.gmail.com and access credential in main.cf. ...
user avatar
  • 205
10 votes
2 answers
2k views

Does the email size limit include the size of the body?

(If there is a better place to ask this, let me know.) A lot of email servers limit the combined size of files attached to incoming emails. Like, for example, maybe some email server disallows ...
user avatar
3 votes
1 answer
347 views

Should mail servers avoid sharing /64 ipv6 with others for reputation?

I've set up Mailcow on a server that has dedicated ipv4 but not /64 ipv6. I'm not quite sure how the reputation of the mail server is calculated. But I know that usually a device should get a /64 ...
user avatar
0 votes
1 answer
43 views

Configuring Exim to relay messages to an Office 365 server in Debian

Our company recently migrated from an on-site exchange server to Office 365. As a result of this, I need to update our proxy server to relay emails generated by our applications to Office 365. We are ...
user avatar
  • 129
0 votes
0 answers
10 views

cyrus imap: folder subscriptions lost after upgrade - how to get them back?

I upgraded my system from Ubuntu 18.04 to 20.04 and as part of that, cyrus-imap was upgraded to 3.0.13-5. Unfortunately, all users lost their folder subscriptions and thus, the subfolders to not ...
user avatar
  • 101
0 votes
1 answer
68 views

Why is email sent from my AWS SES server cannot arrive on corporate-domain email, but arrive on mail service such as Gmail?

The summary: email from SES did not arrive at user's corp domain email. email from SES arrives at my corp domain email but is hosted at Gmail. email from my private Gmail arrives at user's corp ...
user avatar
0 votes
0 answers
27 views

Is it possible to only generate mail notifications for some reject/defer codes in Postfix?

I run an SMTP server for important email. I'm relatively confident with my configuration at this point, but I still want to minimize any accidental mail loss; in case of any errors, all of my ...
user avatar
  • 300
0 votes
1 answer
21 views

Dovecot + Sieve - match is false when it is clearly true

Dovecot version 2.3.16 (7e2e900c1a) Ok I have a problem with this: if address :is :domain "From" "test.net" { fileinto "INBOX/Test"; stop; } And the thing is that this is ...
user avatar
  • 61
0 votes
1 answer
50 views

Mail domain share (iRedMail with Postfix and Gmail)

I'm trying to se up a mail server for a shared domain: half of the mailboxes are hosted on Gmail and the other half on a local server. I installed iRedMail 1.6.0 and configured Gmail to send all ...
user avatar
0 votes
2 answers
67 views

How to make Postfix listen on few IP addresses with correct certificates?

I've got problem setting up postfix to listen on few (3 actually) IP addresses, on port 25, using correct SSL certificates. Background: I'm using Debian 11, with Postfix (v 3.5.6 from repo)/Dovecot ...
user avatar
0 votes
1 answer
24 views

"Certificate is bad" in exim smarthost setup

I am configuring a local exim instance to use an existing server (also exim) as a smart host relay. This is as verbose as the logs seem to be: 2022-06-11 23:59:35.745 [767692] SMTP connection from [...
user avatar
  • 11
0 votes
0 answers
33 views

Best way to bypass 'VPN' port blocking for SMTP and IMAP on iOS

I live in a country that requires a VPN to access most of the internet. My email is hosted outside of this country. The VPN provider provides Shadowsocks proxies which when wrapped in Shadowrocket on ...
user avatar
0 votes
1 answer
24 views

postfix loops back to myself email issue (was working before apt upgrade Ubuntu)

Everything was working normal till apt upgrade on Ubuntu 20.04 LTS, don't even remember what was upgraded, just routine, didn't change any config... I really tried to fix, searched, but I don't know ...
user avatar
  • 103
0 votes
1 answer
45 views

Postfix send email through internet instead of sending through local for same-domain addresses

I have multiple email servers for the same domain, one is a send-only postfix server and one is a email suite hosted by Zoho, but when I try to send an email to an address hosted by zoho it will try ...
user avatar
  • 3
0 votes
1 answer
111 views

Network Solutions DNS not always returning DKIM and SPF records

If there is a more appropriate place to ask this or it is a duplicate, please tell me. I have a client who hosts their domains with Network Solutions. Some of their emails were bouncing due to ...
user avatar
0 votes
0 answers
28 views

Particular Email DB In Users Folder In Roundcube

I am trying to make db for every particular mail in user folder but when I use getenv('HOME') and getenv('_RCUBE') it shows me unable to connect with db. This is how I use it $config['db_dsnw'] = '...
user avatar
-1 votes
1 answer
54 views

Courier fails to save copy in sent folders on emails with large attachments

I use postfix and courier on my email server on debian 11. Whenever I send an email with attachments larger than a few MB (I use a slow cellphone-connection), it fails on saving the copy in the Sent ...
user avatar
  • 2,272
1 vote
1 answer
92 views

postfix removing body of bounced messages

I've noticed for messages that fail to deliver with postfix, the body of the message is removed. Here's an example (real emails replaced with temps): --5F54EFCA0A.1653443634/MYDOMAIN.COM Content-...
user avatar
  • 111
0 votes
0 answers
87 views

DKIM: validation error: error:RSA_padding_check_PKCS1_type_1:invalid padding

We receive a lot of spam on our servers from 3rd party servers and often this spam includes the email header such as: DKIM: validation error: error:0407008A:rsa routines:...
user avatar
  • 177
1 vote
1 answer
67 views

Local Mail Transport Protocol (LMTP) spam?

Our sever receives a fair bit of spam, most of this is standard spam but looking at the headers of some spam we get directly it seems to show that the mail is received by the LMTP (Local Mail ...
user avatar
  • 177
0 votes
1 answer
59 views

Strange Exchange send-connector behaviour

Can anyone explain this? Two Exchange servers, EX1 (2010, yes, I know) and EX2 (2016). Both are in the same IP subnet. A send connector on EX2 with a scope for 'domain.com' routing through a ...
user avatar
0 votes
0 answers
35 views

Dovecot Mail-Crypt plugin using users password from userdb

I've been looking into encrypting the emails on my Dovecot server to provide actual secure storage of emails (Based of users passwords, naturally). Problem is that it seems that even though Dovecot ...
user avatar
  • 1
0 votes
1 answer
90 views

How to prevent 3rd party domains using our server/domains for email envelopes

We recently received a whole bunch of notification emails stating an email that apparently originated from our servers was blocked for being spam, but we can't find the source emails on our server, so ...
user avatar
  • 177
1 vote
0 answers
70 views

Some of my emails do not get to clients without a warning

I send emails from the web interface of Gmail Workspace (business email). Most of the clients receive my letters just fine. But some of the clients only receive messages with text and images. Messages ...
user avatar
  • 111
0 votes
0 answers
33 views

Postfix accepts all incoming mail but drops all outgoing mail

We are running a Mailman server and for testing purposes I would like to configure postfix on that server to accept all incoming mail but delete any outgoing mail. How can I do this? Note: "...
user avatar
  • 2,591
1 vote
1 answer
101 views

Setup postfix exclusively for local delivery

For development purposes I wanted an smtp server, that simply places all mails into a local mailbox. To achieve this, I tried to setup a minimal postfix system. # master.cf smtp inet n - n ...
user avatar
  • 111
0 votes
0 answers
150 views

How do i found a barracuda custom spam rule: BSF_SC0_TG035b META: Custom Rule TG035b

For some reason we get delivered to the spambox at the providers outlook & hotmail. The reason we see in the deliverability report are the following rules: BSF_SC0_TG035b META: Adjusted rule ...
user avatar
-2 votes
2 answers
125 views

How to protect email addresses after domain name expires?

I'm thinking of creating a website for a friend. This includes registering a domain name and setting up a couple email addresses (myfriend@myfriend.com, etc.) If the friend doesn't maintain the domain ...
user avatar
  • 107
0 votes
1 answer
21 views

Mail is not sent via php mail() on CentOS7 DirecAdmin Exim php fcgi

I spent the whole day trying to fix this problem, so I decided to share. Maybe it will save someone time) Problem: Mail is not sent via php mail(); The Exim log shows nothing. System: CentOS7 ...
user avatar
0 votes
0 answers
103 views

Which to use in List-Unsubscribe header?

I followed this link to add my unsubscribe email header as below, /^Content-Transfer-Encoding:/i PREPEND List-Unsubscribe: mailto:<sender-email-address>?subject=unsubscribe>" so that the ...
user avatar
-1 votes
1 answer
36 views

How Does Email Forwarding Works In Customer Support Ticketing Systems?

When you sign up for customer support ticketing systems like Zendesk they provide you with a unique email address something like support@mygoodshop.zendesk.com where you can forward emails from ...
user avatar

1
2 3 4 5
130