New answers tagged

0 votes

How to reject mails sent to a mail adress found with a ldap lookup

I found the local_recipient_maps, that locks in postfix to only accept mails to users I have specified in a ldap file local_recipient_maps = ldap:/etc/postfix/ldap-active.cf
Kiwimarc's user avatar
0 votes

How to make Postfix route mails through sender-specific relay instead of smarthost?

You could likely avoid the transport rule that takes precedence, by using your relay_by_sender file for everything: # Exceptions [email protected] [example-com.mail.protection.outlook.com]:25 ...
Thijs van Dien's user avatar
5 votes

can't get email from exchange to postfix

Mail is delivered on port 25. I am surprised that ANY MTA is delivering mail to your service - 465 and 587 are explicitly designated for mail submission (i.e. from a MUA, not delivery from a MTA). ...
symcbean's user avatar
  • 21.5k
1 vote

Postfix - How to send bounces only to postmaster?

you have to set notify_classes = in main.cf. And set bounce_notice_recipient = postmaster .
PersianGulf's user avatar
0 votes

Receive notification whenever someone marks email as spam POSTFIX

The closest thing to what you are looking for is called Complaint Feedback Loop. Many large providers, notably Microsoft and Yahoo, will let you register your IP address and/or domain to receive such ...
anx's user avatar
  • 9,028
1 vote
Accepted

What does `static:rest` in the Postfix configuration mean?

The list has to yield a result for all acceptable mechanisms. If you want to exclude entries without explicitly enumerating what remains, you need something in that list to match all remaining entries....
anx's user avatar
  • 9,028
1 vote

Receive notification whenever someone marks email as spam POSTFIX

It's impossible. Postfix (or other MTA) does not take any part within this marking up process. When the mail is delivered, it is put into MDA (message delivery agent), such as Cyrus or Dovecot. MUA (...
Nikita Kipriyanov's user avatar
0 votes

Postfix relay to Office 365 - DNS configuration

Relaying is very different from sending email. The measures you've described relate to sending email. They should all be irrelevant to relaying email. I believe DKIM signature should be encrypted in ...
symcbean's user avatar
  • 21.5k
2 votes

Postfix: force a bounce to undeliverable individual recipient stuck in queue

Update for others landing here. It is now (since postfix 3.5) possible to force expire a mail in a queue with postsuper -e B693A1601A9 We use the following steps: if [[ $QUEUE_ID == *"!" ]] ;...
bigbear3001's user avatar
3 votes
Accepted

CentOS 7: Postfix logs got cleared when running history -c. How can I investigate what happened the day the log was cleared?

These two events are not in a causal relationship; history manipulates the history list, not any service log files. Check your logrotate configuration. logrotate --debug /etc/logrotate.conf There is ...
Esa Jokinen's user avatar
  • 47.4k
0 votes
Accepted

Firewall not keeping relay attempts from reaching postfix

It's been a while and despite my attempts at providing the information I was being asked, no one other than user anx seemed to find my problem worthy of providing some assistance. I wish whoever down-...
alex_223's user avatar
  • 120
1 vote

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

Thank to the comments of @HBruijn above, I solved this problem. The problem is that I configured two inet_interfaces. One thing valuable is that seems like in the current postfix configuration file, ...
岁月倾城197's user avatar
0 votes

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

Well, I solved this question anyway. But, it is not actually a solution. I just simly update my dovecot to the newest version (from 2.2.10 to 2.2.36). I don't know why this works (maybe because of ...
岁月倾城197's user avatar
0 votes

How to route some email accounts of a domain with transport_maps to another MX if user doesn't exist locally?

I solved this by doing a similar thing as mailman3: Create an alias subdomain (e.g. gm.example.com) in gmail. Please note, that for some weird reason gmail.example.com is not allowed by gmail. Add ...
FoxEcho's user avatar
  • 21

Top 50 recent answers are included