Skip to main content

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
0 answers
21 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 ...
PeteC's user avatar
  • 1
0 votes
1 answer
16 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 ...
manwithamission's user avatar
0 votes
1 answer
18 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 ...
Jean-Luc Bourguignon's user avatar
0 votes
0 answers
21 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/...
VectorVortec's user avatar
0 votes
0 answers
51 views

s-nail error: cannot configure mailboxes on virtual mail server

I am trying to send mail from the command line as root using s-nail via a SMTP server. I have a bespoke /etc/.mailrc file associated with an account with the login details of the SMTP server. My MTA ...
cavallad's user avatar
0 votes
0 answers
29 views

Postfix mail flow confusion

i have question about the flow that an incoming email message goes trough the Postfix processes. According to Postfix documentation here: https://www.postfix.org/MILTER_README.html it seems to be that ...
CSM MX's user avatar
  • 11
0 votes
0 answers
27 views

How do I use SSL and SASL for dovecot sieve autoreplies?

Dovecot's sieve can send its autoreplies via another SMTP server. But I can't find in the documentation anywhere how to configure authentication and certificates/ssl for this connection. Currently my ...
npr_se's user avatar
  • 3
0 votes
1 answer
560 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 ...
Ant Kutschera's user avatar
1 vote
0 answers
56 views

SASL authentication - first local and then AD in postfix

