Questions tagged [email-server]

Refers to the hardware or software that make up a server dedicated to sending and receiving emails. Many popular modern email servers bundle other functionality for contacts and calendaring along email delivery.

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

What is meant by "Message sorting optimization records" in dovecot index?

Dovecot documentation here "https://doc.dovecot.org/developer_manual/design/indexes/index_file_format/#main-index" says that "Message sorting optimization records" are stored in ...
Ayush Gupta's user avatar
0 votes
0 answers
7 views

What is difference between uidvalidity and list index file in dovecot?

Dovecot's document notation says that uid-validity file store IMAP UID to filename mapping but it also says list.index file also store same. If it's so what is need of two files.
SUNITA GUPTA's user avatar
0 votes
1 answer
17 views

In postfix can I mention sender access map in client restriction?

It's a question out of curiosity rather than necessity. What should happen say I place sender access map inside smtpd_client_restrictions and also place client access map in smtpd_sender_restrictions ...
SUNITA GUPTA's user avatar
0 votes
1 answer
38 views

In postfix how parent_domain_matches_subdomains helps rejecting mail for subdomains?

Based on the standard configuration given in https://www.postfix.org/STANDARD_CONFIGURATION_README.html#firewall the parent_domain_matches_subdomains = debug_peer_list, smtpd_access_maps should help ...
SUNITA GUPTA's user avatar
0 votes
1 answer
22 views

How OpenDKIM decides which emails to sign?

