As of May 31, 2023, we have updated our Code of Conduct.

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
0 votes
2 answers
37 views

SMTP Relay - Keep sender SPF valid

We use a email setup (incoming mails) in the following order: Internet -> on premises mailserver (=> attachment filter, antivirus, spam filter) -> forward to Microsoft 365 Exchange Online ...
Robin Reuter's user avatar
3 votes
1 answer
231 views

Postfix doesn't queue outgoing email, but all settings are default. Why?

I've set up a mailserver with Postfix, Roundcube and Dovecot. All works well - almost. In my country there's a popular free email service by the name of inbox.lv. And they have an anti-spam rule set ...
Vilx-'s user avatar
  • 833
-1 votes
1 answer
57 views

Spamhaus blacklisted our mdaemon server IP due to wrong HELO

since two weeks ago spamhaus kept on putting our IP address on the CSS blacklist - we've had few thing to fix from the guideline so we delisted ourselves few times after checking all the requirements. ...
Backi's user avatar
  • 1
0 votes
0 answers
20 views

Gmail not receiving emails sent via ubuntu [closed]

I have a ubuntu 20.04 server running on a vps (ovh) using hestia control panel. My problem is that If I send a mail to gmail address it's not received. All other email services (such as outlook) work ...
Tom Brett's user avatar
0 votes
0 answers
21 views

Server still sending spam despite closing relay with postfix

I have an Ubuntu 20.04.5 LTS with multiple Wordpress website running on Nginx. I installed postfix and configured it to stop relaying emails. I have an antivirus freshclam running. Someone or ...
Henri's user avatar
  • 101
0 votes
1 answer
31 views

Postfix: Can't send mails from another network

I recently set a postfix (+dovecot) mail server (on a VPS) and when I am in my own home network, which I put in mynetworks, I can both send and receive mails. However when I am outside home I can only ...
Tsetsi's user avatar
  • 11
0 votes
2 answers
71 views

Correct hostname/PTR/A for a mail server serving multiple domains?

I am amalgamating a few of my company's Debian VPSs into 1. I will be serving multiple domains, as well as their sub-domains, all of which will send emails, but not receive them (except for bounces): ...
zorkwarrior's user avatar
0 votes
0 answers
25 views

Most Incoming Emails are not being processed by SpamAssassin

Incoming emails are mostly unchecked by SpamAssassin, although we can see in the headers that they were checked with Amavisd-new for viruses. We've tried many things to fix it, including asking ...
Peter White's user avatar
0 votes
1 answer
50 views

Why is my client server unable to send emails over port 587 while a telnet connection to my mail server is possible?

Host cannot send mail over relay host with port 587. I have two servers. One mail server and one server that uses the mail server as a relay host. The client server should send over Port 587. A telnet ...
Tom Krebs's user avatar
0 votes
0 answers
31 views

Sendmail and hostname config for another domain

The following example with fictional names describes my situation: External mail service mailservice.com DNS entry my.server.com points to the server publicly The server should send e-mails from ...
Kalsan's user avatar
  • 131
0 votes
1 answer
29 views

Postfix/Dovecot Not receiving external emails in Ubuntu 16.04

I have read all of the threads and can't figure out what is the problem. I can send emails. I can receive emails from my localhost and my other email names of the same domain, but I cannot receive ...
Don40's user avatar
  • 103
1 vote
2 answers
61 views

How to provide /etc/aliases / .forward functionality in the current anti-spam environment?

The actual problem I'm having: My email server (exim, but it hardly matters for this), which I've been running for years, forwards email via /etc/aliases (i.e. board@foo.com points to ~5 people) and ...
rlpowell's user avatar
  • 203
0 votes
0 answers
86 views

Unable to send emails from Postfix via Gmail (connect to smtp.google.com: Connection timed out)

I want to configure a Ubuntu Linode VPS to send log information from Fail2Ban, Apache ModSecurity and other monitoring tools to my email address. However, I don't want to configure a whole email sever:...
LeperAffinity666's user avatar
-1 votes
1 answer
89 views

Exchange returned '441 4.4.1

some emails sent from my exchange server 2013 return this error: Sometimes I check the mail flow and emails that have this error "returned '441 4.4.1 Error encountered while communicating with ...
ldxd's user avatar
  • 1
0 votes
1 answer
50 views

Why is procmail saving my emails with a format like .{x}AA1?

I'm simply trying to save all incoming emails to a folder so that I can have a watchdog script comb through and parse the attachments in various ways as changes happen to the folder. We'll call this ...
Fiattarone's user avatar
0 votes
0 answers
22 views

incoing email error delivered to delivered to mydomain.localdomain

I am transferring my mail server to a new VPS and it has not been as easy his time. I have changed all the IPs and set Reverse DNS on the new VPS. I have set the hostname in /etc/postfix/main.cf and ...
mr buffy's user avatar
1 vote
3 answers
79 views

sendmail: server shows failures due to bad client certificate

