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
1 answer
32 views

Ubuntu server 14.04.5 - sending emails on behalf of customer domain

Good day all, I have a customer who has a website on a VM ubuntu server which is hosted by ioMart. They have been having increased issues more specifically Gmail, when sending emails from the website ...
liamf91's user avatar
0 votes
0 answers
10 views

How to Disable VERP

How does one go about to disable VERP? A unique folder is created for each bounce message containing the bounce. The folder will have a name such as bounce_66df08d75885e802455708. So, you have a long ...
pietpompies's user avatar
0 votes
0 answers
38 views

Postfix deferred mails if 1 of many adresses is wrong

If someone sends mail from Outlook with multiple addresses in bcc and 1 of them is wrong (syntax or unknown user) mail gets deferred and no one gets it: Sep 10 08:46:48 server postfix/qmgr[31948]: ...
Mario's user avatar
  • 1
0 votes
0 answers
36 views

Postfix transport maps lookup failure

I started to get temporary errors when I am sending emails: Sep 5 08:57:45 rb01-he postfix/trivial-rewrite[370959]: warning: proxy:mysql:/etc/postfix/mysql-virtual_transports.cf lookup error for &...
Arany Péter's user avatar
0 votes
0 answers
22 views

postfix: rewrite all emails expect those from two defined domains

I am searching and testing for hours, but I couldn't find a solution so far :( we have a postfix and rewrite every email to a special sender and relay it to an o365 server. at the moment it is like ...
vmpr's user avatar
  • 1
0 votes
0 answers
44 views

SOGo Login Without Full Email Address in Mailcow Setup

I've set up Mailcow with the SOGo client using Docker Compose. Currently, when logging into SOGo, I need to enter the full email address, for example, [email protected]. However, I'd like to change this ...
Dave's user avatar
  • 31
0 votes
2 answers
91 views

Adding originating source hostname to email subject with Postfix

First I have Gmail SMTP working fine using Postfix from Debian 12 (using SASL). This works like a charm. However, I am trying to modify the outgoing subject line of relayed email using Postfix header ...
Harold Callahan's user avatar
0 votes
1 answer
37 views

postfix/master[2863]: fatal: fifo_listen: open public/pickup: Permission denied

I'm running postfix in kubernetes. Specifically, I'm running docker-mailserver:14:0:0 when I start the container up, I'm getting the following permission error but have no idea what to do about it. ...
Colin Dawson's user avatar
0 votes
0 answers
36 views

Why does Postfix lookup the sender when resolving transport maps?

Email for our clients are hosted on a few different internal mail stores. I'm using the tcp_table transport lookup protocol to assess which internal server the mail should go to, but noted that ...
sune's user avatar
  • 51
0 votes
1 answer
41 views

Recommended configuration of OpenDKIM TrustedHosts

In the process of migrating my mail server to a new host. One of my struggles is OpenDKIM isn't signing outgoing mail (not internal). Currently my TrustedHosts file is as follows: 127.0.0.1 ::1 ...
Tyler Montney's user avatar
0 votes
0 answers
43 views

Set up Postfix to send mail through Google's smtp-relay?

I'm trying to set up a postfix-server to relay emails through using Google's smtp-relay from, using another domain-name than the one's registered with Google. I have had this working for years using ...
NinjaSnickers's user avatar
0 votes
0 answers
13 views

Rocky Linux 9, Mailscanner - Postfix issue, Unable to kick message

Aug 29 20:19:06 kratos MailScanner[128919]: New Batch: Scanning 1 messages, 1557 bytes Aug 29 20:19:06 kratos MailScanner[128919]: Virus and Content Scanning: Starting Aug 29 20:19:06 kratos ...
user3546375's user avatar
0 votes
0 answers
31 views

is it possible to add virtual users to the same domain as local users on postfix

Is it actually possible to add virtual users (sqlite) to a postfix server working with local users with ONLY ONE domain? local users with maildir=$HOME/mail/ virtual users with maildir=/var/vmail/$...
Chris972's user avatar
0 votes
0 answers
26 views

postfix->spamassassin mail goes into loop

I had a working postfix installation and I added spamassassin by including the following in master.cf smtp inet n - n - - smtpd -o content_filter=spamassassin ...
ratatata's user avatar
1 vote
1 answer
59 views

postfix virtual user email always redirected to root (was: how to reject non existent users from inside with mail command on smtp server)

After multiple tests I realize that what I explained below does not correctly describe the problem. The problem is broader than for internal mails on the server. Basically, what I am trying to do is ...
Chris972's user avatar
0 votes
0 answers
26 views

Postfix Email Sending Policy

I have a postfix based mail server and I am trying to segregate email accounts into two groups. Group one I have, [email protected] [email protected] [email protected]. Group two I have jane@...
Kin Ben's user avatar
-1 votes
1 answer
6k views

Reason why a customer's email is rejected

I'm having problems with a client's email being rejected. For some reason, I trigger one of my server's security policies and it rejects it. The log is as follows: Aug 23 09:38:57 mail postfix/cleanup[...
np1's user avatar
  • 1
