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
1 vote
0 answers
22 views

How do I block the new TLD's in Postfix?

For the longest time it seemed like what I had in place lately worked fine to block many of these new TLD's like .shop, .online, .tech, etc. All of a sudden it seems like some are getting through and ...
Robert In St. Louis's user avatar
0 votes
1 answer
32 views

Reject SMTP login connections except ips on a white list

How to reject SMTP login connections on postfix from any IP except those on whitelist, (not rejecting the mail reception). Tried adding to main.cf under smtpd_recipient_restrictions = ... ...
slox's user avatar
  • 1
0 votes
1 answer
20 views

Which OS, SQL, Postfix and Dovecot files/folder need to be backup for disaster recovery?

I'm running an e-mail server (Postfix/Dovecot) on a Pi4, Buster OS. We want to setup a parallel Pi (same basic image) and use rsync to transfer critical files to this Pi using a cron job on a regular ...
RDK's user avatar
  • 23
0 votes
0 answers
27 views

Spamassassin not adding X-SPAM header

0 I've spent hours on websites, checked config files etc. But can't find the problem. Debian server, with spamassassin and postfix. Spamassassin is enabled (checked it on command line). In the mail....
Recif's user avatar
  • 101
1 vote
1 answer
40 views

How to include a display name when sending mail with mailx

I'm sending email from a script using mailx. The script is run daily by systemd, using .service and .timer files. For testing purposes I'm sending from the command line. The mail is sent with the ...
CatchAsCatchCan's user avatar
0 votes
1 answer
32 views

migrate courier on Debian 10 to dovecot on Debian 11 with Froxlor

I use [Froxlor][1] on a debian 10 server only to manage my customers email accounts. Installed is Courier 5.0.6 and postfix 3.4.23. I plan this to first upgrade to Debian 11 then migrate to dovecot. ...
rubo77's user avatar
  • 27.9k
0 votes
0 answers
48 views

Postfix delivers messages locally despite configuration for discovering external agent

A small node operates several web applications attached to a domain. The same domain is used for mailboxes, hosted off site by a commercial service. On the name server operated by the registrar, A, ...
brainchild's user avatar
0 votes
1 answer
36 views

Moving emails to a different disk

I have a homely postfix+dovecot server running in ubuntu. I need to move the email storage to a different disk. There is not much information available on how to proceed, most of the use cases refer ...
Yván Ecarri's user avatar
0 votes
1 answer
75 views

Postfix add header to outbound emails from a single host

Situation: I’ve got an app that sends weekly emails to about 30 friends. I can’t modify the app. I want it to have a list-unsubscribe header. No other emails come from this IP to my mail server that ...
Rhysers's user avatar
0 votes
0 answers
9 views

How to change sender "forge_ar[email protected]" in tuleap (project management software)

