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 > comp.mail.sendmail > Reject Email to all domains except for few
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

Reject Email to all domains except for few

Réponse
 
LinkBack Outils de la discussion
Vieux 25/10/2006, 19h49   #1
danths
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Reject Email to all domains except for few

Hello: I would like to configure sendmail such that it rejects emails
if the recipient's address was anything but for few domains. I need to
enable relaying so that internal clients can use that server to send
emails, but I do not want to send those emails if there were for the
outside domains. I started reading check_rcpt but wasn't sure if that
was the right. Any pointers are much appreciated.

Thanks
sd

  Réponse avec citation
Vieux 26/10/2006, 01h13   #2
René Berber
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Reject Email to all domains except for few



On Oct 25, 1:49 pm, "danths" wrote:

> Hello: I would like to configure sendmail such that it rejects emails
> if the recipient's address was anything but for few domains. I need to
> enable relaying so that internal clients can use that server to send
> emails, but I do not want to send those emails if there were for the
> outside domains. I started reading check_rcpt but wasn't sure if that
> was the right. Any pointers are much appreciated.


The easier way is by using access db, which has to be enabled as a
feature (it it's not already enabled). The best description on how to
use access db is in the README file under directory cf in the source,
in the section entitled "Anti spam configuration control".

I haven't tried what you want to do but (if the example in the
documentation is valid notation -- I've never used the TLD) something
like this may do the job:

To:my.domain RELAY
To:TLD REJECT

It would be even better if instead of the REJECT you define an error
message so that your users know why they can't send messages to the
outside, something like:

To:TLD ERROR:"550 Outbound mail not allowed."

HTH
--
René Berber

  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 03h01.


Édité par : vBulletin® version 3.7.3
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 ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11272 seconds with 10 queries