PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > mailing.postfix.users > Making it so only the boss can send to alias that goes company wide
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Making it so only the boss can send to alias that goes company wide

Réponse
 
LinkBack Outils de la discussion
Vieux 07/04/2006, 19h09   #1 (permalink)
hforbess@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Making it so only the boss can send to alias that goes company wide

We have an email, company@example.com that when you send to it, it goes
out to the whole company. I would like to limit it so that only certain
accounts like "theboss@example.com" can send to it.
I have read http://www.postfix.org/RESTRICTION_CLASS_README.html and it
actually seemed simple enough but it doesnt work.



heres what I have in main.cf

smtpd_restriction_classes = insiders_only
insiders_only = check_sender_access hash:/etc/postfix/insiders,reject

smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks
reject_unauth_destination
reject_rbl_client relays.ordb.org
reject_rbl_client sbl.spamhaus.org
reject_rbl_client opm.blitzed.org
reject_rbl_client blackholes.wirehub.net
reject_rbl_client list.dsbl.org
check_recipient_access hash:/etc/postfix/protected_destinations


heres my protected_destinations:
company@example.com insiders_only

heres my insiders:
theboss@example.com

I have postmapped the 2 files and reloaded postfix.

Still anyone can send to company@example.com.
I also realize that the example in
http://www.postfix.org/RESTRICTION_CLASS_README.html was really to
restrict sending to an address from the outside and that part works.

thanks

harry

  Réponse avec citation
Vieux 07/04/2006, 19h15   #2 (permalink)
hforbess@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Making it so only the boss can send to alias that goes company wide

correction on the insiders file:
theboss@example.com OK

  Réponse avec citation
Vieux 07/04/2006, 19h25   #3 (permalink)
Greg Hackney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Making it so only the boss can send to alias that goes companywide

hforbess@gmail.com wrote:
> We have an email, company@example.com that when you send to it, it goes
> out to the whole company. I would like to limit it so that only certain
> accounts like "theboss@example.com" can send to it.
> I have read http://www.postfix.org/RESTRICTION_CLASS_README.html and it
> actually seemed simple enough but it doesnt work.
>
>
>
> heres what I have in main.cf
>
> smtpd_restriction_classes = insiders_only
> insiders_only = check_sender_access hash:/etc/postfix/insiders,reject
>
> smtpd_recipient_restrictions = permit_sasl_authenticated,
> permit_mynetworks
> reject_unauth_destination
> reject_rbl_client relays.ordb.org
> reject_rbl_client sbl.spamhaus.org
> reject_rbl_client opm.blitzed.org
> reject_rbl_client blackholes.wirehub.net
> reject_rbl_client list.dsbl.org
> check_recipient_access hash:/etc/postfix/protected_destinations
>
>
> heres my protected_destinations:
> company@example.com insiders_only
>
> heres my insiders:
> theboss@example.com
>
> I have postmapped the 2 files and reloaded postfix.
>
> Still anyone can send to company@example.com.
> I also realize that the example in
> http://www.postfix.org/RESTRICTION_CLASS_README.html was really to
> restrict sending to an address from the outside and that part works.
>
> thanks
>
> harry
>


You need to move "check_recipient_access hash:/etc/postfix/protected_destinations"
from the bottom to the top of the smtpd_recipient_restrictions list.

--
Greg





  Réponse avec citation
Vieux 07/04/2006, 23h07   #4 (permalink)
hforbess@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Making it so only the boss can send to alias that goes company wide

Yes, that did it.
Thanks Greg.

harry

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 01h07.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09823 seconds with 12 queries