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 > How do I reject messages sent to certain recipients?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

How do I reject messages sent to certain recipients?

Réponse
 
LinkBack Outils de la discussion
Vieux 01/05/2007, 11h45   #1
Robert S
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut How do I reject messages sent to certain recipients?

This may seem simple to seasoned Sendmail users, but I can't get it
working. I have been trying to use /etc/mail/access.db to block
several recipients who have stopped working with us. The obvious way
of doing this seems to be putting the following in /etc/mail/access:

To:user@mydomain.net.au REJECT

or

To:user@mydomain.net.au ERROR:"550 Please go away"

Neither of these seem to work. Messages to this recipient still get
through. What am I doing wrong?

.... and Yes - I am running /usr/sbin/makemap hash /etc/mail/access.db
< /etc/mail/access and restarting sendmail.

PS 'user@mydomain.net.au' if fictitious.

  Réponse avec citation
Vieux 01/05/2007, 12h05   #2
J.O. Aho
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How do I reject messages sent to certain recipients?

Robert S wrote:
> This may seem simple to seasoned Sendmail users, but I can't get it
> working. I have been trying to use /etc/mail/access.db to block
> several recipients who have stopped working with us. The obvious way
> of doing this seems to be putting the following in /etc/mail/access:
>
> To:user@mydomain.net.au REJECT
>
> or
>
> To:user@mydomain.net.au ERROR:"550 Please go away"


post the header of a such mail that come throe, it could be BCC to an
alternative e-mail address for that user.



--

//Aho
  Réponse avec citation
Vieux 01/05/2007, 12h18   #3
Andrzej Adam Filip
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How do I reject messages sent to certain recipients?

Robert S <robert.spam.me.senseless@gmail.com> writes:

> This may seem simple to seasoned Sendmail users, but I can't get it
> working. I have been trying to use /etc/mail/access.db to block
> several recipients who have stopped working with us. The obvious way
> of doing this seems to be putting the following in /etc/mail/access:
>
> To:user@mydomain.net.au REJECT
>
> or
>
> To:user@mydomain.net.au ERROR:"550 Please go away"
>
> Neither of these seem to work. Messages to this recipient still get
> through. What am I doing wrong?
>
> ... and Yes - I am running /usr/sbin/makemap hash /etc/mail/access.db
> < /etc/mail/access and restarting sendmail.
>
> PS 'user@mydomain.net.au' if fictitious.


Use FEATURE(`blacklist_recipients')

URL(s):
http://www.sendmail.org/m4/features....ist_recipients
http://www.sendmail.org/m4/anti_spam.html

--
[pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Before You Ask: http://anfi.homeunix.net/sendmail/B4UAsk-Sendmail.html
  Réponse avec citation
Vieux 01/05/2007, 13h12   #4
Robert S
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How do I reject messages sent to certain recipients?


> Use FEATURE(`blacklist_recipients')
>


Thanks. That fixed it good and proper.

My ancient Red Hat Linux book didn't mention this.

  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 18h24.


É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,09734 seconds with 12 queries