2022 Developer Survey is open! Take survey.

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

postfix removing body of bounced messages

I've noticed for messages that fail to deliver with postfix, the body of the message is removed. Here's an example (real emails replaced with temps): --5F54EFCA0A.1653443634/MYDOMAIN.COM Content-...
user avatar
  • 101
0 votes
0 answers
20 views

Authentication failure sending mail using postfixadmin users

I have setup a new mail server on Ubuntu 20.04 and using Postfixadmin so I can manage multiple mail domains. The initial setup using unix users worked fine for sending and receiving email. However ...
user avatar
1 vote
0 answers
21 views

Different postfix logfile format when logging to separate file (maillog_file)

In order to separate the mail logs from the general system logs, I added this line to /etc/postfix/main.cf maillog_file = /var/log/postfix.log As expected, a file /var/log/postfix.log is created, and ...
user avatar
  • 846
0 votes
0 answers
21 views

Postfix: how to accept then bounce emails for some domains (example: gmail.fr)

All this is specific to domains with no incoming emails at all and with no available MX. A domain may not have any MX record, that's RFC-compliant, but may have a A record that doesn't point to any ...
user avatar
  • 21
-1 votes
0 answers
36 views

Procmail sends an auto reply but doesn't deliver to Inbox

I started an auto response recipe for certain user hours ago. I got the auto reply sent and the original mail delivered into Inbox. I tested it several times. I made some minor changes in formail and ...
user avatar
2 votes
0 answers
44 views

Is it possible to use MTA-STS in Postfix without overriding DANE?

The SMTP MTA Strict Transport Security RFC 8461, 2 clearly states that: However, MTA-STS is designed not to interfere with DANE deployments when the two overlap; in particular, senders who implement ...
user avatar
0 votes
1 answer
13 views

Procmail autoresponse to a single sender (or few ones)

I've been looking some similar examples and slight changes to them to perform that but unsuccessfully. This is the first recipe at $HOME/.procmailrc of the user "me". Mail is received by ...
user avatar
-3 votes
0 answers
39 views

What's required to let a domain send outbound emails from multiple domains? [closed]

Let's say I have: 40 outbound emails to send main domain - main_domain.com 4 separate domains-workers with Postfix - mail.my_postfix1.com...mail.my_postfix4.com Goal: send 10 emails via each of 4 ...
user avatar
1 vote
0 answers
36 views

For smtp relay, what is required for postfix to authenticate to gmail's smtp server?

I build websites within a private home-office network. Locally hosted website are development versions of sites that I build for clients. I want the websites that I am building to be able to send ...
user avatar
0 votes
1 answer
29 views

Alternative to Gmail Postfix relay

I have been using Gmail as a Postfix relay for years. Works perfectly. But it seems that on May 30th 2022 this will be disabled by Google. They will not allow us to use "less secure apps" ...
user avatar
0 votes
0 answers
21 views

Postfix accepts all incoming mail but drops all outgoing mail

We are running a Mailman server and for testing purposes I would like to configure postfix on that server to accept all incoming mail but delete any outgoing mail. How can I do this? Note: "...
user avatar
  • 2,571
0 votes
1 answer
39 views

Receive mail from Paypal only to paypal@domain.com

My postfix server accepts emails for 11 domains. I have paypal@xxxxxx.com email accounts on 2 of those domains. I would like to only have Paypal be able to send me emails to these accounts. So if joe@...
user avatar
0 votes
1 answer
20 views

Ubuntu 18.04 - SMTP ERROR: Failed to connect to server: Connection refused (111)

I have this new error since 2 weeks on my server. I haven't touched the code or anything. I usually send mail trough PHPMailer, but I noticed Thunderbird won't work anymore also. I'm on Ubuntu 18.04 ...
user avatar
0 votes
2 answers
18 views

How can I configure postfix to allow relay for one specific recipient/destination email address?

My postfix install denies relaying. But I'd like to configure it to make an exception for one specific destination address or a specific domain? For example, allow relaying of all messages from anyone ...
user avatar
  • 55
0 votes
0 answers
23 views

Restrict Postfix to send to one (or more) email address(es) instead of entire domain

I'm still trying to wrap my head around Postfix, since I've been thrown into the deep end of the pool, meaning, I was put in charge of an existing Postfix server. The main.cf has several domains ...
user avatar
0 votes
0 answers
31 views

Postfix - Spamassassin Autoresponse coexistence and Disclaimer [closed]

this is my first Postfix project and i have documented a lot, i have read several guides and the system (still in the test phase) works. I have implemented Spamassassin together with Amavis and ClamAV,...
user avatar
0 votes
0 answers
20 views

Force non-empty MAIL FROM for outgoing email

