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
7 views

Why does the SpamAssassin not insert some headers?

Trying to configure SpamAssassin 4.0.0 with Postfix 3.7.10 on Debian 12. I'm using spamass-milter 0.4.0. My /etc/spamassasin/local.cf has the following entries: required_score 5.1 ...
thomson'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
-1 votes
0 answers
34 views

Postfix virtual mailboxes with only one single domain

I have read the Postfix documentation for virtual mailboxes but I can't find methods for my use case, with is shared domains, both UNIX and non-UNIX accounts, because I only have one domain. But ...
ZP-ZPanda'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
0 answers
23 views

Postfix configuration to block spammer domain isn't working

I have an Ubuntu 22.04 cloud VM with Postfix 3.6.4-1ubuntu1.3 installed that I largely use for receiving e-mails sent to addresses at my personal domain that I provide when signing up for less-...
jwodder's user avatar
  • 117
0 votes
0 answers
14 views

How to route email in Postfix depending on both the origin and destination domain?

I have a Postfix server sending emails for a few different domains. Ideally I'd like to directly send all outgoing messages directly to their MX, as email should work. I have DKIM, SPF and DMARC, I ...
Giovanni Mascellani's user avatar
-2 votes
1 answer
40 views

How to run multiple email domains with port splitting? (like nginx proxy) [closed]

So im trying to make it so i have 2 domains, A.com, and B.com. they both use different email software (A.com has postal email server and B.com has modoboa) *something to also note, based on the ...
user655355's user avatar
-2 votes
1 answer
54 views

Mail servers setup - HA

I would seek your expert guidance for this topic and your help would be really appreciated. I want to setup mail service in my org in such a way that they are highly available and even if one of the ...
sunny_hkhk'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
1 answer
54 views

Postfix body_checks rejected a message — how can I find out which regexp was fired so I can remove that from the filter?

I have a body_checks file for postfix. Unfortunately I rarely, but sometimes important mails are not received, because they are rejected by the body_checks, although there should be no match. Here is ...
Rafael's user avatar
  • 13
0 votes
2 answers
272 views

554 5.7.1 Relay access denied - cant send mails

I tried to upgrade debian from 10 to 11 and the everything got messed up. Im trying to fix postfix. I can receive emails but cant send. I get the error "554 5.7.1 Relay access denied" My ...
Anarkie's user avatar
  • 11
0 votes
2 answers
33 views

postfix error handling to not lose the mail

I have a website with a form. When submit the form php sends a mail to a local gateway. php code looks like this: $ok = @mail($emailData['to'], $emailData['subject'], $message, $emailData['headers']); ...
cruunnerr 's user avatar
1 vote
0 answers
94 views

How can I make MIAB automatically copy all mail sent via SMTP into the sent folder of the sender's account?

I run Mail-In-A-Box on my mail server and one of my clients is using a specialized application to send messages via SMTP from their account on my server. When they used their own Gmail account to send ...
Del tree's user avatar
0 votes
1 answer
80 views

postfix bounce_queue_lifetime and maximal_queue_lifetime

i have done a lot of research but still cannot clearly understand what is the difference between postfix bounce_queue_lifetime and maximal_queue_lifetime in main.cf. Although I've read a lot of ...
iamaduwb's user avatar
0 votes
1 answer
209 views

Email from any outside domain bounces back with 554 5.7.1 Relay access denied error

i have setup postfix 3.6 on my ubuntu 22.04 vps (cyberpanel) with dovecot and roundcube as my webmail. i managed to fix outgoing emails but now, i am getting relay access denied errors. this is my ...
gjg2013's user avatar
0 votes
3 answers
262 views

Postfix sending duplicate emails under different userid's, how to fix?

I can't find a reason for it in the postfix settings, but duplicate emails are being sent, under different uid's. Looking at the email headers, they have unique ids, and each with a different Postfix, ...
jamminjames's user avatar
1 vote
0 answers
89 views

How to make Postfix hand off emails via LMTP to Dovecot better (virtual vs relay)?

