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
6 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
  • 1
-1 votes
1 answer
41 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
28 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
20 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
74 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
56 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
53 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
21 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
33 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
23 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
10 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
9 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
129 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
  • 11
0 votes
0 answers
41 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
0 votes
0 answers
26 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
  • 1
0 votes
1 answer
24 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 ...
cicoria67's user avatar
0 votes
1 answer
41 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
  • 615
0 votes
0 answers
18 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
221 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
-1 votes
2 answers
1k 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
39 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
203 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
241 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
0 votes
0 answers
24 views

Fix postfix/dovecot to accept local connections on the same VM-host

I have a root-server with some VMS. 10.77.77.101 is the mail server and 10.77.77.107 (vm07) is a PHP webserver running Wordpress. Sending and receiving mails with Thunderbird works fine. Sending mails ...
rubo77's user avatar
  • 29.4k
0 votes
0 answers
209 views

How to install Postfix 3.7.4 or newer (ex: 3.8.3) on AlmaLinux, Rocky, CentOS and other RedHat 9.2 derivatives

I'm on AlmaLinux 9.2 (Turquoise Kodkod) with the most recent Postfix version available being 3.5.9, and I’m facing an issue with Postfix and OpenSSL 3 (link) which was fixed on Postfix 3.7.4. I saw ...
Paulo Coghi'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
68 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
0 votes
0 answers
129 views

Postscreen dnsbl logs

I'm using postscreen dnsbl configuration to block some spam: postscreen_blacklist_action = drop postscreen_dnsbl_threshold = 4 postscreen_dnsbl_action = enforce postscreen_dnsbl_sites = zen....
anon123's user avatar
1 vote
1 answer
1k 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
73 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
42 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
49 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
205 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
497 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
81 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.4k
0 votes
0 answers
111 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
146 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
598 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
18 views

How to change sender "[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
667 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
1k 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
201 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
155 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
222 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
164 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,154
0 votes
0 answers
504 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
209 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
  • 741
3 votes
2 answers
1k 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
0 votes
0 answers
121 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
0 votes
1 answer
416 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@...
vytaux's user avatar
  • 53

1
2 3 4 5
16