|
|
|
|
||||||
| comp.mail.sendmail Configuring and using the BSD sendmail agent. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Does anybody know if I can trick the alias file to produce an error to
the sending SMTP server? This works well with virtusertable, but I am not sure about the /etc/aliases format. Something like this: user: error: nouser 550 No such user here Or, is there another handy way to cause an error to the sending server for a username that actually exists but should not get mailed. Thanks, Hannu |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Hannu_H <dr@ils.net> writes:
> Does anybody know if I can trick the alias file to produce an error to > the sending SMTP server? > This works well with virtusertable, but I am not sure about the > /etc/aliases format. > Something like this: > user: error: nouser 550 No such user here > Or, is there another handy way to cause an error to the sending server > for a username that actually exists but should not get mailed. > Thanks, > Hannu Ugly but fast and simple way: 1) create "error entries" in virtusertable virtusertable: nouser@localhost.localdomain error:nouser 550 No such user here 2) use aliases to the "error entries" aliases: userx: nouser -- [pl2en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl |
|
![]() |
| Outils de la discussion | |
|
|