Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
-1 votes
0 answers
59 views

Postfix Mail being redirected to private inbox

I am relatively new to Linux, setting up servers and especially handling mail related things. I've bought a new domain and rented a VPS, which now hosts my website. I need a more open environment for ...
Brentspine's user avatar
0 votes
0 answers
14 views

Multiple Postfix Instances *without* postmulti

I have been running multiple instances of certain services (php-fpm, mysqld, httpd) and am now trying to do the same with Postfix. Searching online, I have so far only been able to find descriptions ...
user10709800's user avatar
0 votes
0 answers
33 views

postscreen "deep protocol" tests and multiple MX IPs?

In the Postfix postscreen readme, it says the main limitation of "after 220 greeting" tests is that a new client must disconnect after passing these tests. To partially mitigate problems, it ...
TommyPeanuts's user avatar
2 votes
0 answers
65 views

how to protect postfix mail from gmail spam [duplicate]

I am experiencing an issue with the BDIX (Local Bangladeshi server) server. I have set up a mail server on the local BDIX server using postfix with aapanel. I have configured SPF, DKIM, and DMARC in ...
Rumaion Tomal's user avatar
1 vote
2 answers
117 views

How can I mitigate a flood of inbound emails that look legitimate to filters?

I have a mail server - postfix, amavis, dovecot. Currently one of my inboxes is being flooded with random email from all over the globe. It's like someone signed me up to 10,000 newsletters all at ...
Nick Wiltshire's user avatar
0 votes
0 answers
24 views

SPAM and SPOOF emails from postfix mailserver

I created and configured a postfix server, basically its an smtp-only server. I added the domain i want to use in postfix main.cf, and also added other domains in virtual file. I installed configured ...
Hussein Khazem's user avatar
0 votes
0 answers
18 views

How to change the sender address using mailutils and postfix?

