Results 1 to 3 of 3
Hi everybody,
I have a MailServer configured with Postfix and Virtual Mailboxes with MySQL.
I would like to add and option which forbid the users of the office of sending ...
- 04-18-2008 #1Just Joined!
- Join Date
- Jul 2006
- Posts
- 51
[SOLVED] Postfix: Forbid destination servers
Hi everybody,
I have a MailServer configured with Postfix and Virtual Mailboxes with MySQL.
I would like to add and option which forbid the users of the office of sending emails to some especific servers like HOTMAIL and YAHOO.
I read abous "access" (man 5 access), but I don't know exactly how to get it.
Any ideas?
Thanks!
Aleix
- 04-18-2008 #2
maybe this parameter
smtpd_sender_restrictions = - Google SearchCode:smtpd_sender_restrictions =
- 04-21-2008 #3Just Joined!
- Join Date
- Jul 2006
- Posts
- 51
Thanks jledhead,
It worked!
Finally someone suggested some more things and I tried this:
thanks again!Code:Create /etc/postfix/access Add: yahoo.com REJECT or replace REJECT with whatever action you are looking for run: postmap /etc/postfix/access Add to /etc/postfix/main.cf under smtpd_client_restrictions check_client_access hash:/etc/postfix/access
Aleix


