Questions tagged [postfix]

Postfix is a free and open-source mail transfer agent (also "MTA"), written in 1997 and still actively developed.

Filter by
Sorted by
Tagged with
0 votes
2 answers
51 views

Why is Postfix using a lookup table?

I am trying to send mail locally using Postfix. What I can't understand, is why a lookup table is being used. I am attempting a minimal Postfix build from source, so have omitted berkley DB support. ...
user10709800's user avatar
1 vote
0 answers
21 views

What are OpenSSL 3's "auto" DH parameters?

The Postfix documentation says the following: With Postfix ≥ 3.7, built with OpenSSL version is 3.0.0 or later, if the parameter value is either empty or "auto", then the DH parameter ...
Grant Gryczan's user avatar
0 votes
0 answers
63 views

Postfix: check sender IP but don't reject

I need to do the following with Postfix: when receiving mail from remote server, check sender IP with various blacklisting services (e.g. spamhaus or abuseipdb), but avoid rejecting mail automatically,...
Eugene's user avatar
  • 101
0 votes
0 answers
159 views

How to configure a postfix mail server for multiple domains with SPF, DKIM & DMARC?

I have a postfix mail server that is properly configured to receive and send mails for A.com. SPF and DKIM are configured. I still have to configure DMARC. The reverse DNS is set for A.com. I would ...
chmike's user avatar
  • 215
0 votes
0 answers
150 views

OpenSMTPD from address rewrite

I am trying to use OpenSMTPD to re-write all instances of the from-address in an email header. Here's the scenario I'm trying to solve for... I have an email distribution list that various people ...
mikem's user avatar
  • 476
0 votes
0 answers
168 views

New user does not have a Postfix `Maildir` directory?

I am attempting to have multiple user accounts, each capable of receiving their own mail in their own Maildir directory. When I add a new user account however, no Maildir directory structure is ...
user10709800's user avatar
0 votes
0 answers
152 views

How to correctly use Postfix virtual aliases?

All emails sent to my email server arrive in the inbox of root, regardless of the user specified in [email protected]. My virtual file in /etc/postfix/virtual is: [email protected] username1 query1@...
user10709800's user avatar
0 votes
0 answers
91 views

Multiple Domains, Single IP Blocked by Gmail

I have two domain names and 1 email server. When I send an email from my server to my gmail account, and then view the original message, emails from both domains are stated to: Pass SPF Pass DKIM ...
user10709800's user avatar
1 vote
0 answers
25 views

How to prioritise one domain name over others in rDNS?

I have a single remote server and multiple domain names. This server hosts webpages under certain domain names - say domain1.com - and hosts a webpage with an associated mail server under a separate ...
user10709800's user avatar
2 votes
0 answers
138 views

Mail Server and Google Mail

Issue I have just set up an email server using Postfix, POP3 and IMAP, following the instructions listed here: https://help.ubuntu.com/community/PostfixBasicSetupHowto Sending/receiving mail locally ...
user10709800's user avatar
0 votes
0 answers
517 views

NOQUEUE: reject: RCPT from unknown[x.x.x.x] in Postfix

