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 > /etc/aliases - alias to cause error
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

/etc/aliases - alias to cause error

Réponse
 
LinkBack Outils de la discussion
Vieux 01/11/2006, 18h41   #1
Hannu_H
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut /etc/aliases - alias to cause error

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
  Réponse avec citation
Vieux 01/11/2006, 20h42   #2
Andrzej Adam Filip
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: /etc/aliases - alias to cause error

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
  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 07h58.


É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,06724 seconds with 10 queries