0 votes
0 answers
28 views

Postfix: how exactly does virtual alias recursion work?

virtual(5) is pretty unhelpful here. It just says "Virtual aliasing is recursive; to terminate recursion for a specific address, alias that address to itself." narkive does appear to have ...
QF0's user avatar
  • 221
1 vote
1 answer
54 views

postfix with Maildir config still delivers to Mailbox

I want to have virtual accounts with Maildir, so I figured out the following main.cf home_mailbox = Maildir/ virtual_mailbox_domains = mydomain.com virtual_mailbox_base = /var/vmail ...
ratatata's user avatar
0 votes
1 answer
65 views

SPF is failing because RoundCube's first hop is from localhost 127.0.0.1 - need it to be my server's IP

I have an email server that can send emails fine through email clients; however, when I successfully send from webmail (RoundCube), the first hop is coming from my webmail.mydomain.com using localhost ...
Adam's user avatar
  • 53
0 votes
1 answer
102 views

Postfix won't start because it's "already running"

I'm trying to configure a VPS for my website and currently setting up email following a guide. I think I may have got into a bit of a mess through not really knowing what I'm doing yet. Most of the ...
Real World's user avatar
0 votes
0 answers
60 views

Linux email server configuration: the postfix relay_domains setting and sending email

I am trying to set up an email server on an Arch Linux VPS using postfix and dovecot. I'm using plain unix password authentication, in which dovecot handles SASL authentication for postfix. For the ...
Mark's user avatar
  • 1
0 votes
1 answer
89 views

Postfix/Postfwd load balancing

The organization I work for sends a lot of email through our Postfix 3.5.8 servers. This issue we are trying to solve is that we are exceeding Google's mail thresholds, but just realized that this ...
Dub Pankhurst's user avatar
0 votes
0 answers
30 views

Postfix Temporary authentication failure 454 4.7.1

I followed https://www.unixmen.com/setup-a-local-mail-server-in-centos-7/ to setup my mail server. Currently,my mail server can neither receive from nor send to an external email account.Postfix and ...
wisedom's user avatar
0 votes
2 answers
64 views

Postfix mailserver with two IPs. Map each sending IP to different application

I have one mail server (Debian 12, Postfix) with two public IPv4 IPs for two applications. I must send all emails from application A from IP 1.2.3.4 and application B from IP 5.6.7.8. Both application ...
martin's user avatar
  • 228
0 votes
2 answers
32 views

Postfix relay mails from alias domain to main server

I use my own server as a relay for customers sending newsletters. It's necessary because of the webhoster limitations. I've added the domains as virtual_alias_domains and a webmaster@ to ...
RubbelDeCatc's user avatar
0 votes
0 answers
38 views

Postfix problems on new RHEL 9.3 install

I'm trying to build a new Postfix mail server to replace an old RHEL 6.3 system. The build has postfix, postfix-mysql, amavisd, dovecot, spamassassin and clamAV installed. The build is not supposed to ...
AltGrendel's user avatar
0 votes
0 answers
21 views

Postfix mail forwarding SPF failure, SRS failure

I run a postfix/dovecot mailserver on Ubuntu 24 which as well as having mailboxes on the server, does some forwarding out to external mailboxes e.g. gmail. Gmail recieves this mail and SPF checks have ...
Oliver Ricketts's user avatar
0 votes
0 answers
33 views

Postfix smtpd_sender_login_maps, check for LDAP and a manually created list

I have enabled SASL on my Postfix server and have placed an LDAP configuration file for smtpd_sender_login_maps. It currently looks like this: ldap_sender_login_maps.cf server_host = AD.SERVER.com ...
Benedikt Wörner's user avatar
0 votes
1 answer
134 views

High availability email with dovecot/postfix

I'm facing an issue with our server email. Yesterday, our email provider was down for over 20 hours, severely impacting our business operations. We have approximately 5TB of archived emails, which ...
prd's user avatar
  • 600
3 votes
3 answers
720 views

Can I restrict which users can `sendmail` from an address with Postfix?

I've set up Postfix on my server (let's call it example.com), and I can prevent SMTP clients that don't authenticate as admin from sending email from [email protected] with (for example): # main.cf ...
fghzxm's user avatar
  • 131
0 votes
0 answers
40 views

postfix sasl authentication not working - testsaslauthd shows different result with -u"user@realm" vs -u"user" and -r"realm"

I'm setting up a postfix smtp relay with saslauthd authentication on Ubuntu 24.04. I've set up postfix to use sasl, but the sasl authentication from my mail server to the relay is not working. I don't ...
nathan c's user avatar
0 votes
0 answers
69 views

postfix doesnt deliver nor receive mails

