Questions tagged [postfix]

Postfix is Wietse Venema's mail server that started life at IBM research as an alternative to the widely-used Sendmail program.

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

Return path empty, therefore, dynamic SPF lookups based on client HELO domain?

My mail server is setup with the domain example.com. I created a subdomain lists.example.com which is an CNAME to my example.com. My example.com has a valid SPF, DMARC and DKIM when I email from ...
AquaL1te's user avatar
0 votes
1 answer
379 views

What hostname to put in main.cf for self-hosted postfix, behind HAProxy?

Pfsense (HAproxy as reverse proxy)—->Unraid I run postfix on Debian Bullseye VM (under Unraid) on my home server. It is up and running. I can send the mail out but can’t receive any incoming mail. ...
bthoven's user avatar
0 votes
0 answers
195 views

Duplicate message delivery to always_bcc with dovecot and Simple Content Filter (Postfix)

I'm trying to set up a postfix mail server using A Simple content filter (http://www.postfix.org/FILTER_README.html#simple_filter) dovecot as a delivery agent. always_bcc to keep copies of every mail ...
Yanko Hernández Álvarez's user avatar
0 votes
1 answer
209 views

Server won't send email to specific address

I set up a new RHEL 8 server and it won't let me send email to a specific address. If I do: mail -s "Testing" [email protected] < /dev/null it fails and the logs show Dec 8 07:59:46 yln ...
Chanel's user avatar
  • 99
0 votes
2 answers
1k views

Unable to Open SMTP Port (25, 587) on Vultr

I'm using Vultr for Web Hosting and according to them they have unblocked all SMTP Ports (25, 465, 587, 2525). Now after setting up apache server and installing Postfix, Dovecot and SpamAssassin when ...
MAY's user avatar
  • 101
1 vote
0 answers
61 views

gmail rejecting (postfix) .forwarded messages

For 15 years I've been forwarding email from my lab's mail server to gmail using a .forward file that has nothing but a single line containing my gmail address, and it has worked fine until recently. ...
Pat Morin's user avatar
  • 111
0 votes
1 answer
302 views

Setting up a home email server using postfix

I have an extra desktop at my house that I want to turn into a email server with postfix and dovecot. I did set it up and can send internal emails on my subnet, 192.168.2.0/24. I configured the ...
meanthatmuchtoyou's user avatar
-1 votes
1 answer
41 views

How can I email myself a file inside a server?

I have a file access.2022-11-10.txt How can I send this file to my email ? I've tried : cat access.2022-11-10.txt | mail -s "TEST" [email protected] I see nothing arrive
code-8's user avatar
  • 442
0 votes
0 answers
26 views

Ubuntu - Postfix package deletion consequences

We have postfix package installed by default on our Linux Ubuntu system. For some reasons, we need to delete it from the system, is there any consequences for that? Please note that, we hasn't ...
MAAN SHARBAJI's user avatar
0 votes
0 answers
36 views

How can Postfix smtp server scan or calculate the md5sum of an attachment while it enters to my server?

How can a Postfix SMTP server scan or calculate the md5sum of an attachment which arrived to my server? The issue comes from a recurring attachment that is sent with different body and different email ...
superlinux's user avatar
0 votes
0 answers
157 views

Rsyslog program name for postfix processes (qmgr, lmtp, cleanup)

I would like to filter out the sub-programs of postfix (qmgr, lmtp, and cleanup) on Debian 11, rsyslog 8.2102, and postfix 3.5.13 The logs appear like this: Oct 28 20:06:10 mail postfix/qmgr[915]: ...
user avatar
1 vote
0 answers
82 views

CentOS 6/7 to AlmaLinux 8: Migrate printers and postfix

I plan on setting up AlmaLinux 8 servers for all future upgrades of servers. I would like to migrate the configuration from the old SMTP server and CUPS setting to the new server. I was thinking of ...
supmethods's user avatar
1 vote
0 answers
151 views

postfix: conditionally ignoring certain "User unknown in virtual mailbox table" errors when using a milter

NOTE: I have voted to close this question here, and I'm moving it to ServerFault, where there seem to be more questions and answers involving postfix. I'm running postfix version 2.93 under Debian 8, ...
HippoMan's user avatar
  • 595
3 votes
1 answer
2k views

Postfix Error while loading shared libraries: libmysqlclient.so.18

When I try to start postfix I get these errors: /usr/sbin/postconf: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such...r directory /usr/bin/...
SeniorDeveloper's user avatar
3 votes
2 answers
1k views

Modifying specific SMTP messages while in transit using a Postfix Filter

I'm looking to set up a simple Postfix server that can modify the content and recipient of some specific SMTP messages. I'm not super confident in my approach so far and feel like I missing some ...
Peter Walker's user avatar
0 votes
1 answer
37 views

Postfix Server not accepted by Gmail

I have been sending emails from my server for 3 years now all of a sudden the emails bounce when sent to a gmail address - all other addresses are fine - I do not have a rDNS - my score with ...
Karl's user avatar
  • 1