I am trying to setup sender access maps for restricting mail from address. However want to allow specific users to use different mailfrom. Users are authenticated by sasl (AD authentication configured ...
sunny_hkhk's user avatar
0 votes
1 answer
106 views

How to set absolute postfix Maildir NOT within home directory ? mail_spool_directory does not work

I have installed Postfix from source in the top level directory /srv/mail/. I edit the main.cf file and add: home_mailbox = mail/ When I then send a mail with: sendmail -t localuser@localhost > My ...
user10709800's user avatar
0 votes
1 answer
139 views

Is setting up an Email Server to send-receive emails between email-clients possible over the internet?

Have tried using postfix and claws-mail to accomplish the objective. Failed. I am missing crucial information. Assuming that the ISP I am subscribed to doesn't provide email services or servers for ...
Rajibando's user avatar
0 votes
0 answers
150 views

How to forward one email to two SMTP server using postfix?

My Requirements I have two email servers, james and winmail. They hold same users, for example, account [email protected] exists both in james and winmail. When someone sends a email to [email protected], I ...
GStarP's user avatar
  • 1
1 vote
1 answer
105 views

When sending email through bash script in cron it goes to root

Edit: I'm so embarrassed. I had a typo in the script name. So the email was crontab trying to tell me it couldn't find the script. So it was trying to email root because the cronjob failed and I set ...
philfry's user avatar
  • 11
0 votes
0 answers
75 views

How to configure postfix to pipe all incoming email to a script using Plesk?

Basically, I'd like the same functionality as in this question. I only run into the issue that whenever I add transport_maps = hash:/var/spool/postfix/plesk/transport, hash:/etc/postfix/transport to ...
unwej_justenese's user avatar
0 votes
1 answer
100 views

Postfix TLS Anonymous and Untrusted

We use Postfix on a RHEL server to distribute email to our opted-in users each morning. We recently enabled smtp (outbound) TLS. The majority of our email is delivered on Trusted TLS Connections. ...
Greg Sims's user avatar
  • 211
0 votes
0 answers
33 views

Postfix Sender and Recipient Restriction

I am trying to add additional security from my postfix relay server we have an ACL whitelisting file, i would like to add the feature that can block by sender and recipient address even the IP is ...
manwithamission's user avatar
0 votes
0 answers
13 views

postfix mailing not working

I have a cron job and at the top have the [email protected] after my cron jobs run i was hoping for an email but I receive nothing Apr 29 10:00:01 momspi postfix/pickup[13242]: B432C89D70: uid=...
owen gerig's user avatar
0 votes
0 answers
12 views

How instruct postfix to avoid relay to my organisation's mail server when it could send it locally?

I have postfix on two linux machines in the same domain (only the last part of the IP's differ); call them A and B. They need to communicate with each other by email. Recently I had to relay mails ...
Kompass17's user avatar
0 votes
2 answers
214 views

emails rejected from various Linux based systems due to perceived header syntax failure when using distribution lists

What am I missing... Given: Linux-stack based email server system (hosted) with webmail component. Various email clients and other webmail systems involved and tested with this. We are distributing ...
mgw's user avatar
  • 13
0 votes
0 answers
86 views

How to configure local smtp server sendmail/postfix to occur error 503 5.5.4 send AUTH command first?

I want to achieve sendmail/postfix configuration as in smtp.yandex.ru to make error "503 5.5.4 send AUTH command first" occur after: telnet localhost 25 EHLO test MAIL FROM: user@hostname ...
Duo Duoo's user avatar
1 vote
0 answers
83 views

Rspamd tries to load dkim signing key althought the dkim_signing module is disabled

I'm using Rspamd as part of my MTA setup. For signing the outgoing mails, I decided to use OpenDKIM instead of Rspamd so I disabled the Rspamd's dkim_signing module. To accomplish this, I simply ...
CSM MX's user avatar
  • 11
0 votes
1 answer
42 views

Amavis problem with quarantined email vanished

I've a postfix server with Amavis (v. 2.13.1). When i receive a spam email...Amavis correctly block it but....email seems delivered but...discarded?! This is the log of a message: Apr 2 19:28:17 ...
ancoling67's user avatar
0 votes
1 answer
61 views

How to get dovecot to use postfix mailbox?

I try to get postfix and dovecot up and running. I have a little problem with the mail-box path that connects both. Postfix virtual_mailbox_base = /var/vmail virtual_mailbox_domains = mydom.org ...
chris01's user avatar
  • 771
0 votes
0 answers
26 views

How to configure Postfix with PHP on web server to rewrite to hosting domain, not to server FQDN?

I might not phrase the question corectly as I obviously have limited knowledge. So hope I will explain corectly. I setup Ubuntu + LiteSpeed web server with PHP. I intend to run a dozen of web pages ...
Labsy's user avatar
  • 1
0 votes
1 answer
352 views

Installing mailman3 on Debian bookworm with external mail postfix server

I would like to install mailman3 on my debian box (bookworm), but use an already existing postfix mail server on another host (can that be done?). I have the following settings in the mailman.cfg file ...
TomS's user avatar
  • 113
0 votes
2 answers
2k views

Ubuntu server 22.04 Postfix/Dovecot error: postfix/smtpd fatal: no SASL authentication mechanisms

Following the Ubuntu's official guide Install and configure Postfix, when I run telnet localhost 25 I get Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Connection closed by ...
schrodingerscatcuriosity's user avatar
0 votes
1 answer
45 views

Split messages from one inbox to another 2 inboxes based on content

is there a way via Postfix and or procmail for example or another software to forward e-mails from one inbox to another 2 inboxes where each message goes either to one inbox or the other based on ...
Alexander Petrov's user avatar
0 votes
1 answer
464 views

Postfix TLS error message

I have a strange message in my Postfix server (on Debian 12) and only when receiving a message from Outlook: postfix/smtpd[1621610]: connect from mail-vi1eur02olkn2098.outbound.protection.outlook.com[...
john75's user avatar
  • 1
0 votes
1 answer
335 views

Force Postfix' /usr/sbin/sendmail to use SMTP

I have written a tool in PHP (on Linux) sendmail mails via mail() (unfortuenately PHPMailer is not an option due do missing support for some required stuff). PHP ignores all SMTP settings on linux so ...
Schubi Duah's user avatar
1 vote
0 answers
63k views

postfix configuration for user-xxx@domain

I'm trying to configure postfix to allow user x @ mydomain.yyy to accept email to any address of the form x[-.*]@mydomain.yyy so [email protected], [email protected], [email protected], .... What i ...
anewbie's user avatar
  • 83
0 votes
0 answers
97 views

Sendmail message / header rewrite remove "behalf of"

How could I remove this in the email message being sent out through sendmail? Is there something that one can do to revise sendmail.mc? I read this reference already which didn't solve my issue. Name &...
Sendmail Fan's user avatar
1 vote
1 answer
2k views

How do I resolve a TLS Error associated with smtpd?

I found the following in the logs: sssd_kcm[425899]: Starting up postfix/submission/smtpd[425910]: initializing the server-side TLS engine postfix/submission/smtpd[425910]: connect from unknown[::1] ...
twohot's user avatar
  • 11
1 vote
0 answers
156 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
48 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
62 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
1 vote
0 answers
272 views

Spamassassin not adding X-SPAM header

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.log, ...
Recif's user avatar
  • 111
1 vote
1 answer
701 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
123 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
  • 29.9k
0 votes
0 answers
130 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
186 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
777 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
969 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
1 vote
0 answers
2k 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
247 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
1 answer
190 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
264 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
238 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,164
0 votes
0 answers
600 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
357 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
  • 751
3 votes
2 answers
2k 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
  • 51

1
2 3 4 5
16