Questions tagged [postfix]

Free and open source mail transfer agent (MTA) that routes and delivers email. When asking about postfix problem, please include the relevant maillog lines and output of the following command: `postconf -n` (non-default content of main.cf) and `postconf -M` (content of master.cf)

Filter by
Sorted by
Tagged with
0 votes
1 answer
33 views

Roundcube imap domain

I have configuration Postfix+dovecot+roundcube. I have installed certificate SSL on domain main.example.com so when I have added below imap configuration test is ok and roundcube works. enter image ...
ufo1990's user avatar
0 votes
1 answer
37 views

Using Postfix as relay to upgrade encryption

I have some embedded devices which receive no more firmware upgrades. They are only capable of sending mails with TLSv1.1 which is no longer supported by public mail servers. So my idea is to setup a ...
Hans's user avatar
  • 1
0 votes
0 answers
22 views

Postfix: Set connection rate limit exceeded per host

Is it possible to define the smtpd_client_connection_count_limit per domain in Postfix? I have a default setting of smtpd_client_connection_count_limit = 10, but I want to allow a higher limit for ...
user2531657's user avatar
0 votes
1 answer
39 views

Rewriting message header To: field when sending email

I am configuring an SMTP server with Postfix (v3.7.3) for local (i.e. host only) mail sending on openSUSE 15.5 Leap. What I would like is to send messages to local "users" (there is no real ...
StinGer's user avatar
0 votes
0 answers
47 views

stunnel smtp tls frontend server/proxy for remote backend postfix

I'm running stunnel in server mode and listening on port 587 and trying to connect to a remote postfix server running on port 25. NB: the two servers are connected via zerortier, which may or may not ...
espeed's user avatar
  • 159
0 votes
0 answers
25 views

Postfix relay mails not from "mynetwork" or "authenticated users"

I have some trouble understanding Postfix-configuration and have the current situation: I had one server with Plesk using Postfix as primary MX for several domains. Now - to reduce spam - I want to ...
Lutz Mahlstedt's user avatar
0 votes
0 answers
12 views

Email client login for the virtual domains setup in postfix dovecot

I have set up a mail server using Postfix and Dovecot. Right now I don't have sasl setup. If I add a user using adduser command and login in to Thunderbird then there is no issue. But now I have also ...
Anveeg Sinha's user avatar
0 votes
2 answers
39 views

Postfix : change email from unix_user@domain to a something@domain

I have two domains on a server, they are rarely used and they have 2 ubuntu users like domain1_user domain2_user and I want to associate email addresses like info@domain1 info@domain2 Obviously I ...
Marius's user avatar
  • 3
2 votes
1 answer
56 views

How to make postfix sign non-delivery notifications with DKIM?

I have set up my "postfix" server to sign outgoing messages with DKIM and verified that it works correctly for SMTP users using authentication. However, "non-delivery notifications"...
mist's user avatar
  • 23
0 votes
2 answers
78 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
91 views

Warning with sending emails from Thunderbird to Postfix using its own CA

I'm asking for help because I simply don't have the strength anymore, I've spent a lot of time and I'm still left with an unsolved puzzle. My problem: I keep getting "Wrong Site" warnings ...
lkuc18's user avatar
  • 11
-1 votes
2 answers
69 views

Postfix smtpd and smtp restrictions (client, sender, recipient) first restriction that matches wins very ILLOGICAL for brute force attacks

if I have a list of restrictions for: smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_rhsbl_helo dbl.spamhaus.org, reject_rhsbl_reverse_client dbl.spamhaus....
Digital Joe George's user avatar
0 votes
0 answers
48 views

Postfix - Forward mail externally through relay

I manage the mail server for mydomain.com. Some users have a local IMAP mailbox, but for some their address is an alias and I'd like to forward their message to their external address. I've configured ...
CompuChip's user avatar
  • 101
0 votes
1 answer
61 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
3 answers
67 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
1 vote
3 answers
56 views

Postfix - Cannot run - update-ca-certificates -fresh

I just face an extensive Email service disruption at my work. During the incident, we had some postfix giving some errors concerning: Fatal: connect #n to subsystem private/rewrite: Connection refused....
pSyToR's user avatar
  • 113
0 votes
1 answer
25 views

How to reject mails sent to a mail adress found with a ldap lookup

I'm trying to reject emails sent to specific email addresses with an LDAP lookup. I have made this ldap lookup table: version = 3 timeout = 100 ## set the size_limit to 1 since we only ## want to ...
Kiwimarc's user avatar
-1 votes
0 answers
19 views

Need help on how to configure Postfix to be a front end processor to a third-party email provider

I am looking for help / pointers on how to configure a Postfix instance that will do the following. [Email from the internet] --smtp-->[postfix]-->[postfix filters/rules]--> If the postfix ...
David Sinclair's user avatar
0 votes
0 answers
63 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
1 answer
40 views

can't get email from exchange to postfix

I configured a postfix mail server to receive emails. I enable TLS as per security requirements as well as port 25 is banned by the provider. I enabled both 465 and 587 with the following on master.cf ...
virgo's user avatar
  • 1
1 vote
1 answer
26 views

What does `static:rest` in the Postfix configuration mean?

In the Postfix configuration line (main.cf) smtp_sasl_mechanism_filter = !ntlm, static:rest what is the meaning of “static:rest”? While static: is explained in Postfix’ documentation as yielding the ...
Torsten Bronger's user avatar
0 votes
1 answer
36 views

Spamassassin not adding X-SPAM header

I've spent hours on websites, checked config files etc. But can't find the problem. Debian server, with spamassassin and postfix. Spamassassin is enabled (checked it on command line). In the mail.log, ...
Recif's user avatar
  • 153
0 votes
2 answers
44 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
1 answer
82 views

Postfix relay to Office 365 - DNS configuration

To reduce the likeliness of email being flagged as SPAM, I believe these are the few things that should be done on email servers: Hostname resolves to a valid IP e.g. mail.example.com to 1.1.1.1 ...
supmethods's user avatar
0 votes
0 answers
11 views

postfix SRS how to do not change Return-Path for non-forwarded emails

If set postsrsd as described in https://github.com/roehling/postsrsd all incoming emails have changed Return-Path. They say you can workaround it with multiple instances of postfix. Could you show ...
user2772439's user avatar
0 votes
0 answers
20 views

Postfix 2nd domain

I have two postfix servers(virtual machines) on same host 1st domain = mail.xyz.org 2nd domain = mail.xyz.edu I want to send mail from 1st domain to 2nd domain. If i try, it gives error: Recipient ...
munishhh's user avatar
1 vote
0 answers
24 views

Docker Postfix Admin bulk aliases, custom maps, and custom config files

I'm in the process migrating my bare metal postfix implementation over to docker to essentially upgrade my old box to a more docker/vm-centric server and hopefully add virtual domain support. I'm ...
Pavman's user avatar
  • 11
0 votes
1 answer
45 views

CentOS 7: Postfix logs got cleared when running history -c. How can I investigate what happened the day the log was cleared?

By default, running history -c has no way of also deleting /var/mail/maillog, right? How can I investigate what happened the day the log was cleared, or (by definition) when the new maillog was ...
Andrw's user avatar
  • 113
0 votes
0 answers
15 views

postfix. routing outgoing mails by message-id

I know there is a sender_dependent_default_transport_maps setting in Postfix to route outgoing mails through different relays based on the sender Is such routing based on message-id possible? If so, ...
alexchroot's user avatar
0 votes
0 answers
14 views

Make postfix retry PNCR Status (5xy code)

Every now and then I am forced to send medium volumes (100-1000 mails) to microsoft smtp servers (outlook.com/hotmail.com) outlook-com.olc.protection.outlook.com Remote Server returned '554 5.7.1 <...
Christopher's user avatar
0 votes
1 answer
53 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
0 votes
0 answers
29 views

postfix secure & insecure connections

I have configured postfix SMTP server for mail sending only with below configurations, I've used cyrus-sasl to authenticate with openLDAP, I want to achieve SMTP port 25 to use insecure connections ...
csx4's user avatar
  • 101
0 votes
0 answers
33 views

Two subdomains, two iredmail (postfix) servers, duplication and migration

There are two servers in the local network, and iredmail is installed on both (I don't think this is important, since Postfix is here). There is one domain example.com and one IP, and also two ...
Varion Drakonov's user avatar
3 votes
1 answer
132 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
0 votes
0 answers
43 views

How do I solve procmail: Error while writing to "/home/<user>/Maildir"

I use Virtualmin to manage my server. I have somehow screwed up the configuration and mail is not being delivered to my mail boxes. I'm desperate to solve this as my mail server is toast. My tail /...
MGibbons's user avatar
0 votes
1 answer
47 views

How to configure postfix to reject emails which are pretended to be send from myhostname?

Suppose the Postfix mail service is serving domain @mycompany.com. Local network is 192.168.10.0/24. The attacker from Internet sends an email pretending it originates from @mycompany.com: Received: ...
dma_k's user avatar
  • 123
0 votes
1 answer
29 views

OpenDKIM & OpenDMARC on SLES 15 SP2

Hello is it possible to install OpenDKIM & OpenDMARC on SLES 15 SP2 through the default repository of OpenSUSE?
manwithamission's user avatar
0 votes
1 answer
60 views

Postfix : Only receive emails from specific tlds?

I've been searching everywhere and can only find how to block specific tlds. I've set up a rejected_domains file that blocks tlds which I have to manually add as they appear in my inbox. Basically, ...
TGates's user avatar
  • 11
0 votes
1 answer
58 views

Postfix: recipient_bcc_maps for incoming mails only

With the parameter recipient_bcc_maps in main.cf from Postfix it is possible to send incoming mails from a list of email addresses as a BCC copy to other email addresses. I want to BCC copy only those ...
p asst's user avatar
  • 1
1 vote
1 answer
143 views

Troubleshooting SMTP and IMAP Configuration for Postfix Email Server on Ubuntu

I've recently installed Postfix and dovecot on my linux machine running Zorin OS 16.3(Ubuntu Based Linux Distro) to be able to host my own email server for my website. The server is port forwarded ...
Codex's user avatar
  • 11
1 vote
0 answers
71 views

How to move Spam emails to Spam folder With RoundCube and Dovecot-Pigeonhole

OS: Rocky Linux 9.2 Services: Dovecot, Dovecot-Pigeonhole, Postfix, Spamassassin, RoundCube I'm trying to move emails flagged as spam by postfix and spamassassin to spam folder using Dovecot-...
Hady Shaltout's user avatar
1 vote
0 answers
40 views

sender dependent default transport maps

I have around 6 Ips and 6 email addresses I want to make sure that every email address uses the Ip that I allow it to send email I added this command in the end of main.cf sender dependent default ...
Syed Razvi's user avatar
0 votes
2 answers
43 views

alert certificate expired:../ssl/record/rec_layer_s3.c:1543:SSL alert number 45 when sending mails from the same server that hosts postfix

So, I have setup an smtp server using smtp in a Debian 11 machine. It works perfect when sending emails from my phone and my computer, but it does not work when trying to send emails from the same ...
Gottfried Rosenberger's user avatar
0 votes
1 answer
91 views

Postfix smtp_header_checks does not prepend header, but ignores or warns

I am trying to add those headers to email sent via the postfix server: Precedence: bulk Auto-Submitted: auto-generated These are the configuration files and only header_checks adds the correct header....
Daniel L's user avatar
0 votes
2 answers
91 views

postfix commands=5 causing mails not being sent

I'm able to send only mails using postfix but when it comes to sending mails to my own domain, postfix usually uses commands=6 which sends the email but sometimes it issues the commands=5 which causes ...
Pradyut Bhattacharya's user avatar
2 votes
1 answer
115 views

Configure postfix to enforce client certificate authentication for one domain

I have a postfix server which processes mails for several domains. The server is using TLS encryption if the client requests ist, but does currently not enforce it for compatibility reasons. Now there'...
TomS's user avatar
  • 175
0 votes
0 answers
29 views

SASL authorisation and hostname to access the server

I have a working postfix mail server. It is registered under two DNS names: mail.xxxx.de and xxxx.no-ip.org. I use SASL via dovecot for relay authorisation. It works flawless when the client uses the ...
EckartH's user avatar
0 votes
1 answer
86 views

Not able to receive emails on Postfix

I installed a mail server with Postfix and Dovecot on Debian. I can send emails without worries to Outlook, Yahoo, ...BUT I can't receive emails from outside. I use my internet box (free) as a router. ...
MEZIANE Yacine's user avatar
0 votes
0 answers
51 views

PostfixAdmin on Nginx returning 403 Forbidden

I haven't used PostfixAdmin in a while. When I recently went to mail.domain.com/postfixadmin I was greeted with a message telling me to point an alias to /postfixadmin/public. After a bit of searching ...
nike's user avatar
  • 1
0 votes
0 answers
46 views

Dovecot authentication with hardware key ( yubikey )

Recently, I've been working on implementing hardware keys for authorization in dovecot/postfix and unfortunately, perhaps due to lack of knowledge, I wasn't able to implement it. From what I've seen, ...
Croxxy's user avatar
  • 1

1
2 3 4 5
129