1 vote
1 answer
345 views

postfix/dovecot temporary failure

Incoming mail gets deferred and never delivered. I have no idea what I'm missing as I usually only setup outbound relays. Any direction here would be greatly appreciated. Specific log Sep 19 19:55:41 ...
Double's user avatar
  • 53
1 vote
1 answer
109 views

Error when I try to send email from one server to another on the same internal network

I posted this question on a different forum but it was deemed to be off-topic. I hope this time I have an appropriate forum. We have two e-mail servers on the same internal network, for example 10.0....
RDK's user avatar
  • 23
1 vote
0 answers
36 views

I don't receive notifications about new emails

I set up postfix + dovecot, and everything works, but I don't get notifications about new messages, the inbox is updated only when I open Outlook or another client, perhaps need to use some MDA? in ...
user19620391's user avatar
1 vote
0 answers
297 views

Postfix rejecting outgoing emails because of "Relay access denied." | "generic_checks: name=reject_unauth_destination status=2"

I am currently rolling out a Postfix/Dovecot configuration on our servers to replace our monolithic mail server. On the test enviroment I have everything set up and it worked there. Now I am rolling ...
spyro95's user avatar
  • 11
0 votes
0 answers
199 views

Is it possible to configure Postfix to receive emails on any email address on a domain name I control?

The question is mainly stated on the title. I was wondering if it is possible to configure Postfix in such way. More specifically, if I control domain "example.com" I'm asking if I will be ...
tur11ng's user avatar
  • 157
1 vote
1 answer
2k views

How can I force PHP to go through my local Postfix SMTP instead of going straight to the destination?

I have a website with forms where users can send us requests. In addition, the site sends a predefined email to the client. The form receives spam (big surprise) and I'm trying to block emails from ...
Alexis Wilke's user avatar
  • 2,817
0 votes
1 answer
2k views

How do I check if my postfix email server is using SSL?

I have an Ubuntu mail server running postfix version 3.6.4. I configured postfix to use ssl by adding the following lines to /etc/postfix/main.cf: # TLS parameters smtpd_tls_cert_file = /etc/...
trouble_bucket's user avatar
1 vote
1 answer
300 views

How to use remote postfix relay that uses external smtp

