Postfix Domain Based Restrictions

This project is for Postfix experts only please!


We operate multiple L.A.M.P. servers on behalf of our clients and we are encountering numerous attacks on a specific server due to an outdated PHP application on one of our clients website. The attacker exploits the client's "Contact Us" form and forces the M.T.A (Postfix) to send SPAM e-mail to internet users.


Since this server is intended to send e-mail to the hosted domains only, we are comfortable restricting e-mail delivery to a specified list of domains, which in turn rejects any messages sent outside this domain list.

We require a solution that achieves exactly what is mentioned here, using built-in Postfix functions or mechanisms only. With the option of applying the same solution on other servers as well.

Please be aware that we don't require any per USER restrictions, we just need to permit Postfix to send e-mail to the specified domains only and deny any email going elsewhere.


A file ALLOWED_DOMAINS contains [url removed, login to view] [url removed, login to view] [url removed, login to view] , etc.

1. Postfix receives a mail command (from PHP, Telnet, or anywhere)

2. Postfix checks the RECIPIENT e-mail address against ALLOWED_DOMAINS


4. If RECIPIENT does NOT match any of the ALLOWED_DOMAINS => REJECT

Thats all...

Please make sure you understood the project requirements clearly before placing any bids to avoid wasting our time and yours too.

The solution must be WELL documented to allow our webmasters to deploy it accordingly. For security reasons, no access to our servers will be granted under any circumstances.

Thank you for your time and co-operation in advance.

MASH Group

Kemahiran: Linux, Sistem Admin, Sekuriti Web

Lihat lagi: with no restrictions, thank you messages, server domain, p&a group, match problem, matches list, list matches, internet security experts, group m, experts solution, command group, behalf, access experts, postfix domain based delivery, smtpd_recipient_restriction domain, postfix allowed_domains, what is internet security, turn based, send e mail address, postfix, domain email, Deploy, attacks website, linux spam messages, message clients

Tentang Majikan:
( 0 ulasan ) Toronto, Canada

ID Projek: #286646

6 pekerja bebas membida secara purata $117 untuk pekerjaan ini


I will provide you a script which makes postfix to understand selected [login to view URL] then not accept mail to anywhere and allowed only for listed one.I have ecperience of setting more then 100 live with more then 1000 use Lagi

$200 USD dalam 4 hari
(0 Ulasan)

I have implemented this on several servers and i can help you.

$200 USD dalam 0 hari
(0 Ulasan)

can help you. tnx.

$120 USD dalam sehari
(0 Ulasan)

Hi ! You should do it by adding changes to your postfix [login to view URL] file. smtpd_recipient_restriction = hash:/etc/postfix/allowed_domains Beware: smtpd_recipient_restriction usually has permit_mynetworks directive Lagi

$50 USD dalam sehari
(0 Ulasan)

This job can be done with some modification on the sender_access and main.cf. Please let me know at the PMB if the job is still available. Thanks.

$100 USD dalam sehari
(0 Ulasan)

The mydestination parameter lists all the domains your Postfix system should accept mail for and deliver to ALLOWED_DOMAINS users. By default Postfix accepts mail destined for $myhostname and localhost.$mydomain. If yo Lagi

$30 USD dalam sehari
(0 Ulasan)