SMTP and POP3 RESTRICTION
hello
i want to make some restriction.
i've ISPConfig instaled and work very good, but i have some sequrity hole.
when i use php mail() from other server i can send e-mail!!!
here is php simple code:
ini_set("SMTP","hhh.hhh.hhh.hhh");
mail('hhhh@hhh.hhh', $subject, $message, $headers );
How can i restrict that!?
i've found somthing about this problem in internet, but i don't know that it is right:
smtpd_recipient_restrictions =
permit_mynetworks
check_client_access hash:/etc/postfix/client_access
reject_unauth_destination
if this work, how can i maket it work with ISPConfig installation
Thanks
|
Recent comments
10 hours 38 min ago
11 hours 38 min ago
15 hours 25 min ago
16 hours 39 min ago
20 hours 15 min ago
1 day 3 hours ago
1 day 12 hours ago
1 day 13 hours ago
2 days 4 hours ago
2 days 7 hours ago