|
|
|
|
||||||
| comp.mail.sendmail Configuring and using the BSD sendmail agent. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
> Use FEATURE(`blacklist_recipients') > Thanks. That fixed it good and proper. My ancient Red Hat Linux book didn't mention this. |
|
![]() |
| Outils de la discussion | |
|
|