There are 2 ways how Postfix can hand off emails via LMTP. The first approach is recommended by Kyle Dent in his book about Postfix. He suggests it in cases when we want to store emails in a ...
Ilya Ordin's user avatar
-1 votes
1 answer
337 views

Sending email with postfix on a specific IP address fails. Error 81126 with Gmail

Recently, I started to receive errors from Gmail: host gmail-smtp-in.l.google.com[142.250.110.27] said: 550-5.7.25 [X.X.X.X] The IP address sending this message does not have a 550-5.7.25 PTR record ...
Oni's user avatar
  • 109
0 votes
1 answer
49 views

How to send email from smtp server1 to smtp server2 (Postfix) via client?

How to make server1 with postfix can send email to server2 with postfix by redirecting DNS query to it (type forward). These servers are on the same local network. Server1 is to receive a non-...
test1's user avatar
  • 1
0 votes
2 answers
280 views

Postfix/Dovecot presenting default SSL certificate from Apache to Thunderbird client

I've been struggling with this issue for some time now. I want thunderbird to get the certificate for mail.******.cl, but it always seem to get ******.cl. So I've done a couple of tests, and realized ...
Jairo Alarcón'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
-4 votes
1 answer
196 views

How do I view mail (postfix?) configuration settings?

I inherited a server that is mailing status messages via an external mail-server. It runs crontabs that run scripts that send mails. Example (simplified): echo "disk free status 10GB" | ...
TheGlasses's user avatar
0 votes
0 answers
110 views

PHP PEAR Mail STARTTLS failed error 220 with postfix

I'm running postfix with dovecot. I'm trying to use the PHP Pear Mail package to send e-mails, but I can't get it to work. The error I get is this: authentication failure [SMTP: STARTTLS failed (code: ...
Aviation4001's user avatar
0 votes
1 answer
110 views

Something sends email to OpenDKIM even after purging it

I can't send email from my server using Postfix. The /var/log/mail.log has: postfix/local[1803]: 59367CDB9: to=<[email protected]>, orig_to=<opendkim>, relay=local, delay=0.03, delays=0....
Mohammed Baashar'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
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
1 answer
99 views

postfix sending only short messages ( emails ) but not long messages?

when I am sending a short email from "[email protected]" or any other email acc , the message is received well in the inbox of Gmail , hotmail etc , but if I send the message again with long ...
Khodour.F's user avatar
  • 209
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
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
1 answer
51 views

Cannot send e-mail to one account on server

I am responsible for administering a web and mail server which has a number of users with mailboxes which function correctly. I recently added another user as I wanted to set up a separate e-mail ...
ALEA's user avatar
  • 1
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
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
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
93 views

Postfix : change email from unix_user@domain to a something@domain

I have two domains on a server, they are rarely used and they have 2 ubuntu users like domain1_user domain2_user and I want to associate email addresses like info@domain1 info@domain2 Obviously I ...
Marius's user avatar
  • 1
3 votes
1 answer
519 views

How to make postfix sign non-delivery notifications with DKIM?

I have set up my "postfix" server to sign outgoing messages with DKIM and verified that it works correctly for SMTP users using authentication. However, "non-delivery notifications"...
mist's user avatar
  • 33
0 votes
0 answers
219 views

Postfix - Forward mail externally through relay

I manage the mail server for mydomain.com. Some users have a local IMAP mailbox, but for some their address is an alias and I'd like to forward their message to their external address. I've configured ...
CompuChip's user avatar
  • 101
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
1 answer
89 views

can't get email from exchange to postfix

I configured a postfix mail server to receive emails. I enable TLS as per security requirements as well as port 25 is banned by the provider. I enabled both 465 and 587 with the following on master.cf ...
virgo's user avatar
  • 1
0 votes
1 answer
417 views

Postfix header_checks are ignored

I'm using Ubuntu 20.04. I installed Postfix (v3.4.13) with Dovecot (v2.3.7.2) a long time ago. Now, I want to overwrite the Message-Id header using header_checks. It's the first time I'm trying to use ...
Ugnius's user avatar
  • 1

1
2 3 4 5
32