In OpenDKIM, what domain does it consider to use when comparing to internal hosts? Do it consider the domain of Return-Path (i.e. envelope MAIL FROM's domain) or header From or HELO's domain.
Ayush Gupta's user avatar
1 vote
1 answer
87 views

Why is it advised to disable relayhost when hosting mail server behind firewall?

I am trying to setup an MTA. While reading documentation I came across "Standard Configuration" for Running Postfix behind a firewall. I am confused on this part: IMPORTANT: do not specify ...
SUNITA GUPTA's user avatar
1 vote
2 answers
35 views

Can I log when the message arrival rate exceeds the message delivery rate in postfix?

I am trying to implement a MTA, on reading documentation of the postfix I found a parameter 'in_flow_delay' whose description in sort says 'Time to pause before accepting a new message, when the ...
Ayush Gupta's user avatar
0 votes
0 answers
26 views

What is behaviour of opendkim while verifying an email with multiple dkim signatures?

I am trying to implement DKIM verification using Opendkim and postfix. The doubt I am struck by is what will happen if the email has more than one DKIM signature and one of them fails (as like failed ...
Ayush Gupta's user avatar
1 vote
1 answer
56 views

What difference does it make to implement a feature as policy service vs as milter in Postfix?

I am trying to implement MTA using Postfix. I am struck at how to implement standard services like SPF, DKIM etc. as well as some custom services. They can either be implemented as policy delegation ...
SUNITA GUPTA's user avatar
1 vote
0 answers
70 views

What are typically the headers which I should oversign?

I am trying to setup MTA using Postfix and using opendkim for dkim signing. When I went through opemdkim documentation it have a field which is named 'OversignHeaders' document describes it as: "...
Ayush Gupta's user avatar
0 votes
1 answer
67 views

What does "--[no]subdomains" option in opendkim-genkey mean?

Based on the documentation --nosubdomains "Disallows subdomain signing by this key". But didn't we need to create separate DKIM records for subdomains regardless? Please correct me if I am ...
Ayush Gupta's user avatar
3 votes
2 answers
225 views

What is difference between using smtp vs relay transport type in postfix?

I am trying to setup MTA which should submit different intranet mail gateways based on the recipient's domain. For that I thinks transport_maps in postfix should be setup for selective domains; if ...
SUNITA GUPTA's user avatar
2 votes
2 answers
123 views

How to restrict based on combined usage of sender email and client ip address in postfix?

I have a MTA (postfix) with sasl implemented. I want that for a subset of users I can map their email address to a particular range of ips (separate for each email user). If a user tries to send email ...
SUNITA GUPTA's user avatar
0 votes
0 answers
19 views

Dovecot: Import from /var/spool/mail mbox to ~/Maildir

I've just migrated a personal mailserver from Courier MTA setup to a Postfix/Dovecot one. I thought I had it all worked out, but after I updated the MX record I realized Postfix was dumping mail into ...
goldilocks's user avatar
0 votes
0 answers
14 views

How to bypass postfix milters for certain users?

I am trying to setup an incoming MTA server using postfix. I have specific requirements that emails for some of the users should not go through the milters. Is there any way this can be done in ...
SUNITA GUPTA's user avatar
0 votes
1 answer
58 views

Too many connect from unknown postfix

I am trying to set up an incoming email server by using postfix as MTA the issue I am facing is that there are too many 'connect from unknown' lines in the log. Can anyone help can I debug this issue? ...
SUNITA GUPTA's user avatar
0 votes
0 answers
17 views

Permission problems with uWSGI and Modoboa

I have run a manual installation of Modoboa (https://modoboa.readthedocs.io/en/latest/installation.html#manual-installation), which runs a webapp in uWSGI. I moved the static content to /var/www/html ...
daydr3amer's user avatar
0 votes
0 answers
158 views

OpenDKIM gets installed without RSA-SHA256 support

I compiled opendkim from source with the following commands: mkdir /opt/opendkim cd /opt/opendkim wget https://sourceforge.net/projects/opendkim/files/opendkim-2.10.3.tar.gz tar -xzvf opendkim-2.10.3....
daydr3amer's user avatar
0 votes
0 answers
20 views

Perm Error sometimes not know if it sender issue or receiver issue

I am facing the problem, sometimes from the sender , i am able to receive the mail, sometimes it block, getting the error --- Sender: @dekra.com Recipient: @autodienst-hoppegarten.de working header: ...
BOURN's user avatar
  • 1
1 vote
1 answer
74 views

Configure postfix virtual transport to deliver mail to arbitrary (local) addresses

I'm using Postfix in a very niche application with no inbound or outbound SMTP connectivity (other than via the loopback interface). I would like to configure the postfix virtual transport to deliver ...
larsks's user avatar
  • 44.1k
0 votes
0 answers
17 views

dovecot maillog does not run or does not update after error appears

Dovecot maillog doesn't run after receiving an error like this, is there a solution to handle it? for email to run smoothly only maillog doesn't work, I've tried restarting postfix & dovecot, and ...
reaquan's user avatar
0 votes
1 answer
125 views

Dovecot certificate is empty

I configured a Mail server with postfix, dovecot and mysql from the documentation. When I add a mail address in Outlook, it refused. I tried everything what I can find, but nothing helps. Can somebody ...
Nameless's user avatar
2 votes
1 answer
157 views

What are the correct settings to enable TLS between Postfix and Dovecot via LMTP?

I am trying to get Postfix to forward mail via LMTP to Dovecot. This works fine when TLS is turned off in the settings on both sides. Once TLS settings are enabled, Postfix connects via LMTP and ...
Nick Lockheart's user avatar
0 votes
0 answers
24 views

How to have different postfix options based upon destination email address

I need to configure postfix in such a way that the options used vary dependent upon the destination email address. For example, I might have destinations such as [email protected], [email protected], user@baz....
Nathan Hilterbrand's user avatar
0 votes
1 answer
42 views

Amavis outbound mail filter for Postfix?

Running Postfix on Ubuntu 22.04, I'd like to make sure all outgoing mail originating from the server (eg mail forms on websites and stuff) is filtered for spam and malware. I'm using Amavis, which is ...
TommyPeanuts's user avatar
0 votes
1 answer
54 views

Does LMTP support authentication?

Scenario: A Postfix Server runs on a VPS with a hosting company. A Dovecot IMAP server runs inside the office. We want Postfix to push mail it receives to the Dovecot IMAP server, using the least ...
Nick Lockheart's user avatar
0 votes
0 answers
83 views

Postfix - limit outgoing messages sent by one specific user

I want to limit outgoing messages to 5 per hour for a single user. It should then queue any additional messages during that hour to be attempted for delivery later. All other users should not be ...
Pancakes's user avatar
0 votes
0 answers
40 views

Postfix Trigger script when E-Mail was Sent

This is my first Post at serverfault. I hope someone can help me. My setup looks like this: I have a RabbitMQ where emails are queued. I've written a small Python tool that retrieves one email at a ...
MMY's user avatar
  • 1
0 votes
1 answer
70 views

Postfix seems to be running and listening on the public network interface, but external clients cannot connect?

I'm setting up a new Postifx server on Debian 12. I've installed the Debian package and confirmed that Postfix is running, and is listening on ports 25,465, and 587. Postfix is running and there are ...
Nick Lockheart's user avatar
0 votes
1 answer
98 views

With postfix, how do you setup SASL with dovecot to receive SMTP mail and cyrus to authenticate?

I had a static IP address and setting up my mail relay was as easy as: mynetworks = ... <static IP address> ... (and of course authorize all incoming mail from mynetworks). Now that I do not ...
Alexis Wilke's user avatar
  • 2,250
1 vote
1 answer
309 views

Dovecot process synchronization for duplicate email detection

We have a dovecot server version 2.3.16 with sieve duplicate extension enabled to detect and discard duplicates. We have duplicate routing in Postfix virtual_aliases file which causes duplicate copies ...
device_exec's user avatar
0 votes
0 answers
33 views

Postfix+Dovecot: filter email with certain `To:` address

I have a postfix+dovecot email server. There is one mailbox that was used by the Procurement department in many online shops and the address got disclosed and included in a spam list. I would like to ...
Yván Ecarri's user avatar
0 votes
2 answers
74 views

A Non-MX mail server + Google Workspace, is this viable?

I have a domain (example.com) configured for sending and receiving mail using Google Workspace. I need to launch additionally a separate (own) mail server. Switching completely to the new server is ...
x-yuri's user avatar
  • 2,195
0 votes
1 answer
140 views

Should HELO, MAILFROM and From use the same domain?

I configured a mail server a couple of times before and I believe back then I thought that the answer is "yes." But I'm about to configure another one, and it seems that I was wrong. Let's ...
x-yuri's user avatar
  • 2,195
0 votes
0 answers
82 views

How to properly filter emails through EXIM system filter?

My server recently encountered a large volume of incoming spam messages. For each message, Exim agent generated a message with the following content for the sender: "Mail Delivery Failed: ...
Phree's user avatar
  • 11
0 votes
2 answers
153 views

Can I Force Implicit TLS Connection For Port 587 On Postfix?

I have read many articles saying port 587 by default is explicit TLS. This means it's STARTTLS. It asks the server on an unsecured connection if TLS is supported and if it is, it continues with an ...
Digital Joe George's user avatar
0 votes
1 answer
82 views

Wrap plain text mail in html

we use Postfix as MTA to send our mails from our system. Unfortunately we have an old persistent system which we cannot change, which sends mails to our customers in plain text format. I would like to ...
Pa0x43's user avatar
  • 5
0 votes
0 answers
34 views

HCL Notes internet address not found in the secondary address book

I have an issue which I can't get resolved. I hope you can help me out. I have setup a secondary NAB in HCL Notes/Domino v12.0.2 which is mainly being used for web users to authenticate. I have setup ...
Wim's user avatar
  • 1
0 votes
3 answers
76 views

Postfix: How can I handle incoming mail for a single address, not the entire domain?

I've gotten my employer to configure the company-wide Exchange server to forward [email protected] to [email protected], a host I control. So far, so good. My Postfix configuration ...
David White's user avatar
0 votes
0 answers
73 views

Simple solution to archive dovecot/postfix emails to second server nightly for long term storage with roundcube access

Our email server has ~150 email accounts containing material that cannot be deleted for 10 years. Some accounts are heading towards 10gb of data so I'd like to setup a nightly archive process that ...
Adam's user avatar
  • 41
1 vote
0 answers
112 views

Deliver mails in Maildir in /var/spool/mail with Postfix

I search for hours without finding the solution and it drives me crazy. Is it possible to ensure, without using Procmail, that Postfix delivers emails in the form of Maildir {cur,new,tmp} in /var/...
Chris972's user avatar
0 votes
2 answers
61 views

Receive notification whenever someone marks email as spam POSTFIX

I have created a mail server using Postfix. I have added a 1x1 tracking pixel to track email opens. I would like to receive a notification either on an http endpoint or my email address whenever ...
Anveeg Sinha's user avatar
0 votes
0 answers
88 views

NGINX Mail proxy IMAP Auth Errors

I need some help getting NGINX to perform IMAP authentication as a reverse proxy into Postfix Mail server on-prem. I am seeing the tracking on my POSTFIX mail server, but IMAP continues to fail. seems ...
user2569708's user avatar
-1 votes
2 answers
195 views

Which IP address in email headers should I ban to block spam from this source?

I got scam email from zcsend.net. This time the sender address is faked. I need to use Fail2Ban to ban messages from the same origin. However, there are many addresses here in the headers. Which one ...
Stone's user avatar
  • 161
1 vote
1 answer
154 views

How to add a PTR (Reverse DNS) on Vultr? Do I need to contact them?

I have set up a Postfix Dovecot email server on my Vultr. And I'm getting following message from Google: gmail-smtp-in.l.google.com said: 550-5.7.1 Our system has detected that 550-5.7.1 ...
岁月倾城197's user avatar
0 votes
1 answer
78 views

Dovecot says user does not exist although it's in MariaDB database

I use a MariaDB to store users for Dovecot 2.2.10. The Dovecot keeps giving "Disconnected unexpectedly" errors, and I can't find a reason. Is there anything I could look at? Mail logs Aug 29 ...
岁月倾城197's user avatar
3 votes
1 answer
254 views

Linux port 25 is not working, and postfix unable to establish external connections at port 465, internal connection works with issues

I guess these are two typical issues, at least first one is. I'm trying to configure postfix dovecot on CentOS 7. First, the port 25 is open, but it is not accepting any outer connections. The ...
岁月倾城197's user avatar
-1 votes
2 answers
59 views

Two mail server installs (for two domains) on Windows VPS with one IP?

I'm starting with 1 IP address and the supplied mail server software license supports only 1 domain. I'm now adding a second domain to the VPS on the same IP address. There's a LARGE increase in cost ...
Newbuntudude's user avatar
0 votes
1 answer
60 views

Adding MX record

I would want to achieve the following: I have acquired a domain name, and I would like to add a website and a mail server for this domain. I have: 1 Domain name, 1 private Ubuntu server with IP, 1 ...
user3047450's user avatar
-1 votes
1 answer
62 views

Proving Email Origin through Mail Header

A supplier appears to be have been a victim of an server breach (though they are denying this and bring the point of my question). This has then caused the directors of our company to make a payment ...
Matthew Flynn's user avatar

1
2 3 4 5
62