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

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
50 views

Redirect local host mail to mailcow mail server ubuntu

I've installed mailcow dockerized on ubuntu 22.04 host. There is some instruction how to setup local mtu with postfix (sendmail is ubuntu default) https://docs.mailcow.email/post_installation/...
Роман Коптев's user avatar
3 votes
1 answer
243 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
0 votes
1 answer
26 views

Postfix header_checks with multi-line headers and capture group

We have a header_checks regexp passed to the "cleanup" process, but it's not processing the header as a single header if it's on multiple lines. header_check (pass value of header to FILTER):...
reactive-core's user avatar
0 votes
0 answers
23 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
79 views

Why does DMARC fail for forwarded emails from this particular domain when it passes for all other domains?

I run a virtual mail server that forwards emails to my domain to a Gmail address, and I use PostSRSd to rewrite the addresses. For example, if someone sends an email to john@mydomain.com, my mail ...
John Doe's user avatar
  • 313
0 votes
1 answer
24 views

How to prevent postfix from sending e-mails without authentication

my first post here. I had a postfix that I'm using as a relay. I configured to use authentication with the following main.cf: https://pastebin.com/TQfmAQp2 The problem is: when I try to send an e-mail ...
joaoluizmf's user avatar
0 votes
0 answers
27 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
33 views

how to copy all emails send to external email account(postfix)

The company at which i work, requested to copy all emails sent to a specific external email address(bcc those emails to an internal monitoring email account). They specifically asked for one recipient ...
cz.steve's user avatar
0 votes
0 answers
17 views

iptables prerouting crashed smtp port

