Skip to main content

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
2 answers
495 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
1 vote
1 answer
247 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
  • 31
-1 votes
2 answers
639 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
219 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
1 vote
1 answer
255 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
  • 15
0 votes
3 answers
148 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
229 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
72 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 vote
1 answer
607 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
89 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
60 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
186 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
200 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
2 answers
3k 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
74 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
21 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
2 votes
0 answers
89 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
  • 21
0 votes
1 answer
80 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
49 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
36 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
125 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
162 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
58 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
890 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
1 answer
517 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
132 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
132 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
467 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
1k 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 ...
Codrut's user avatar
  • 111
1 vote
0 answers
348 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
128 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
1 vote
2 answers
96 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
208 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
1 answer
551 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
3 votes
1 answer
582 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
  • 185
0 votes
0 answers
61 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
187 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
1 answer
207 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
140 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
0 votes
1 answer
459 views

Postfix warning: not enough free space in mail queue

I have already checked the solutions at this post, but I can't find the reason. This is my situation: Running postfix inside a docker container (docker swarm). Docker container has no quota. /var/...
lepe's user avatar
  • 469
0 votes
0 answers
51 views

"mail spamd[495361]: internal error, python traceback seen in response" on Ubuntu 20.04 when receiving email from gmail. How to debug and fix?

I am running Ubuntu Server 20.04 on a Raspberry Pi. It is set up as a web/email LEMP server. When I send an email from my gmail account to a an email address on my LEMP server, I get an error from ...
DanRan's user avatar
  • 93
1 vote
1 answer
450 views

Audit log emails not going to the correct address

On Ubuntu 20, I'm trying to send audit logs to [email protected]. I do have a real domain and email server but I'm redacting them here. When I trigger an audit event, the email is instead sent ...
J'e's user avatar
  • 75
0 votes
0 answers
84 views

Dovecot missed permissions to access mail directory

I'm trying to install a new mail server and I think I've done something completly wrong. I don't know how to fix/continue my current situation. I've installed postfix on my Debian 11 system, working ...
lex's user avatar
  • 1
1 vote
1 answer
150 views

Postfix permit_sasl_authenticated before content_filter

I have a postfix + dovecot + spamassassin setup which works great, but I would like to bypass all outgoing messages (sasl authenticated) from spam filtering. I must do something wrong, because I ...
Darwick's user avatar
  • 121
0 votes
1 answer
1k views

Postfix - can't send emails to gmail addresses via terminal

I have the following errors when trying to send emails to gmail addresses via my terminal: sudo tail /var/log/mail.log Jul 19 13:19:44 ubuntu-4gb-fsn1-1 postfix/cleanup[5780]: B4B8C5F4A3: message-id=&...
Run's user avatar
  • 101
0 votes
2 answers
914 views

Postfix smtpd_sender_restrictions with logical AND

I am using postfix, I need to configure sender based restrictions so nobody that is not authenticated & not part of mynetworks can send mail through this server, this is my smptd sender ...
csx4's user avatar
  • 101
0 votes
1 answer
554 views

shared mail address with postfix and dovecot

I'm trying to set up some shared mailboxes like contact or support. I have made it possible for me to share an IMAP folder between users in Dovecot by doing this in 15-mailboxes.conf namespace { ...
Kiwimarc's user avatar
0 votes
0 answers
226 views

Moving Spam to Spam folder ( postfix-courier imap, spamassassin)

I've a mail server that supports virtual-users on mysql with ( courier-imap , postfix , spamassassin, amavis) For every new user my server creats dirs like (inbox, drafts, sent, trash) In /home/...
Mailserveradmin's user avatar
0 votes
1 answer
270 views

Postfix on IPV6: no MX host for yahoo.co.uk has a valid address record

I have my new cloud server running on ipv6 only. I have set the AAAA mx record. Postfix installed with the following config: $ sudo nano /etc/postfix/main.cf smtpd_banner = $myhostname ESMTP $...
Run's user avatar
  • 101
0 votes
0 answers
93 views

Postfix using asterisk user to send emails. Mapping did not work, are there any other options?

I am trying to set up a PBX server to send voicemails to emails, which is being triggered properly, however, the from email is not the correct one I want to use. Instead of using [email protected], ...
Ceyntas's user avatar

1
3 4
5
6 7
132