× Post Fix is a great tool that comes usually bundled with vps servers and handles the mailboxes.

Configuring the postfix - Avoid unauthorized access

Περισσότερα
3 Χρόνια 3 Μήνες πριν #129 από infogate
First of all, we start at /etc/postfix/main.cf file and adding this:

# Sender restrictions:
smtpd_sender_restrictions =
    permit_mynetworks,
    reject_non_fqdn_sender,
    reject_unknown_sender_domain,
    check_sender_access hash:/etc/postfix/access,
    permit

Here you got the explanations - www.postfix.org/postconf.5.html#smtpd_sender_restrictions

Then we need the access file, which should be at the postfix directory. (explanations -> www.postfix.org/access.5.html)
In this file, we start to list domains/mails/patterns and actions to take after postfix will read that. So, I just needed domains for now and it looks like this:
domain.com REJECT
domain1.com REJECT
domain2.com REJECT

After that we need to postmap the file access, so run:
postmap hash:/etc/postfix/access

After all, restart postfix:

service postfix restart


To check if domain is blocked, you can create domain block for your private mail (for ex. gmail.com, yahoo.com, etc.) and see the action in /var/log/maillog
tail /var/log/maillog
There should be: [...] Sender address rejected: Access denied; [...]


The best possible way to start your online marketing : fspirits.com/go/leadsleap-home
Explode Your Web Site Traffice: fspirits.com/go/sparktraffic
Start your affiliate journey here: fspirits.com/go/olsp-academy
Best Solution To Create Videos: fspirits.com/go/create-studio-pro
Best Solution To Create Graphics: fspirits.com/go/clickdesigns
Smart Chat Automation: fspirits.com/go/chatterpal
Multi-Purpose Video Maker: fspirits.com/go/avatar-builder
Multi-Purpose Video Creator: fspirits.com/go/video-creator
AI Human Spokesperson Videos: fspirits.com/go/humanpal

Παρακαλούμε Σύνδεση ή Δημιουργία λογαριασμού για να συμμετάσχετε στη συζήτηση.

Χρόνος δημιουργίας σελίδας: 0.151 δευτερόλεπτα
Powered by Kunena Φόρουμ