May 27 14:19:33 localhost postfix/qmgr[21793]: 87FD870AD12: from=user@localhost, size=398, nrcpt=2 (queue active) May 27 14:20:03 localhost postfix/smtp[22591]: connect to mail.rungel.net[95.168.160....
OnionTest5's user avatar
0 votes
1 answer
99 views

Saslauthd service not starting after upgrade to Ubuntu 24.04

I stuck with not starting saslauthd service after upgrade Ubuntu to 24.04 (it runs along with Virutalmin). So i can't authenticate to smtp (cant send mails, but still can recieve) due to error: 454 4....
Tomasz's user avatar
  • 1
0 votes
1 answer
41 views

(Postfix) set rate_delay for 2 sending domains to 1 receiving domain

Currently I own 2 sender domains aaa.com and bbb.com. The restriction is that: Each domain can only send one email after another with a delay of 200 seconds. Each domain can only send 100 emails ...
wrigamer's user avatar
-1 votes
1 answer
124 views

IRedMail server rejecting mails

Hi I have installed my web mail. and I found it's listed on spamhaus. so I am tring to receive verify email them, this email is rejected. Logs: Feb 9 17:44:01 mail postfix/postscreen[2033648]: ...
mohamad zbib's user avatar
0 votes
1 answer
290 views

opendkim not singing my outgoing emails ubuntu 20.04

i'm following this tutorial to integrate opendkim and sign my emails,i'm not much in ubuntu but i configured everything as the tutorial but the emails is sent without dkim signing I'm hitting the wall ...
Amir Eix's user avatar
0 votes
1 answer
190 views

Postfix+Dovecot: emoji in subject from command line break the delivery ("SMTPUTF8 is required, but was not offered"), works from Gmail

Tl;dr: if I send an email to my Postfix+Dovecot server with the subject containing UTF-8 characters email from Gmail => Postfix+Dovecot deliver the email correctly email from mail (command line) =&...
Dr. Gianluigi Zane Zanettini's user avatar
0 votes
1 answer
55 views

Why pickup service needs wake up from Postfix master?

The Postfix master.cf file contains a definition to wake up qmgr service: # ========================================================================== # service type private unpriv chroot wakeup ...
rfmoz's user avatar
  • 802
2 votes
2 answers
801 views

Add Multiple Subdomains In Signing Table And Key Table Opendkim

I need some major help adding multiple subdomains in the signing table and key table for opendkim without listing them one by one. If I have 50 subdomains I want to add, it will take me forever. I am ...
Digital Joe George's user avatar
0 votes
1 answer
82 views

Can iptables state miss some packets?

I tried to setup the iptable rules for MTA. As this MTA is meant only for receiving the emails I allowed INPUT packets from any to destination port 25 with state either new or established, and allowed ...
Ayush Gupta's user avatar
0 votes
1 answer
150 views

what comes first smtpd milters or cleanup in order of filtering in postfix?

Based on the documentation of the postfix (as stated here: 'https://www.postfix.org/SMTPD_PROXY_README.html') the smtpd milters should be used to filter the emails first and then the cleanup service ...
Ayush Gupta's user avatar
0 votes
1 answer
347 views

Milter Application Error Postfix Email Server

I am trying to sign the emails on my email server with opendkim but I am running against an error that I just can't seem to fix. The error I am getting is: warning: milter local:opendkim/opendkim.sock:...
Niels Koop's user avatar
0 votes
0 answers
100 views

Dovecot not receiving mail while making use of vmail

Below is my current vmail configuration. auth_mechanisms = plain login auth_username_format = %n protocols = imap lmtp # Search for valid users in /etc/passwd userdb { driver = passwd ...
root-louis's user avatar
0 votes
0 answers
84 views

Issue with 'delay_reject=no' and smtpd_helo_restrictions in Postfix

In Postfix MTA, I have set helo and client restrictions with the DISCARD policy. But since setting delay_reject=no I am getting this error just after connect from for some clients (don't know if they ...
SUNITA GUPTA's user avatar
0 votes
1 answer
152 views

In postfix can I mention sender access map in client restriction?

It's a question out of curiosity rather than necessity. What should happen say I place sender access map inside smtpd_client_restrictions and also place client access map in smtpd_sender_restrictions ...
SUNITA GUPTA's user avatar
0 votes
1 answer
99 views

In postfix how parent_domain_matches_subdomains helps rejecting mail for subdomains?

Based on the standard configuration given in https://www.postfix.org/STANDARD_CONFIGURATION_README.html#firewall the parent_domain_matches_subdomains = debug_peer_list, smtpd_access_maps should help ...
SUNITA GUPTA's user avatar
1 vote
1 answer
176 views

Why is it advised to disable relayhost when hosting mail server behind firewall?

I am trying to setup an MTA. While reading documentation I came across "Standard Configuration" for Running Postfix behind a firewall. I am confused on this part: IMPORTANT: do not specify ...
SUNITA GUPTA's user avatar
1 vote
2 answers
46 views

Can I log when the message arrival rate exceeds the message delivery rate in postfix?

I am trying to implement a MTA, on reading documentation of the postfix I found a parameter 'in_flow_delay' whose description in sort says 'Time to pause before accepting a new message, when the ...
Ayush Gupta's user avatar
0 votes
0 answers
56 views

What is behaviour of opendkim while verifying an email with multiple dkim signatures?

I am trying to implement DKIM verification using Opendkim and postfix. The doubt I am struck by is what will happen if the email has more than one DKIM signature and one of them fails (as like failed ...
Ayush Gupta's user avatar
2 votes
1 answer
125 views

What difference does it make to implement a feature as policy service vs as milter in Postfix?

I am trying to implement MTA using Postfix. I am struck at how to implement standard services like SPF, DKIM etc. as well as some custom services. They can either be implemented as policy delegation ...
SUNITA GUPTA's user avatar
4 votes
2 answers
991 views

What is difference between using smtp vs relay transport type in postfix?

I am trying to setup MTA which should submit different intranet mail gateways based on the recipient's domain. For that I thinks transport_maps in postfix should be setup for selective domains; if ...
SUNITA GUPTA's user avatar
2 votes
2 answers
238 views

How to restrict based on combined usage of sender email and client ip address in postfix?

I have a MTA (postfix) with sasl implemented. I want that for a subset of users I can map their email address to a particular range of ips (separate for each email user). If a user tries to send email ...
SUNITA GUPTA's user avatar
-1 votes
1 answer
226 views

How to bypass postfix milters for certain users?

I am trying to set up an incoming MTA server using Postfix. I have specific requirements that some users' emails should not go through the milters. Is there any way this can be done in Postfix? One ...
SUNITA GUPTA's user avatar
0 votes
2 answers
358 views

Too many connect from unknown postfix

I am trying to set up an incoming email server by using postfix as MTA the issue I am facing is that there are too many 'connect from unknown' lines in the log. Can anyone help can I debug this issue? ...
SUNITA GUPTA's user avatar
1 vote
1 answer
310 views

Configure postfix virtual transport to deliver mail to arbitrary (local) addresses

I'm using Postfix in a very niche application with no inbound or outbound SMTP connectivity (other than via the loopback interface). I would like to configure the postfix virtual transport to deliver ...
larsks's user avatar
  • 45.6k
2 votes
1 answer
342 views

What are the correct settings to enable TLS between Postfix and Dovecot via LMTP?

I am trying to get Postfix to forward mail via LMTP to Dovecot. This works fine when TLS is turned off in the settings on both sides. Once TLS settings are enabled, Postfix connects via LMTP and ...
Nick's user avatar
  • 4,646
0 votes
0 answers
33 views

How to have different postfix options based upon destination email address

I need to configure postfix in such a way that the options used vary dependent upon the destination email address. For example, I might have destinations such as [email protected], [email protected], user@baz....
Nathan Hilterbrand's user avatar
0 votes
1 answer
206 views

Does LMTP support authentication?

Scenario: A Postfix Server runs on a VPS with a hosting company. A Dovecot IMAP server runs inside the office. We want Postfix to push mail it receives to the Dovecot IMAP server, using the least ...
Nick's user avatar
  • 4,646
0 votes
0 answers
159 views

Postfix - limit outgoing messages sent by one specific user

I want to limit outgoing messages to 5 per hour for a single user. It should then queue any additional messages during that hour to be attempted for delivery later. All other users should not be ...
Pancakes's user avatar
0 votes
0 answers
118 views

Postfix Trigger script when E-Mail was Sent

This is my first Post at serverfault. I hope someone can help me. My setup looks like this: I have a RabbitMQ where emails are queued. I've written a small Python tool that retrieves one email at a ...
MMY's user avatar
  • 1
0 votes
1 answer
224 views

Postfix seems to be running and listening on the public network interface, but external clients cannot connect?

I'm setting up a new Postifx server on Debian 12. I've installed the Debian package and confirmed that Postfix is running, and is listening on ports 25,465, and 587. Postfix is running and there are ...
Nick's user avatar
  • 4,646
0 votes
1 answer
400 views

With postfix, how do you setup SASL with dovecot to receive SMTP mail and cyrus to authenticate?

I had a static IP address and setting up my mail relay was as easy as: mynetworks = ... <static IP address> ... (and of course authorize all incoming mail from mynetworks). Now that I do not ...
Alexis Wilke's user avatar
  • 2,316
0 votes
0 answers
95 views

Postfix+Dovecot: filter email with certain `To:` address

I have a postfix+dovecot email server. There is one mailbox that was used by the Procurement department in many online shops and the address got disclosed and included in a spam list. I would like to ...
Yván Ecarri's user avatar
0 votes
2 answers
495 views

Can I Force Implicit TLS Connection For Port 587 On Postfix?

I have read many articles saying port 587 by default is explicit TLS. This means it's STARTTLS. It asks the server on an unsecured connection if TLS is supported and if it is, it continues with an ...
Digital Joe George's user avatar
1 vote
1 answer
255 views

Wrap plain text mail in html

we use Postfix as MTA to send our mails from our system. Unfortunately we have an old persistent system which we cannot change, which sends mails to our customers in plain text format. I would like to ...
Pa0x43's user avatar
  • 15
0 votes
3 answers
148 views

Postfix: How can I handle incoming mail for a single address, not the entire domain?

I've gotten my employer to configure the company-wide Exchange server to forward [email protected] to [email protected], a host I control. So far, so good. My Postfix configuration ...
David White's user avatar
1 vote
1 answer
607 views

Deliver mails in Maildir in /var/spool/mail with Postfix

I search for hours without finding the solution and it drives me crazy. Is it possible to ensure, without using Procmail, that Postfix delivers emails in the form of Maildir {cur,new,tmp} in /var/...
Chris972's user avatar
0 votes
2 answers
200 views

Receive notification whenever someone marks email as spam POSTFIX

I have created a mail server using Postfix. I have added a 1x1 tracking pixel to track email opens. I would like to receive a notification either on an http endpoint or my email address whenever ...
Anveeg Sinha's user avatar
0 votes
1 answer
125 views

Dovecot says user does not exist although it's in MariaDB database

I use a MariaDB to store users for Dovecot 2.2.10. The Dovecot keeps giving "Disconnected unexpectedly" errors, and I can't find a reason. Is there anything I could look at? Mail logs Aug 29 ...
岁月倾城197's user avatar
3 votes
1 answer
890 views

Linux port 25 is not working, and postfix unable to establish external connections at port 465, internal connection works with issues

I guess these are two typical issues, at least first one is. I'm trying to configure postfix dovecot on CentOS 7. First, the port 25 is open, but it is not accepting any outer connections. The ...
岁月倾城197's user avatar
1 vote
1 answer
1k views

Troubleshooting SMTP and IMAP Configuration for Postfix Email Server on Ubuntu

I've recently installed Postfix and dovecot on my linux machine running Zorin OS 16.3(Ubuntu Based Linux Distro) to be able to host my own email server for my website. The server is port forwarded ...
Codrut's user avatar
  • 111
0 votes
0 answers
51 views

"mail spamd[495361]: internal error, python traceback seen in response" on Ubuntu 20.04 when receiving email from gmail. How to debug and fix?

I am running Ubuntu Server 20.04 on a Raspberry Pi. It is set up as a web/email LEMP server. When I send an email from my gmail account to a an email address on my LEMP server, I get an error from ...
DanRan's user avatar
  • 93
0 votes
1 answer
273 views

POSTFIX - sending mails. My mails sent outside bounce back

main.cf compatibility_level = 2 command_directory = /usr/sbin daemon_directory = /usr/lib/postfix/sbin data_directory = /var/lib/postfix mail_owner = postfix myhostname = mail.aufy.pl mydomain = aufy....
aufy's user avatar
  • 13
0 votes
1 answer
68 views

Postfix cleanup logs not showing all mail ids in Cc header

my main.cf file contains line_length_limit=4000 append_dot_mydomain = no #delay_warning_time = 4h readme_directory = no compatibility_level = 2 transport_maps = hash:/etc/postfix/transport ...
Shahid 's user avatar
0 votes
1 answer
766 views

Redirect local host mail to mailcow mail server ubuntu

I've installed mailcow dockerized on ubuntu 22.04 host. There is some instruction how to setup local mtu with postfix (sendmail is ubuntu default) https://docs.mailcow.email/post_installation/...
Роман Коптев's user avatar

1
2 3 4 5
22