Below is my use case I want to send email via postfix relay that refers another postfix relay server which is using an external SMTP server: [client] --->[Postfix1]---->[Postfix2]----->[...
Samurai's user avatar
  • 55
0 votes
1 answer
3k views

Disabling Postfix on Ubuntu 20.04 on startup

How can I disable postfix/post drop during startup? If I am using a custom Ubuntu 20.04 image, is there a way to remove postfix from the default installed binaries? This is for a project I have just ...
Macondoman's user avatar
0 votes
0 answers
88 views

Why does my EC2 AWS instance receive timeouts sending mails via postfix?

I am trying to set up a postfix mailserver for outgoing mails on my EC2 instance. Basically i do not understand why the server times out pinging external hosts: Postfix is set up correctly and with a ...
Fabian Schmidt's user avatar
0 votes
2 answers
190 views

CUPS Error log quickly filling up

The CUPS error log is quickly filling up. In a few days, it has filled up to 1.8GB. I need help identifying the reason why the log has filled up so quickly. Here's a snippet of the error log: D [15/...
supmethods's user avatar
2 votes
1 answer
37 views

Is there a DNS-based policy like SPF or DMARC to require STARTTLS sessions for a given domain?

Ignoring the fact that not all mail servers support TLS: Is there a way to announce to the world that we would prefer that our inbound mail be delivered via TLS and verified as signed by a trusted CA? ...
KJ7LNW's user avatar
  • 435
0 votes
1 answer
1k views

Postfix : setting relayhost to Office 365

I am trying to relay emails to Office 365 and have configured postfix as follows: meta_directory = /etc/postfix shlib_directory = /usr/lib64/postfix myhostname = mail.disorderly-order.com mydomain = ...
supmethods's user avatar
0 votes
1 answer
407 views

Can Postfix require TLS per-domain for inbound _and_ outbound addresses (or IPs)?

I want to reject email from certain senders (ie, the MAIL FROM sender) whose domain appears in a type:table map if the transport is not via STARTTLS. So if [email protected] sends an email then I ...
KJ7LNW's user avatar
  • 435
0 votes
1 answer
852 views

Postfix not logging authentication failures

I have a postfix server running on Ubuntu 18.04lts with authentication enabled. (from main.cf) smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination ...
symcbean's user avatar
  • 5,507
0 votes
1 answer
451 views

Oracle Linux postfix conf SMTP - Default sender 'from' issue

How do I specify a default sender 'from:' address in postfix config for emails through smtp? I'm trying to send emails through SMTP and a relay from two different servers with Oracle Linux 8 The ...
Ricardo's user avatar
0 votes
1 answer
166 views

How to edit DMARC report message?

There is a mail server (postfix), which has DKIM, SPF and DMARC policies configured. All of them are PASSED, system works perfect. As an administrator, I receive these kind of letters everyday: ...
it dev's user avatar
  • 315
1 vote
0 answers
68 views

Cannot properly send email in MacOS via postfix

Telling story short. My MacOS version is: 12.4. In /etc/postfix/: In sasl_passwd i have: smtp.emailsrvr.com:587 <myEmail>:<password> In main.cf i have: # custom POSTFIX email sender ...
MyNameIsNeXTSTEP's user avatar
-2 votes
1 answer
169 views

Impossible to create an email address from the postfix admin

Good morning, I am doing a year-end project which consists in creating a postfix mail server, I arrived at the creation of emails except that when I want to create an impossble mail addendum I have ...
LucasGr12's user avatar
1 vote
0 answers
568 views

Rate Limiting Outgoing via Relay Host

How do I get per domain rate limiting in Postfix? I have a Postfix server that's behind a relay host. The relay host is our MS Exchange bridge. The relay does not perform any throttling, nor will it ...
titanofold's user avatar
1 vote
1 answer
205 views

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

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 ...
Johsua's user avatar
  • 19
0 votes
1 answer
173 views

Postfix can send to everywhere except Comcast?

I have a VPS running CentOS that hosts a few websites with email. It's recently come to my attention that outgoing emails to @comcast.net addresses are not delivering. I've observed that these ...
The Megatron Man's user avatar
0 votes
1 answer
282 views

How can I store emails on an external drive with Postfix/Dovecot?

So I set up a a Postfix/Dovecot server on my Raspberry Pi, and I wanted to be able to actually store the emails themselves I have on an external SSD I have since my SD card is 32 GBs and my SSD is ...
Temmie19's user avatar
0 votes
1 answer
498 views

postfix + dovecot server successfully by client mail app problem to add account to this server

I need help to solve this problem. I setup a postfix and dovecot server and have some problems with the mail client. I can received the mail and reply from the postfix. Just cannot setup a mail client ...
Choong Leng Low's user avatar
0 votes
1 answer
1k views

Postfix doesn't send emails until after systemctl restart postfix

I'm been trying to set up smtp postfix on Ubuntu 18.04. I've finally got it so that gmail recipients see SPF and DKIM pass (although it still ends up in the spam folder, not sure why?) However, when ...
Joseph's user avatar
  • 111
1 vote
2 answers
4k views

Rejecting Email with Postfix smtpd_sender_restrictions

I'm having some trouble blocking email sent with a particular "From" address. The email header looks like this: From: "Levi Spammer" <[email protected]> My postfix ...
Scott Hollenbeck's user avatar
0 votes
0 answers
99 views

How to set up postfix to relay outbound mail only?

I have a postfix/dovecot server in Linode. However many times my outgoing mail is being rejected because Linodes IP's are on blacklists. To solve this issue I signed up to Amazon lightsail and created ...
Aditya K's user avatar
  • 2,040
0 votes
0 answers
520 views

Mail sent to root never arrives

If I send emails with echo "test" | mail -s "Test" myuser echo "test" | mail -s "Test" root /var/log/mail.log contains Apr 7 16:30:30 ScotLX postfix/pickup[...
ottotts's user avatar
  • 13
0 votes
2 answers
817 views

Disable postfix from emailing sender

We email customers their voicemails from [email protected]. I see that Postfix is trying to send out a lot of emails to [email protected]. I assume this is either delivery reports or ...
Dovid Bender's user avatar
0 votes
1 answer
1k views

Send-only SMTP mail via postfix rejected by relayhost (550-Please turn on SMTP Authentication)

I want to configure a Centos 8 machine to send emails via an external SMTP relay. (I control the Centos box and have no control over the external relay). I've read countless posts on how to set up ...
Danny's user avatar
  • 583
0 votes
1 answer
484 views

How do you use the `postconf -Me ...` option?

I'm trying to use the postconf(1) command to add a new entry to the master.cf file like so: $ sudo postconf -e -M 'submission/inet=private=n unpriv=- chroot=y wakeup=- maxproc=-...
Alexis Wilke's user avatar
  • 2,817
0 votes
1 answer
450 views

postfix dovecot mysql - I can send mail, dont see any new mail

I'm trying to rebuild a debian based internet mail server running Postfix + Dovecot using mysql as a virtual mailbox backend. The server turned into confetti after an update broke a lot of things. ...
bradboy's user avatar
  • 103
3 votes
1 answer
1k views

Why would postfix/smtpd DNS lookup fail?

I am preparing a replacement for a 2 years old mail server — Postfix on Debian. The changes are: amd64 → arm64 Debian 10.2 → 11.2 Postfix 3.4.7 → 3.5.6 The configuration stays the same. When I try ...
Greendrake's user avatar
1 vote
1 answer
616 views

Dovecot - cannot move email out of inbox [closed]

Background ... I had an HDD go bad in an Ubuntu 20 server. I build an Ubuntu 20 server in a completely new machine, then moved as much as I could from the errored HDD to the brand new RAID. Part of ...
burtzerk's user avatar

1
2
3 4 5
16