I am using postfix on a Debian server, primarily to send outgoing email for websites and notifications, and have run into an issue where outgoing email to a certain mailing list provider is rejected ...
user avatar
0 votes
1 answer
25 views

Regexp for header_checks in postfix

All my users use outlook, so the From field reaches the postfix like this: From: "Name and Surname" address@something.com. I need a regular expression to change the address, I have this in ...
user avatar
  • 1
0 votes
2 answers
51 views

How to prevent unauthorized relay of mail in Postfix

It seems that our mail server is being used to send spam. The sender of the email is a spoofed real account on our server. There is no email in the sent history for that account. I would like to ...
user avatar
  • 3
-1 votes
0 answers
19 views

Postfix : change the domain receiver before sending email

As a company, we have a website where we can create an account, and then we can send a theme newsletter. Sometimes, they make errors when typing their email address like @hotmil.com instead of @...
user avatar
3 votes
1 answer
494 views

Reject emails that fail reverse hostname resolution

My Postfix server is receiving spam from an ever changing set of domain names but with a consistent pattern in the log file starting with line warning: hostname X does not resolve to address Y. No ...
user avatar
0 votes
0 answers
50 views

Sender dependent relay with transport maps in postfix

We have some SMTP server in our company. We have transport maps in which we define what domains send to other smtp server. Now, we need sender dependent config for some users. The users are using same ...
user avatar
1 vote
1 answer
17 views

Configuring Postfix to Restrict User Access to the Postfix "Sendmail" Command

Reading at http://www.postfix.org/postconf.5.html#smtpd_relay_restrictions, we see that, by default, network mail relay access to postfix is restricted to "local" or "authenticated"...
user avatar
  • 21
-1 votes
0 answers
30 views

POSTFIX only sends mail to GMail

I have created a mail server using dovecot and postfix(Ubuntu ec2-aws). I'm receiving emails from any domain. but I can only send emails to gmail. When i try to send email to other domains, CA58541898 ...
user avatar
1 vote
1 answer
27 views

Setup postfix exclusively for local delivery

For development purposes I wanted an smtp server, that simply places all mails into a local mailbox. To achieve this, I tried to setup a minimal postfix system. # master.cf smtp inet n - n ...
user avatar
  • 111
1 vote
1 answer
34 views

Postfix LDAP aliases - user unknown

I have server POSTFIX + DOVECOT with LDAP (ActiveDirectory) authorization. /etc/postfix/ldap_virtual_mailbox_maps.cf query_filter = (&(objectClass=person)(mail=%s)) result_filter = %s ...
user avatar
2 votes
1 answer
69 views

Can postfix log source ports for inbound SMTP connections?

At the moment, postfix logs inbound connections like this: May 4 11:15:01 hostname postfix/smtpd[161025]: connect from unknown[192.0.2.1] This isn't enough information for hosting providers to ...
user avatar
  • 7,588
0 votes
0 answers
24 views

How to automatically delete duplicate emails?

I am using the iredmail mail system. When I create a maillists and add a user, when I send an email to that maillist and add the user in that maillist, that user gets two identical emails. Is there a ...
user avatar
  • 1
0 votes
0 answers
24 views

Postfix stop all outgoing emails except exceptions

In order to avoid spam sent from my server I'm trying to get Postfix to block all outgoing emails, except the ones sent from specific email address (like noreply@example.com), and allow all incoming ...
user avatar
  • 101
0 votes
0 answers
17 views

Which to use in List-Unsubscribe header?

I followed this link to add my unsubscribe email header as below, /^Content-Transfer-Encoding:/i PREPEND List-Unsubscribe: mailto:<sender-email-address>?subject=unsubscribe>" so that the ...
user avatar
1 vote
0 answers
42 views

Why are my mails failling body hash verification?

Since a few weeks, mails sent via my mailserver at the-grue.de fail dkim authentification. That's very strange, because I'm not at all aware of any changes on my part... mxtoolbox checked the mail, ...
user avatar
0 votes
0 answers
35 views

Postfix: Multiple email address to the same user causing duplicate message

I have setup Postfix on my Ubuntu server to receive and send emails, and then I have created three virtual email addresses via /etc/postfix/virtual like this: support@domain.com mailer sales.support@...
user avatar
0 votes
1 answer
34 views

Postfix bar authentication from internet

I have a Postfix e-mail server which should allow internal users to send and receive mail via it. The sending should happen only when a user succeeds in a VPN connection which provides him/her with ...
user avatar
  • 121
1 vote
1 answer
43 views

Postfix not sending emails with no error messages

I have a customer attempting to use postfix to send emails with SMTP. It appears that postfix will parse the email attributes correctly, but before sending the email it begins processing it again. ...
user avatar
  • 11