I set up a docker container (mailserver/docker-mailserver) on my server. Postfix is giving me the following log when I try to send or receive a mail: 2024-07-30T17:40:01.753276+02:00 mail postfix/qmgr[...
Erik Bugdol's user avatar
0 votes
2 answers
122 views

Call to php mail() are not queued in postfix

I'm running CentOS7, PHP 8.0.30, postfix 2.10.1-9.el7 Sometimes emails we try to send through php mail() function are not sent and after enabling verbose logging for postfix's pickup, cleanup, qmgr, ...
Bastien974's user avatar
  • 1,866
0 votes
1 answer
52 views

Postfix bounce incoming email

I want to configure a postfix mail server using dovecot and postfixadmin with mariadb. I have followed many turorials and forum post and i am unable to receive emails. I test the configuration by ...
Hoguss's user avatar
  • 1
0 votes
0 answers
39 views

Is my Ubuntu/Postfix backup Email server working properly? : "connect to mail.mydomain.com[483.31.59.1]:25: Connection refused" How to fix?

I have two email servers running Ubuntu 22.04, with postfix. My main email server is working flawlessly. However, there are times when the email server goes down for maintanence or updates. During ...
DanRan's user avatar
  • 103
1 vote
0 answers
51 views

How to troubleshoot postfix repeatedly sending same email

EDIT: Added output of postconf -n and postconf -M as suggested AA425A04D2 was sent and removed from the queue Since Friday afternoon (July 19) at about 5:30pm, my email server has been repeatedly ...
nathan c's user avatar
0 votes
1 answer
89 views

How do I fix the default FROM address on a system email sent via Postfix

I am using Ubuntu 22.04 LTS and Postfix to send messages out through SendGrid. I followed the tutorial at here https://www.twilio.com/docs/sendgrid/for-developers/sending-email/postfix I have several ...
wruckie's user avatar
  • 699
0 votes
0 answers
18 views

Using mailcow-dockerize send emails without authentication

My mail server is Mailcow-dockerize. I have 20 accounts and sending and receiving working file. Now I have a case that my one system need to send mail without authentication. “[email protected]” need ...
Prabhath Samarasinghe's user avatar
0 votes
0 answers
101 views

Dovecot Mailserver moves mails with "List-Unsubscribe" header to junk, although no spam settings configured

I have my own mailserver setup with postfix and dovecot on an Ubuntu 20 server. The setup is very standard (postfix using mbox files) and has been working nicely for a long time. However, there is an ...
mc51's user avatar
  • 121
0 votes
0 answers
49 views

Change the Subject header of an email in postfix based on the To header

After reading thru the postfix header_check man page and reading the internet I came up with this PCRE to delete the Subject header and then add the Subject back with the data I need. But the second ...
SBTech's user avatar
  • 1
0 votes
1 answer
58 views

Sending of the message failed - Insufficient system storage

I have Debian 11 with Postfix and dovecot. My mail was working fine until yesterday but today Im having the following error: Sending of the message failed. The message was not sent due to exceeding ...
Anarkie's user avatar
  • 11
0 votes
0 answers
21 views

send email using multiple domain emails using main domain postfix smtp server

I have a domain with postfix for SMTP server, eg EM-NAME.DOMAINNAME.COM We are sending emails in bulk from domain email [email protected] I am trying to send emails on behalf of my ...
Iswor Lal Shrestha's user avatar
0 votes
0 answers
33 views

Reference the intended recipient in postfix custom bounce template

I'm running a mailserver on an Ubuntu 24 machine with Postfix(v3.8.6), Dovecot and Amavis working together to form a mail system for multiple domains. The postmaster for the main domain of the ...
Oliver Ricketts's user avatar
0 votes
0 answers
23 views

How to format postfix headers correctly?

I am trying to set my email FROM header field each time I send an email. First I create a text file: To: [email protected] Content-Type: text/plain; charset=us-ascii> From: [email protected] ...
user10709800's user avatar
0 votes
0 answers
18 views

How can I sender mail with custom sender field?

My mail is not passing SPF checks when delivering to gmail. My error message reads: Your email has been blocked because the sender is unauthenticated. Gmail requires all senders to authenticate with ...
user10709800's user avatar
0 votes
1 answer
53 views

Postfix does not work with SMTP authentication

We are using postfix without authenticacion and works correctly, but my company now requires smtp user/password. I have configurated password file in /etc/postfix/sasl_passwd [smtp.domain1.com]:1025 ...
RAN55's user avatar
  • 3
1 vote
1 answer
86 views

How can I deliver incoming mail based on recipient domain with Postfix?

I have been digging for an answer to my current problem for several weeks now, so I am asking here in hopes someone can shed some light or point me in the right direction. I am attempting to configure ...
user10709800's user avatar
0 votes
2 answers
158 views

Should SMTP HELO name be the same as the MX record?

I can't seem to satisfy HELO checks on SPF records in all cases. I have an SPF record for my domain like this: "v=spf1 mx -all" The MX records in the zone are: mx0.mydomain.org.uk. ...
TommyPeanuts's user avatar
-1 votes
1 answer
113 views

Postfix Mail being redirected to private inbox

I am relatively new to Linux, setting up servers and especially handling mail related things. I've bought a new domain and rented a VPS, which now hosts my website. I need a more open environment for ...
Brentspine's user avatar

1
2 3 4 5
133