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.
776 questions
0
votes
1
answer
35
views
Postfix: forcing postfix to use port 465 for all outgoing mail delivery
Suppose and external mailserver force the use (allow only) of port 465.
Postfix by default use port 25. So when I try to send an email postfix exit
with error "no route to host" and don't ...
0
votes
0
answers
84
views
Sendmail wont work for my ubuntu terminal server (Ubuntu 24.04.2)
I'm currently attempting (and failing) to set up an SMTP mail server on my Ubuntu server so I can recieve emails from the contact page of my php based website. I was planning to send these emails ...
0
votes
0
answers
26
views
postmap mangled output
Why is postmap returning the action mixed in with the input header?
# < test.eml postmap -q - regexp:test_HC
Return-PREDIRECT [email protected][email protected]>
# cat test.eml
Return-Path: &...
1
vote
0
answers
130
views
Envelope and from address rewriting for local mail
When delivering local mail via Postfix, I would like to rewrite both the envelope and the from header. For the envelope, I configured a sender_canonical_map (which works well), but the header_checks (...
0
votes
0
answers
29
views
Handling of local mail by Postfix
I have three servers (web, social, mail) on which a root cronjob is executed nightly. For two of the servers (web, social), the cron notification is delivered through the local Postfix MTA to the ...
3
votes
1
answer
87
views
unattended-upgrades uses wrong hostname after switching from msmtp to Postfix
I recently switched from using msmtp to Postfix as MTA on one of my servers. unattended-upgrades used to send notifications with the content of /etc/hostname (webserver.example.org), but now it uses ...
-1
votes
1
answer
71
views
`postmap -s` returns output but `postmap -q` does not
postmp -s lists the contents of the test file, but postmap -q does not match queries. What am I missing?
Postfix Version and Test File
[root@relay postfix]# rpm -q postfix
postfix-3.9.0-8.fc41.x86_64
...
0
votes
0
answers
151
views
Postfix/Dovecot configuration to gmail as relay
Does any one have a complete configuration of using Dovecot to handle OAuth2 tokens to allow Postfix to send mail to gmail? Most use cases found are either too old or not complete. I have done the ...
0
votes
1
answer
77
views
How to configure 2x Postfix MTAs [closed]
I want to run an email server for myself (I'm leaning towards postfix), but I need it to look something like this:
[MUA] <-> [Home MTA] <--> [External MTA]
The Home MTA sits on a ...
0
votes
1
answer
95
views
What DNS records are needed to ensure pop3 delivery from external mail senders succeeds?
My setup:
Network: Low spec vps server,
Mail server: postfix + dovecot + mysql,
OS: ubuntu 16.04 (to be upgraded once mail config is complete).
I have a single domain (call it mydomain1.com) ...
0
votes
0
answers
171
views
Can Postfix be used to deliver e-mail internally only?
I've set up a Rocky server and would like to deliver notifications from apps internally using Postfix (rather than needing to look at logs). An example would be smartd delivering an e-mail when there ...
0
votes
1
answer
56
views
Postfix Mail logs Alert
Is there a way via script to set an alert when an application is sending high volume of messages in short amount of time (5min)?
My goal here to have us notified when some application spamming or ...
0
votes
1
answer
166
views
How to apply a filter only for some domains in postfix
I'd like to know how I can apply a filter for some domains and not for some others.
I tried with access db but the filter is applied to all incoming mails.
It seems that access db isn't taken into ...
0
votes
0
answers
91
views
opendkim-testkey gives error, but no explanation
I'm setting up opendkim on Linux. When I send an email, the dkim does not pass. In doing diagnostics I ran.
opendkim-testkey -v -v
and it returned,
opendkim-testkey: using default configfile /etc/...
0
votes
1
answer
1k
views
Ubuntu 24.04, postfix and spamassassin
I was running Ubuntu 23.04, with postfix, with spamassassin installed as a service with systemctl. At the weekend I upgraded the distro to 24.04 and have now discovered that postfix is no longer able ...