My sendmail server (FreeBSD, compiled against OpenSSL) is refusing to negotiate TLS with one particular set of clients. Log messages look like this: sm-mta[92474]: STARTTLS=server, error: accept ...
Jack Brennen's user avatar
0 votes
0 answers
32 views

Best Practice - SMTP Time Out

Good Day, The question is quite straight forward. What should be a best practice to time out a SMTP connection on the RECEIVING side? Background: We are currently having an issue with a sender that ...
pSyToR's user avatar
  • 101
0 votes
0 answers
28 views

Dovecot: mark messages loaded over POP3 as read

The task is to make messages delivered over POP3 marked as read while also keep them on server (even if DELE command issued by client) and accessible over IMAP. There are two exim config options: ...
Mikhail Karakulov's user avatar
0 votes
0 answers
11 views

Exim.conf Redirect email to an another folder

I am trying to redirect/route incoming emails to another folder depending if they are listed inside the /etc/email_list file (ON/OFF). I am unsure how would I approach this, I am clearly messing ...
HorrorPills's user avatar
0 votes
1 answer
38 views

Migrate webserver without affecting mailserver

Currently I have a website example.com that's hosted on some old service provider. I'm moving it to a different service provider I use. I need the mail to be accessible via Outlook using the existing ...
Resley Rodrigues's user avatar
0 votes
0 answers
26 views

setting up SPF for multiple issuers, both A & MX records

A couple of VPS have postfix installed that are set-up as send-only, both with identical 2nd-level domains. Assuming that the VPS plus an external MX server handles mail for the domain, the folloinw ...
Jerome's user avatar
  • 207
0 votes
1 answer
64 views

Strange attempted emails from Cron

I use Zoho for my email client and last night I got a couple of notifications saying: Warning! Unverified sender. The system could not verify if this email was sent by root@servername.com. Do not ...
Steve K's user avatar
  • 125
0 votes
0 answers
55 views

Investigate O365 mail redirection

Emails got redirected to another mailbox. need to investigate how it was done, who did it, when it started I have looked up in O365 Exchange online, but not able to see any options/reports for this ...
ppau2004's user avatar
0 votes
0 answers
28 views

Sendmail Partial Delivery On Some Emails

I have three mail users. Each successfully send and receive mail. There is a single repeated problem email, a Web Form Notification sent from an Amazon server which is sent to all three mail users. ...
Dorothy's user avatar
  • 179
0 votes
1 answer
134 views

how to switch from outgoing port 25 to 587 in postfix

I would like to send a mail to a gmail address: echo "This is the body of the email" | mail -s "This is the subject line" user@gmail.com That is what I see in the logs connect to ...
laplasz's user avatar
  • 135
0 votes
2 answers
181 views

How to disable AD account without deleting user's mailbox in Office365?

One of our users recently switched roles to a new position where they will not need computer access anymore, except for checking emails. I need to disable their AD account while not removing their ...
justdoingmyjob's user avatar
1 vote
1 answer
32 views

Reject emails from a subdomain in Exim4

Is it possible in Exim4 to reject emails sent to a subdomain, eg sub.example.com? A user has started a loop that is sending too many emails to the server, which generates the error "refused: too ...
Tom's user avatar
  • 269
-1 votes
1 answer
66 views

mail relay routing FROM domain with dkim

Current setup First of all i must say that im so so (read like "nothing know") in things like postfix or open dkim. We have many domains on our exchange (realy a lot). and thats work like &...
Dopler's user avatar
  • 1
0 votes
0 answers
61 views

Postfix/Dovecot - Initial Configuration - Can Send, Can't Receive - No Error Message

My configuration allowed me to both send and receive email. I followed a guide on configuring SASL for Postfix/Dovecot. Once done, I again cannot receive email, with the exception of users on the same ...
Anthony Mallgren's user avatar
1 vote
1 answer
69 views

Postfix/Dovecot - Initial Config - Test Email Results - 554 5.7.1 Client host rejected: Access denied

I sent an email successfully. Can't say the same for receiving. When I attempt to, I get an email saying that the message was blocked with the following diagnostic code: Diagnostic-Code: smtp; 554 5.7....
Anthony Mallgren's user avatar
0 votes
1 answer
95 views

How to add a confirmed O365 domain as an Exchange Online accepted domain?