I have a very strange problem. First of all. I have 2 servers VDS server with (for instance) IP 100.11.100.22 (vpn ip: 10.8.0.1) Server behind the VPN (ip: 10.8.0.7) with iredmail (postfix, devcot, ...
Kirill Muchow's user avatar
0 votes
0 answers
24 views

postfix restrict smtp sender based on ip address

I have a postfix server that I inherited many years ago. Originally it successfully controlled the sending of messages through authentication and IP addresses - if an authenticated user was sending ...
bithead's user avatar
0 votes
1 answer
45 views

Postfix - Relay - authentificatin in Mysql

I tryed to manage with a postfix server, my goal is that : When 1 special user (test@example.com) try to send mail, it will use routing (using a relay server is OK) but I don't understand how to send ...
PopFR1's user avatar
  • 1
1 vote
0 answers
126 views

Postfix: email forwarding to google, never re-try deliveries

I've a Postfix server with two virtual domains, users and aliases. Some of my users want their email centralized at Gmail and have aliases in place to redirect incoming e-mail to their Gmail accounts. ...
TCB13's user avatar
  • 1,136
0 votes
1 answer
39 views

Getting postfix to forward a certain warning to the milter

I'm running postfix 2.11.3 under Debian. I have installed a homegrown milter which runs in conjunction with CONNECTION, HELO, MAIL FROM, RCPT TO, HEADERS, and EOM, and it's been working well for years....
HippoMan's user avatar
  • 202
0 votes
1 answer
31 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
0 votes
0 answers
18 views

postfix send for one lan onlyif have 2 eth

I have server ubuntu whit 2 network card and i want output 1 lan for postfix and dns, other lan for http ,dns, ftp etc. My configuracion is : uname -a Linux mail.domain.com 5.15.0-72-generic #79-...
cianyika's user avatar
1 vote
0 answers
29 views

need help to configure postfix / dovecot + SSL for ports 993, 465 + virtual mail/accounts from file + CRAM-MD5 authentification

I have some issues in my configs to have an full functional mailserver with CRAM-MD5 authentification for only port 993 and 465. Plz help me and others to get an right config file struct for ubuntu ...
trash2's user avatar
  • 33
0 votes
1 answer
32 views

Postfix should tempfail mail back to queue when local delivery fails

I'm running postfix on Debian 11, together with procmail as lda. Some users have a ~/.procmailrc which calls an external program, parsing the mail and doing things accordingly. This works as expected, ...
PoC's user avatar
  • 236
-2 votes
1 answer
3k views

postfix-gmail problems: This mail is unauthenticated, which poses a security risk to the 550-5.7.26 sender

Can someone help, who had that problem too? Postfix and Dovecot is freshed installed and configurated for SSL but if i try to send an email to my gmail account i get that error msg. Diagnostic-Code: ...
trash2's user avatar
  • 33
0 votes
0 answers
42 views

Postfix virtual_alias_maps and virtual_mailbox_maps delivery to Dovecot

I have a working Postfix setup where I can deliver incoming mails to both a Dovecot mailbox, and forward on those mails to an external address. However, this doesn't feel right, and I'd appreciate a ...
QF0's user avatar
  • 81
0 votes
0 answers
93 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 vote
0 answers
39 views

LDAP postfix "User doesn't exist"

I have a postfix server, which forwards all the emails to a dovecot server via LMTP. The usersname/groups are kept in a 389-Directory Server (LDAP) In /etc/postfix/transport I have a few lines like (...
alini76's user avatar
  • 11
0 votes
0 answers
27 views

Temporary internal error / Dovecot: Initialization failed status=deferred (host domainname.com

Postfix working properly on port 25. Getting error while sending mail from outlook 2016. Tried to use Port 110 & 993 & 995. Mail Log:- Error:- status=deferred (host domainname.com[private/...
dhanu gulati's user avatar
-2 votes
0 answers
29 views

How to install Postfix admin & Poastfix on CentOS 7 with Nginx and MySQL 5.5

Anyone could you please help me to install Postfix Admin & Poastfix on CentOS 7 with Nginx and MySQL 5.5 and multiple domains? Senario:- I want to send & receive mail from multiple domains.
dhanu gulati's user avatar
0 votes
0 answers
36 views

Postfix : Relay Access Denied due to proto=ESMTP

I am facing issue in Postfix. May 4 13:07:18 dedi postfix/smtpd[12708]: connect from unknown[IP Address] May 4 13:07:19 dedi postfix/smtpd[12708]: NOQUEUE: reject: RCPT from unknown[IP Address]: 454 ...
dhanu gulati's user avatar
0 votes
0 answers
16 views

Getting error while sending mail from postfix admin

I am getting below error while sending mail from postfix admin. [error] 8842#8842: *183397 FastCGI sent in stderr: "PHP message: fsockopen failed - errno: 111 - errstr: Connection refused" ...
dhanu gulati's user avatar
0 votes
0 answers
63 views

Postfixadmin setup errors

I am setting up Postfixadmin on a new VPS, Ubuntu 20.0.4.6 During the setup phase the database connection works fine but I am getting these errors: ⛔Password Hashing - attempted to use configured ...
mr buffy's user avatar
0 votes
0 answers
51 views

Auth/permission issues with Dovecot/Postfix with virtual users and dovecot Passwd-file

I currently have Postfix/Dovecot email-server configured to run a local system account (Dovecot auth-system) and everything runs fine with a local user set up using /etc/passwd, /etc/shadow. I would ...
rehenry's user avatar
0 votes
1 answer
30 views

authorize multiple domains to send via send-only Postfix server

A rails application is sending an email to postfix for processing with From: do-not-reply@some_domain.top returning an error: [ActionMailer::MailDeliveryJob] [fa3df6b5-72a4-4a57-a5f8-ef7a98e4d8a9] ...
Jerome's user avatar
  • 207
1 vote
1 answer
103 views

Virtual domain variable in postfix/smtp_header_checks

What Postfix virtual domain variable should I use in outgoing header creation? Current server I'm running a database-driven virtual domain server managed by PostfixAdmin. I want to put statements in ...
Jesse's user avatar
  • 215
0 votes
0 answers
23 views

VPS - Sending mails fails on ubuntu via postfix

i have a VPS on Hetzner and struggling with sending mails. They says that block outgoing port 25, 465. I have tried to change postfix configurations to change the port for smtp to 587 but still unable ...
EAK TEAM's user avatar
  • 101
0 votes
1 answer
40 views

Postfix Accept only pop3s and imaps accounts

Today i found out accidentally that somehow i can send emails from my postfix mailserver on plain old smtp pot 25. I m scratching my head why is that, even tho i configured postfix to accept only ...
cz.steve'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
0 votes
0 answers
54 views

I'm dockerizing my website setup. What is the best approach to send mails by PHP-FPM in a container?

So i've seen a couple of questions about setting up notifications for PHP-based websites, so i'd like to ask you for the best approach. For that, I have: a WordPress website with custom PHP packages ...
Radosław Serba's user avatar
0 votes
0 answers
21 views

Internet relay postfix with virtual alias and .forward

In a relay postfix for a domain, I am trying to configure so that each user indicates the e-mail destination address he wants in the .forward but as virtual_alias_maps is configured, it always takes ...
sbarcab's user avatar
0 votes
0 answers
34 views

Use postifx on server proxmox1 to send email from server p1

I have server proxmox1 configured to send emails through GMail server. Here is the relevant part of my /etc/postfix/main.cf : smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated ...
ballatom's user avatar
0 votes
2 answers
96 views

opendkim milter not launching on proper server socket

The following error impeded the restart of opendkim × opendkim.service - OpenDKIM Milter Loaded: loaded (/lib/systemd/system/opendkim.service; enabled; vendor preset: enabled) Active: failed ...
Jerome's user avatar
  • 207
0 votes
0 answers
35 views

How to prevent compromising the email server if user credentials leaked?

I've been using AWS SES as an SMTP relay (Postfix + Dovecot) for years and now am facing the pausing of sending emails for the second time. We use this combination as an email server for business ...
Ljubisa Livac's user avatar
0 votes
0 answers
57 views

Confused Email server

I have recently migrated my server from Centos 6.9 to a new server with Centos 7.9 and I faced numerous issues owing to drastic change in OS, Version Changes in Perl, Python, PHP and Apache. I have ...
Wordsmith's user avatar
-1 votes
1 answer
49 views

Postfix / How to allow sending only to one IP

I have a postfix server that is on a public IPV4 address. I want to allow postfix to send emails ONLY to this IPV4 address (the same). Tried many things but no success... Any idea ? Thanks in advance. ...
bv4nuf's user avatar
  • 1
0 votes
0 answers
39 views

Issue with postfix configuration as relay server

I have created a postfix server for my domain : residencebauge.fr. I have also configured SPF to authorize only my public IP address : "v=spf1 a:vps.residencebauge.fr ip4:51.77.220.62 -all" ...
OlivierTerrien's user avatar
0 votes
1 answer
39 views

How can I check error notifications on Postfix are correctly being sent?

I've recently configured a brand new Postfix server (latest version) on Debian 11, it's working great but on the old installation I used to receive an email whenever something went wrong when sending/...
raz3r's user avatar
  • 101
0 votes
1 answer
118 views

Send An E-mail To A GMAIL Address From Linux Mail Command Using Postfix As The MTA

I am a beginner in configuring mail delivery systems. Recently, orders came from the management that we need to send confirmation emails to our clients whenever they complete their applications (I ...
Minmin's user avatar
  • 1
1 vote
1 answer
64 views

Postfix - Refusing to send emails to some domains

For example /\.host$/ REJECT We reject all .host domains! /\.pw$/ REJECT We reject all .pw domains! In this way, I prevent the receiving of e-mails from the domain names I want. No problem here. I ...
mdenizli's user avatar
0 votes
0 answers
34 views

Postfix/Dovecot How to ensure authenticated users are always allowed?

I've had a working postfix/dovecot system for several years. I'm not sure when it happened, but Charter/Spectrum has added all private customer IP address blocks to the RBL I've been relying on (...
Steve Valliere's user avatar
1 vote
0 answers
21 views

FROM address for system emails on Linux (Postfix)

I have an unbuntu server using sendmail and postfix to send apticron, cron etc emails. postfix is configured to use a smart relay, the smart relay is rejecting emails as they come from the subdomain ...
THEMike's user avatar
  • 175
0 votes
0 answers
24 views

How to force external route delivery in Postfix

I'm facing a problem that i cannot find a solution, i hope somebody here can give me a wire. I'm managing a server with ISPConfig installed. It uses Postfix as mail daemon. I have about 60 mailboxes @...
Eduardo Sauceda's user avatar
0 votes
1 answer
44 views

Postfix to gmail relay - preserving the sender's address

Relayed emails come 'from' me@gmail.com, not sender@theirdomain.com, so I cannot reply. I have several domains and am using Postfix to relay emails sent to me@mydomains.com on to me@gmail.com as ...
Megalomatt's user avatar
0 votes
1 answer
143 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
0 answers
28 views

Why the /var/log/maillog reports mail_max_userip_connections=10 if set for mail_max_userip_connections = 1000 in dovecot?

I have a Java web application which interacts with dovecot 2.2.36 and postfix 3.3.1 and I see errors from application log as keeps: Java application Log: 04-06-2023 10:18:40 ERROR http-nio-8080-exec-...
user3637971's user avatar

1
2 3 4 5
129