0 votes
1 answer
50 views

Mail server sending to postfix refusing TLS connection with "certificate expired", but it's not

Since April 30, I'm seeing errors like that in my mail log: May 1 02:27:27 afaron postfix/smtpd[2644268]: connect from r137.info.hofer.at[66.117.17.137] May 1 02:27:27 afaron postfix/smtpd[2644268]: ...
user avatar
0 votes
1 answer
61 views

Postfix: Couldn't Stop "SASL LOGIN authentication failed" Attack in Mail Logs

I'm trying to stop an attack and logs with SASL LOGIN authentication failed for my mail server. However, I've been trying for a day and am still not able to achieve it. The logs continue to generate ...
user avatar
-3 votes
0 answers
31 views

Postfix mail server receiving mails from second domain

I need little help... I have postfix mailer working, I can send mails out, receive mail from anywhere to my domain. But I need to make the mailer able to receive email meant to other domain for ...
user avatar
  • 1
1 vote
1 answer
35 views

Emails sent with postfix treated as spam, and sometimes not delivered at all

I'm trying to set up sending emails with SMTP on my VPS running Ubuntu 18.04. I'm using postfix, nodemailer. When I send from an address@mydomain.com, to a gmail account, it gets stuck in the gmail ...
user avatar
  • 115
0 votes
0 answers
14 views

Postfix only receive messages from specified senders

I have a postfix mail server configured with virtual domains. I would only like to receive for one of these domans from specific senders. Other domains are to receive from all senders. Can this be ...
user avatar
  • 1
1 vote
1 answer
42 views

How do I configure postfix to reject all email that doesn't have a specific 'from' field?

I have an SMTP relay that relays to our email forwarding server but currently it's accepting mail from all sorts of nasty spammers and our email forwarding host have (rightly) suspended the forwarding ...
user avatar
  • 329
0 votes
0 answers
23 views

Configure host base Postfix and send emails using a container

I have installed and configured the nano /etc/postfix/main.cf file for postfix in the host server and when I try to send it from the host server echo "Test Postfix Gmail SMTP Relay" | mail -...
user avatar
0 votes
0 answers
49 views

Setup postfix as smtp relay

I have a running centos 7 server with postfix configured to allow incoming mails to my domain, say, to test@example.org Now I want to send a mail FROM this test@example.org. My old ISP used to have a ...
user avatar
1 vote
1 answer
65 views

Postfix - Troubleshooting connection timeouts for all servers except one

I have inherited a postfix server running on RedHat. It is an undocumented build, but critical for business operations (Don't we all love those?) It has developed issues with delayed and backlogged ...
user avatar
  • 21
1 vote
1 answer
45 views

need explanation of postfix log send status

someone sent me an email but I didn't receive it this is what was in their log. Can't seem to find the documentation / explanation of the message status=sent (250 2.7.0 Ok, discarded, id=24684-20 - ...
user avatar
  • 121
0 votes
0 answers
18 views

Is there a way to set up a catchall username for all server domains?

I know there's a way to set a catchall for any username for a specific domain in Postfix's virtual file, but is there a way to do the opposite? To set up a specific username@ any domain to map to a ...
user avatar
  • 27
0 votes
0 answers
52 views

TLS authentication issues with Outlook + Dovecot + Postfix + CentOS 8

I hope you are well! I'm new with unmanaged VPS and I'm running a Contabo server with CentOS 8 and AaPanel my problem is with the SMTP connection with Outlook, my server is only accepting SMPT ...
user avatar
0 votes
0 answers
38 views

Postfix email forwaring Gmail warning

Domain DNS Configuration domain1.com. 3600 IN MX 10 mail.domain1.com. domain1.com. 3600 IN TXT "v=spf1 a mx include:_spf.google.com -all" POSTFIX ...
user avatar
0 votes
0 answers
13 views

How to configure Postfix to return enhanced response code

I'd like to return by Postfix 550 5.1.1 for some specific domains. I followed the manual and created the access file, with a single row: baddomain.com 550 5.1.1 The 550 is returned, but instead of 5.1....
user avatar
1 vote
1 answer
60 views

after postfix 3.5.6 upgrade, virtual alias maps to multiple recipients are treated as single names containing a comma

Just upgraded to debian bullseye postfix 3.5.6 from debian wheezy postfix 2.9.6. We use virtual alias maps to multiple recipients, like this one: jim@theidsp.net @theidsp-network.inter-realm.net,jim@...
user avatar
0 votes
0 answers
31 views

Postfix seems to ignore mynetworks?

I have a site, which relays automated emails from external system to pass on via authenticated SMTP of our provider. Recently the external system went haywire and started to generate hundreds of ...
user avatar
  • 533

1
2 3 4 5
124