A little background on our AAD/O35 tenancy: We have domainA as our primary domain. This is used for SSO, our primary email addresses, etc etc. We acquired another business. One of their domains (...
ltwally's user avatar
  • 315
0 votes
0 answers
100 views

Configuring Google Workspace (Gmail) to trust a Mail Relay via ARC?

I am building a system which modifies incoming emails body on the fly (for example, it deletes attachements with viruses). Of course, I break the DKIM signature when there is one. Is it possible to ...
user37220's user avatar
  • 225
1 vote
2 answers
197 views

How to disable an Exchange 2016 mailbox and forward anything sent to it

fyi i would consider myself an exchange-noobie Ok, the scenario is: User left the company, but still gets a lot of mails sent to their mailbox. The AD User-password has been changed so they no longer ...
fraenzz's user avatar
  • 13
0 votes
0 answers
83 views

Using spamassassin + dovecot/postfix, how do you block messages from a blacklisted address instead of route to junk folder?

I have set up an email server using a wizard tool, although I was hoping to alter the default behavior configuration such that when I receive emails from addresses I explicitly blacklist, those ...
T. Zack Crawford's user avatar
1 vote
0 answers
62 views

What are my server-side options for scanning email attachments for words and phrases?

I currently run an email system with Postfix/Dovecot and I am looking for a way to scan the contents of attachments (mainly doc(x) and pdf) for certain words and bounce the email back to the user with ...
Mark's user avatar
  • 11
0 votes
0 answers
54 views

postfix: Configure address for MAILER-DAEMON

I have setup postfix on my Debian server to send emails (my website uses PHP Mail() to send notifications to its users). I observe that on failed deliveries, the system tries to send the notifications ...
f10w's user avatar
  • 113
0 votes
1 answer
50 views

DKIM and how it relates to DMARC reports

I've been tasked with setting up DKIM, SPF and DMARC for a business. I come from more of a development background, so as a result, I've been a bit confused on how to interpret the DMARC reports I'm ...
wooters's user avatar
  • 101
0 votes
0 answers
22 views

How to set up unusual Posfix mail forwarding: if in A mail for B, resend it to C

I have several Ubuntu servers as Mail-servers. How to configure the following configuration with POSTFIX: if in mailbox user1@domain1 arrived mail for user2@domain2, resend it to user3@domain3. user1@...
Fax Iv's user avatar
  • 1
0 votes
1 answer
71 views

opendkim-testkey: key not secure (file permissions are good and TrustAnchorFile config setting is set)

If I run sudo opendkim-testkey -d mydomain.com -s selector -vvv, I get opendkim-testkey: using default configfile /etc/opendkim.conf opendkim-testkey: checking key 'selector._domainkey.mydomain.com' ...
Robert K S's user avatar
0 votes
1 answer
126 views

Emails delivered, but no where to be found

I have been working on this for 2 days now and am desperate for some help. Postfix & Dovecot CentOS Linux release 7.9.2009 Plesk 18.0.50 For the most part emails are flowing into the server ...
Luke Pittman's user avatar
0 votes
0 answers
43 views

Postfix - How to send bounces only to postmaster?

I have an internal Postfix server where bounces are intentionally discarded (not recommended in general but needed for my use case). I would like to enable it temporarily but only to the postmaster, ...
yair's user avatar
  • 121
1 vote
0 answers
72 views

Emails sent with Perl NET::SMTP through Exim and then Postfix slow down when coming from one particular server

We have several servers set up on Debian 11 (Bullseye). One of the processes we run on all servers at regular interval during the day, with cron, is a perl script that reads from a MySQL database and ...
InLibrolivier's user avatar
3 votes
2 answers
148 views

Changing hostname for the purpose of email delivery

I have email delivery issues, and MXtoolbox says "Reverse DNS is not a Valid Hostname". I have A and AAAA records for domain.com and mail.domain.com. The data center has set up reverse DNS ...
Mikkel Rev's user avatar
0 votes
1 answer
33 views

A client-centric account backup and transfer option from many IMAP accounts into Dovecot?

I've got a scenario where I need to retain a live backup of over a dozen email accounts and within the next several months these accounts will need to be migrated over to a Dovecot. I became curious ...
ylluminate's user avatar
  • 1,153
2 votes
1 answer
75 views

Getting IP suitable for email server

I am trying to use a VPS to host an email server using postfix. OpenDKIM and certbot was used to get DomainKeys and TLS. The data center setup reverse DNS. In case it matters, the IP is 188.68.231.119....
Mikkel Rev's user avatar
-2 votes
1 answer
64 views

MX Record, POP3 Server, Port 110

I have setup my DNS for my domain name and have a POP3 server on my VPS. Now, I want to a run a POP3 mail server without SMTP just to receive emails It will run on port 110, the POP3 port of my VPS. ...
Sugumaran Veejakumaran's user avatar
0 votes
1 answer
352 views

What exactly is Return-Path and who sets it?

This article (https://www.sparkpost.com/resources/email-explained/return-path-explained/) explains "Return-Path" as follows: When an email doesn’t make it to its intended destination, the ...
Myzel394's user avatar
  • 101
0 votes
1 answer
1k views

Can't setup Exchange account in Outlook

I'm trying to add a new account to Outlook but the wizard gives me an error: Log onto Exchange ActiveSync Mail server (EAS): The server cannot be found. The username or password you entered isn't ...
Martin Walter's user avatar
0 votes
0 answers
18 views

Postfix Forwarding to two different Mail Servers

I have a scenario where a Mail Server A.example.com has to forward all emails received on @xyz.com to be forwarded to B.example.com and C.example.com. What is the appropriate Postfix configuration for ...
GeekTantra's user avatar

1
2 3 4 5
133