I cannot either receive or send e-mails from my Postfix server. by seeing the mail.log file, I see errors like this: Dec 15 22:11:49 zeus postfix/smtpd[17078]: NOQUEUE: reject: RCPT from unknown[163....
jstuardo's user avatar
  • 297
1 vote
0 answers
175 views

Let postfix reject unauthenticated emails from my own domain

I have an email server running on Debian11 with postfix. I have strict restrictions implemented (SPF, DKIM, ...) to prevent spam. Works fine so far. But recently I just realized every guy with a valid ...
Christian's user avatar
0 votes
0 answers
32 views

Using postfix, how to replace _sender_ address with a specific value, depending on the _destination_ address?

I have a peering SMTP server (say, example0.test) that is rejecting all mail that is not sent from a specific address. (Say, [email protected]). In postfix, whenever it sees a mail sent to '.*@...
user10732's user avatar
0 votes
0 answers
160 views

How do I setup DNS for a local email server with a SMTP relay

I'm trying to move my mail server (multi domain) to my home to increase security/privacy. Therefore I set up a local server and a SMTP relay (postfix) on a hosted VPS (because of static IP, etc.). ...
cpt_wonderful's user avatar
0 votes
0 answers
96 views

Postfix is slow and IO hog

I have an smtp-server on java which I find rather slow. Tried other smtp servers for reference and found that postfix (cpp?) and samotop (rust) are even slower. I'm running smtp-servers on the same ...
Oleg Gritsak's user avatar
0 votes
0 answers
61 views

Warning with NO consequences: postfix/trivial-rewrite[]: warning: relay_domains lookup failure

I get the below warning in the mail log file. postfix/trivial-rewrite[]: warning: relay_domains lookup failure The mail server is working well without any issues. What can this error mean? Running ...
Senthil's user avatar
  • 499
0 votes
0 answers
165 views

How to properly configure a postfix satellite server with reverse DNS?

I administrate a network which has a central mail server that sends all mail, and one of our sites uses a relay host to pass on the mail through the main mail server. Lately, we've been running into a ...
Justin Folvarcik's user avatar
0 votes
0 answers
135 views

Strugging to send email to my gmail account

I have a home mail server for receiving mail. However if I send mail I have to send through a VM in the cloud because it has a non blocked static ip address I have a gmail account which I have been ...
akc42's user avatar
  • 123
0 votes
1 answer
2k views

If I am Sending Emails On Port 587 Why Do I Need To Allow Port 25 In My Firewall For Postfix

I am using my postfix smtp to send ONLY outgoing emails. It will not receive incoming messages. I have my mailbox at Namecheap for that. I use a client called Mailwizz to connect my Postfix SASL user ...
Digital Joe George's user avatar
1 vote
1 answer
2k views

Change Postfix Sender Envelope MAIL FROM Address To Match Return Path Header Email For Multiple Domains

I need some serious help guys. I am fairly new to postfix but have spent countless hours researching about my question. Let me cut to the chase... I would appreciate your responses entirely and please ...
Digital Joe George's user avatar
0 votes
0 answers
58 views

Postfix bouncing valid emails

I've installed postfix on a lamp stack with multiple vhosts, with a the below configuration: myhostname = myserver.home alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /...
Instream's user avatar
0 votes
2 answers
1k views

Web based email client for postfix

I decided to run a self hosted email server for fun. I installed and setup Postfix and S-Nail on a Ubuntu VM. Everything works perfectly and I can send and receive emails. Now that I got that done I ...
CommodoreXeon's user avatar
1 vote
1 answer
530 views

How do I route (send) mail through a WireGuard Tunnel when sending email from one of my self-hosted domains?

The Issue: Mail is not going OUT over the WireGuard tunnel. The Question: How do I configure the mail server or pfSense to use the WireGuard tunnel when sending email from one of my self-hosted ...
I Own I Owe Oh My's user avatar
0 votes
0 answers
24 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
153 views

postfix logrotato --> empty maillog_file

When running postfix logrotate, I get the error fatal: empty 'maillog_file' parameter value. logrotation failed. There is mention of logrotate the main.cf documentation but I don't understand what ...
J'e's user avatar
  • 161
0 votes
0 answers
168 views

Postfix/Dovecot: mail queue is empty, but emails still don't get delivered until the server is rebooted

I am running an Ubuntu 22.04 server with Postfix, Dovecot, Amavis, and SpamAssassin. A couple months ago, I noticed I hadn't gotten emails from the server in about a month. I sshed in and ran mailq ...
3x5's user avatar
  • 131
0 votes
1 answer
158 views

My emails are seen as spam by Gmail

I have a email server with postfix, dovecot, spamassassin, etc. www.mail-tester.com gives me 10/10. www.spamscore.net complains about the spf (SPF record SOFTFAIL) and reverse DNS: I have neither ...
tuxerri's user avatar
  • 11
0 votes
0 answers
465 views

How to solve the SPF record SOFTFAIL with postfix?

I'm trying to get my email server up and running. www.mail-tester.com gives me a score of 10 out of 10, but the problem is a SPF record SOFTFAIL. My SPF record is: v=spf1 mx ~all In my /etc/postfix/...
tuxerri's user avatar
  • 11
0 votes
0 answers
245 views

How to send emails without outgoing port 25 with Plesk and postfix?

I have a VPS server running Plesk with postfix and my IP is blocking outgoing port 25. Do you know how to set up my server to send emails from it? Can't some other ports be used for this? I managed to ...
Borgann's user avatar
0 votes
1 answer
127 views

How do I have more than one database for SASL authentication in Postfix?

I currently have Postfix set up to authenticate submission with SASL. The database connection info is stored in /etc/postfix/sasl/smtpd.conf However, I cannot for the life of me figure out how to have ...
CabbageGremlin's user avatar
0 votes
1 answer
1k views

Postfix Email Server Cannot Send Mail to icloud.com Accounts

I have a nearly fully-functional email server which plays nice with itself, gmail, protonmail, hotmail, yahoo, aol, [a college], [a smaller company], and AT&T. The problem is icloud.com: May 1 02:...
MCLooyverse's user avatar
0 votes
0 answers
53 views

Virtualmin configuration error after updates

I updated my VPS which I administer with Virtualmin, it runs Ubuntu 20.0.4.6 When rechecking the configuration, it stops at: A problem was found with your Postfix virtual maps : The map source mysql:/...
mr buffy's user avatar
1 vote
1 answer
115 views

Is situation (with GPG) possibly a malware attack?

I am taking care of an ubuntu server (22.04) and suddenly I was not able to access some files via FTP. I checked a few things and noticed a gpg root process consuming a lot of CPU. It kept restarting ...
Jorge's user avatar
  • 121
1 vote
0 answers
100 views

Debian server getting spammed through

This server has been live for many years, however, recently it is under attack by spam. I have not been able to plug the hole they are using. It seems that the spam is using the sasl_username=clamav. ...
user150182's user avatar
1 vote
0 answers
74 views

Escaping @ characters in /etc/postfix/virtual not working for 'reject_sender_login_mismatch'

TLDR; Only if I remove the backslash characters in my mapping, I can use the reject_sender_login_mismatch functionality... I need to escape some @ characters in my /etc/postfix/virtual mapping because ...
questioneer's user avatar
0 votes
0 answers
205 views

Serve SSL certificate directly from PostFix / Dovecot to Thunderbird WITHOUT webserver

Webserver host: web.example.nl Mailserver host: mail.example.nl Mail user: [email protected] (letsencrypt cert issued for this domain) I am trying to setup a new mailserver on mail.example.nl that doesn't ...
questioneer's user avatar
0 votes
0 answers
197 views

Postfix not sending emails outside

so I'm trying to run a postfix app on my raspberry pi 4 following this tutorial: https://raspberrytips.com/mail-server-raspberry-pi/ But when I try to use telnet to send an email to an external mail, ...
Tigron 's user avatar
0 votes
0 answers
2k views

Postfix - SASL PLAIN authentication failed: Connection lost to authentication server

I set up an email server using Cyberpanel (which uses dovecot + postfix internally). I have some ticketing software hooked up to the email server that bulk sends emails (currently trying to send ...
Xemor's user avatar
  • 1
1 vote
1 answer
1k views

How to forward and change the origin of a message via Dovecot Sieve script

I want to forward an incoming mail to another recipient. However, the recipient is only accepting mails from my email address. Is it possible to forward a mail and change the sender via Sieve? The ...
cruftex's user avatar
  • 111
0 votes
1 answer
390 views

Postfixadmin sending of e-mail fails with an error

I recently installed a mail server on a Debian with postfix/dovecot with postfixadmin to manage virtual users but when sending a mail to users it doesn't reach the destination and the logs return me ...
Franklin HOUESSINON's user avatar
0 votes
0 answers
52 views

Nagios e-mail notification

I recently installed nagios on my Debian server to be able to monitor some machines on the network but when I send the e-mail notification to the administrator I don’t receive the mail. I set up the ...
Franklin HOUESSINON's user avatar
0 votes
1 answer
1k views

550 5.1.1 <[email protected]> User doesn't exist: [email protected] (in reply to RCPT TO command))

this is just killing me I really need fix it, well I'm setting up a Postfix Dovecot Sasl server in Gentoo with a FQDN for my personal domain and till now I can't surpass this May 27 21:11:05 mail ...
denn0n's user avatar
  • 303
0 votes
0 answers
700 views

System mail not being forwarded via /etc/aliases

I have a server set up and I'd like to have any mail sent to the root system mailbox auto-forwarded to my email address. Following instructions found via google, I've added this line to /etc/aliases: ...
1337ingDisorder's user avatar
0 votes
2 answers
1k views

Why can't I get Postfix to deliver mail to Dovecot?

master cf main.cf I'm having trouble configuring Postfix to receive email on vpn.vietfeir.com. The links above are to the master.cf and main.cf configuration files. I can send mail Port 587 is open ...
Vietyank's user avatar
  • 149
0 votes
1 answer
190 views

How am I supposed to set up Evolution for local email sending using Postfix?

I want to be able to use Postfix and Evolution to send email between users of my laptop! I have Postfix set up as a Local Only mail server, and have the domain named as penguin.local. Is there a way ...
Mac Henni's user avatar
  • 156
-1 votes
1 answer
2k views

How to get Postfix and Dovecot working with an existing Kerberos realm?

I now have a Kerberos realm like MYDOMAIN.CH, an admin server and a principal of root/admin, as well as the realm master password and the root/admin principal password. Now I want to get Kerberos ...
DavidH_Tech's user avatar
1 vote
1 answer
3k views

Outgoing emails are not signing with DKIM

I have set up Postfix and OpenDKIM and I am trying to get outgoing emails signed by DKIM so that providers won't mark it as spam. However, even if I believe I set up the signing properly, none of the ...
user avatar
1 vote
0 answers
15 views

Two-piece mail server, working out sender_login and verified_recipient validation

TL:DR I'm trying to figure out how to get one postfix server to ask another whether a incoming email's recipient address is valid, or if an outgoing email's sender address is a valid email/alias for ...
FreelancerJ's user avatar
1 vote
0 answers
888 views

Is it possible to have a custom photo/profile picture on a Postfix mail server?

Something like the example pictured below would be what I am looking for (the little cup of coffee to the left of the sender name and email) I couldn't find any information anywhere, ideally id like ...
jayx11's user avatar
  • 11
0 votes
1 answer
167 views

unauthorized access to dovecot services

Recently i was enable mail-relay to 3rd party tool, suddenly i found 1000 of emails are going as a spam everyday to unknown users i disable the mail-relay ,but still we facing some one login our ...
Ana Mal's user avatar

1
2 3 4 5
10