I have been testing tuleap (https://tuleap.net/doc/) and need change sender from "[email protected]" to [email protected]. Has anyone updated it yet? If you updated please help me.
Hai Dang's user avatar
0 votes
0 answers
120 views

timed out while receiving the initial server greeting

I'm trying to host a postfix mail server.I have a box with a fixed IP and also a mx record and spf record that link my box IP to my dns record. I can telnet to alt4.gmail-smtp-in.l.google.com 25 but ...
I_md_ou's user avatar
0 votes
0 answers
443 views

Postfix errors: No TLS, EmptyCertificate and Mail received as unauthenticated, incoming to a recipient domain configured in a hosted tenant

Previously, there were errors with Postfix complaining about no [No TLS] Jul 14 10:37:38 q03pmds postfix/smtp[81151]: A02F3FF9F4: host pel-com-au.mail.protection.outlook.com[104.47.71.202] said: 451 4....
supmethods's user avatar
0 votes
0 answers
64 views

postfix Peer certificate CN=`mint' did not match expected CN=`server.example.com'

postfix is complaining about it's cert? I have no idea how to fix it... It started out as a linux-mint distribution. The cert must have been created by linux-mint, hench the name 'mint'. Any help ...
user3014330's user avatar
0 votes
0 answers
24 views

Unable to receive email using postfix

I am playing with the postfix to send an email from azure pipeline through a task. I use Ubuntu 20.04 in the pipeline. Here is the task I created where I have simple bash script. sudo apt install ...
Jay's user avatar
  • 115
0 votes
1 answer
60 views

Failures while setting up mutt on Ubuntu 20.04

Following is my shell script which I am running on Ubuntu 20.04 as pipeline task. echo "line1" sudo apt-get update echo "line2" sudo apt install snapd echo "line3" #sudo ...
Jay's user avatar
  • 115
1 vote
2 answers
91 views

OpenBSD mail server getting too many hits to non existing emails

Server: OpenBSD 6.6 GENERIC#3 I'm recently working on an OpenBSD mailserver, it daily gets hits to not existing accounts, May 31 16:00:23 Makmx01 smtpd[57197]: 05844daf9b176227 smtp failed-command ...
AnilCpanel's user avatar
0 votes
1 answer
60 views

"mailx -a x.txt ..." hangs, while "cat x.txt | mailx..." works

As described in the subject, mailx -a somefile.txt -s "blah blah" [email protected] hangs, while emails sent via cat somefile.txt | mailx -s "blah blah" [email protected] ...
RonJohn's user avatar
  • 1,015
0 votes
0 answers
246 views

Postfix SMTP relay to Office 365

i trying to setup Postfix SMTP on my CentOS 7.8 i following https://www.middlewareinventory.com/blog/postfix-relay-office-365/ and got stuck on this error May 30 21:36:28 pbx12 postfix/qmgr[15174]: ...
Karta sounthe 's user avatar
0 votes
1 answer
86 views

Postfix: Transport for Email Forwarding

I've a Postfix setup with virtual users running just fine. Some of my users redirect their email to external email gmail accounts, for example: [email protected] is forwarded to [email protected] ...
TCB13's user avatar
  • 721
0 votes
0 answers
55 views

postfix: check_client_access of smtpd_client_restrictions not working

I have two access control files. One with IPv4 addresses which works, and one with domain names that doesn't seam to work. The file named blacklist contains IPv4 addresses and the file named ...
chmike's user avatar
  • 211
0 votes
0 answers
38 views

Restricting list address who can send email from server

i want to restrict only a specific list from my Ubuntu system running Postfix to send emails, of course i could receive external email ( sender/recipient) supposing my domain name is tt.net here's ...
Mirlo's user avatar
  • 101
0 votes
0 answers
73 views

How to configure MX on Postfix

I'm trying to configure Postfix version 2.10.1 on my server under CentOS 7, which relays emails sent to the mail server, but I have a problem setting the MX. Indeed, in my configuration, the MX used ...
Tony92's user avatar
  • 1
2 votes
2 answers
486 views

Configuring Postfix to return reject message to sender but deliver email anyway

I'm trying to find a way to have my Postfix server appear to reject emails from particular envelope senders while still delivering those same emails to their intended recipients. Microsoft's email ...
Rich's user avatar
  • 21
0 votes
0 answers
239 views

Mail relay allowing "internal" senders to mail only to our own domains unless they come from certain IPs or authenticate

Scroll to bottom for configuration snippets I have NewInternalMailserver being set up to relay for internal applications that have been hard coded for InternalMailServerURL. When mailing "our&...
Jan Gronemann's user avatar
0 votes
0 answers
59 views

Auth error when sending mail through Postfix with SSMTP (local server)

I'm trying to send mail from a banana pi running SSMTP to a raspberry pi running dovecot/postfix. I used Thunderbird to login to my mail server it showed three times saying "Unable to log in at ...
Lukas's user avatar
  • 1
0 votes
0 answers
57 views

telnet localhost 25 vs telnet localhost 587

I install a postfix with the following postconf -n:(however I changed my domain to example.com) alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no ...
PersianGulf's user avatar
  • 10.7k
0 votes
1 answer
127 views

How to have catchall dynamic virtual maps in Postfix

How do I make postfix (or whatever), save separately incoming mail to [email protected] to /var/emails/$anything. Currently I have setup simple virtualmaps, but am kinda stuck there. So, test@...
ManBehindTheCurtain's user avatar
0 votes
1 answer
281 views

Postfix deny all relay domain destinations except for relay_domains

Im running Debian 11 with Postfix 3.5.17 and I'm having trouble restricting the domains that clients can relay mail to (mail from submission). I've configured relay_domains to only be the specific ...
user avatar
0 votes
1 answer
127 views

Email from address in postfix log differ from the from address in Outlook

I have an email server that has been configured as follows: In the main.cf file: mydomain = example.com.au myhostname = mail.example.com.au myorigin = $mydomain relay_domains = example.com.au, ...
supmethods's user avatar
0 votes
1 answer
70 views

My Postfix submission service cannot be accessed remotely

I have a Postfix server that is working on port 25 (SMTP). I can use Thunderbird to send mails through this Postfix server. I followed these documentations: http://www.postfix.org/SASL_README.html#...
YuGiOhJCJ's user avatar
  • 113
1 vote
2 answers
173 views

Is my connection to my Postfix server encrypted?

I would like to use my Thunderbird client to send mails trough my Postfix server running on port 25 (SMTP). I would like an authenticated and encrypted connection. I followed these documentations: ...
YuGiOhJCJ's user avatar
  • 113
-1 votes
1 answer
31 views

Postfix version when service stopped

How can I check the version of postfix when the service is stopped and I can't start it now? I can't find files with this information because I can't use postconf now. The server is cloned from ...
Mchim's user avatar
  • 1
1 vote
0 answers
259 views

Postfix error log - Network is unreachable

I am getting a lot of "Network is unreachable". I did receive the email though but I am not sure why there are so many error message. Feb 9 11:01:13 nagios postfix/pickup[32736]: 57262A44F4:...
supmethods's user avatar
0 votes
1 answer
230 views

send e-mail with mailx in a bash script waiting if needed for the outcome

I'm writing a bash script that sends an e-mail with attachment to the local user root. I noticed that mailx forks some helper program and terminates instantly with exit status 0 even when the command ...
basin's user avatar
  • 1,941
3 votes
1 answer
450 views

Postfix log flooded with warning: end-of-input while reading request from tlsmgr socket: Application error

Recently, I encountered a postfix mail server being unresponsive due to high load, i.e. a high CPU usage. That means console and ssh logins didn't complete due to the load. Monitoring showed 100 % CPU ...
maxschlepzig's user avatar
  • 56.4k
1 vote
1 answer
110 views

NOQUEUE: reject: Helo command rejected: need fully-qualified hostname

I am running 3 x Win11 and 1 x Win10 all with Office 365 Outlook. 3 of the Outlook clients connect to a postfix/dovecot server just fine on my home NAT, and can tunnel through my router from the ...
Deepstop's user avatar
  • 111
0 votes
1 answer
61 views

How to print the entire contents of a sent mail for debug purposes?

I try to see the raw data of a mail that I sent with mail -s "My Subject" [email protected]. Is it possible, if so, how? Expected output is similar to: From: "root" <root@example....
Martin Braun's user avatar
0 votes
1 answer
305 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
0 answers
46 views

Postfix - configuration of blocking distribution groups

I'm new to the forum, so I apologize in advance for any mistakes in the post. As in the topic, I have been administering a postfix-based mail server for a long time. Basic configuration. Distribution ...
gab-pro's user avatar
0 votes
0 answers
31 views

Specific email sender address for website vhosts

I have Ubuntu 20.04 LTS server, with Apache2 (mpm_event), PHP 7.4 FPM, postfix (as a relay) installed. This server hosts several sites (WordPress). The problem is that the sites are sending by default ...
NukDokPlex's user avatar
0 votes
1 answer
228 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
412 views

The Error message "X-Postflix ; SMTPUTF8 is required, but was not offered by host" reported for sending to 40 contacts on outlook but not for 5

I tried to send an email to 40 contacts but after sending it I received an email per contact saying that the email could not be sent and the error code in the title When I split my contact list into ...
Tom7510's user avatar
0 votes
0 answers
148 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
140 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
  • 59
0 votes
1 answer
895 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
47 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
158 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
39 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
  • 422
0 votes
0 answers
23 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
29 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

1
2 3 4 5
16