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 > sendmail virtusertable, user unknown, no such user here
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

sendmail virtusertable, user unknown, no such user here

Réponse
 
LinkBack Outils de la discussion
Vieux 25/01/2007, 08h18   #1
JesusChuyCampos@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut sendmail virtusertable, user unknown, no such user here

my virtusertable file I have the following entries

firstName1.LastName@myDomain.com userName1
firstName2.LastName@myDomain.com userName2
signup.x10@myDomain.com error:nouser 550 No such user here
signup.+*@myDomain.com userName1
@myDomain.com error:nouser 550 No such user here


I have two users; userName1 and userName2 where each of them get their
email when someone uses their real full names. This works as expected.
When doing online shopping, one usually needs to sign up by entering an
email address. Since, I usually do not trust the site's "privacy
policy" I want to have a generic address I can use, but at the same
time be able to reject certain email address without ffecting others.

In the example above, emails sent to signup.x10@myDomain.com should be
rejected, but an email to signup.amazon@myDomain.com should go to
userName1 All other email address should be rejected.

The problem I having is that emails to signup.amazon@myDomain.com are
not going through. Am I doing something wrong? And if so, can any of
you .


BTW, do i need to have the following two entries as well?
userName1@myDomain.com userName1
userName2@myDomain.com userName2

  Réponse avec citation
Vieux 25/01/2007, 08h36   #2
JesusChuyCampos@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sendmail virtusertable, user unknown, no such user here

Additional information, since email address appeared to be corrupt. I
repalced
@
with
AT

firstName1.LastNameATmyDomain.com userName1
firstName2.LastNameATmyDomain.com userName2
signup.x10ATmyDomain.com error:nouser 550 No such user here
signup.+*ATmyDomain.com userName1
ATmyDomain.com error:nouser 550 No such user here

signup.x10ATmyDomain.com should be rejected, but an email to
signup.amazonATmyDomain.com should go to userName1

BTW, do i need to have the following two entries as well?
userName1ATmyDomain.com userName1
userName2ATmyDomain.com userName2


On Jan 25, 12:18 am, JesusChuyCam...@gmail.com wrote:
> my virtusertable file I have the following entries
>
> firstName1.LastN...@myDomain.com userName1
> firstName2.LastN...@myDomain.com userName2
> signup....@myDomain.com error:nouser 550 No such user here
> signup...@myDomain.com userName1
> @myDomain.com error:nouser 550 No such user here
>
> I have two users; userName1 and userName2 where each of them get their
> email when someone uses their real full names. This works as expected.
> When doing online shopping, one usually needs to sign up by entering an
> email address. Since, I usually do not trust the site's "privacy
> policy" I want to have a generic address I can use, but at the same
> time be able to reject certain email address without ffecting others.
>
> In the example above, emails sent to signup....@myDomain.com should be
> rejected, but an email to signup.ama...@myDomain.com should go to
> userName1 All other email address should be rejected.
>
> The problem I having is that emails to signup.ama...@myDomain.com are
> not going through. Am I doing something wrong? And if so, can any of
> you .
>
> BTW, do i need to have the following two entries as well?
> userNa...@myDomain.com userName1
> userNa...@myDomain.com userName2


  Réponse avec citation
Vieux 25/01/2007, 09h20   #3
Andrzej Adam Filip
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sendmail virtusertable, user unknown, no such user here

JesusChuyCampos@gmail.com writes:

> my virtusertable file I have the following entries
>
> firstName1.LastName@myDomain.com userName1
> firstName2.LastName@myDomain.com userName2
> signup.x10@myDomain.com error:nouser 550 No such user here
> signup.+*@myDomain.com userName1
> @myDomain.com error:nouser 550 No such user here
>
>
> I have two users; userName1 and userName2 where each of them get their
> email when someone uses their real full names. This works as expected.
> When doing online shopping, one usually needs to sign up by entering an
> email address. Since, I usually do not trust the site's "privacy
> policy" I want to have a generic address I can use, but at the same
> time be able to reject certain email address without ffecting others.
>
> In the example above, emails sent to signup.x10@myDomain.com should be
> rejected, but an email to signup.amazon@myDomain.com should go to
> userName1 All other email address should be rejected.


The plus in signup.+*@myDomain.com is matched *literally*.
There is no '+' is signup.amazon@myDomain.com so there is no match.

> The problem I having is that emails to signup.amazon@myDomain.com are
> not going through. Am I doing something wrong? And if so, can any of
> you .


Try signup+*@myDomain.com entry in virtusertable and
signup+amazon@myDomain.com as email address.

> BTW, do i need to have the following two entries as well?
> userName1@myDomain.com userName1
> userName2@myDomain.com userName2


--
[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
http://anfi.homeunix.net/sendmail/ [orkut,linkedin,xing]
  Réponse avec citation
Vieux 25/01/2007, 17h32   #4
Grant Taylor
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sendmail virtusertable, user unknown, no such user here

If you have not done so already, do some reading on User+Detail in side the cf/README file. I think you will find that it provides what you want. You can also use a character other than "+".

With User+Detail, you only need to have your self in VirtUserTable one time. With User+Detail, you would have the following:

firstName1.LastName@myDomain.com userName1
firstName2.LastName@myDomain.com userName2
signup@myDomain.com userName1
signup.x10@myDomain.com error:5.7.1:550 You are not allowed to send me email.
signup+x10@myDomain.com error:5.7.1:550 You are not allowed to send me email.
@myDomain.com error:5.1.1:550 nouser 550 No such user here

With U+D you do not need to create entries for any and all possible signup addresses you want. You just have to block those that you no longer wish to receive.

I also added the "5.7.1:550" to your error messages to cause the correct error to be returned.



Grant. . . .

  Réponse avec citation
Vieux 26/01/2007, 06h33   #5
JesusChuyCampos@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sendmail virtusertable, user unknown, no such user here

I want to thank both of you (Andrzej and Grant) for the great advice.
I works as expected now.


-JC


On Jan 25, 9:32 am, Grant Taylor <gtaylor@riverviewtech.net> wrote:
> If you have not done so already, do some reading on User+Detail in side the cf/README file. I think you will find that it provides what you want. You can also use a character other than "+".
>
> With User+Detail, you only need to have your self in VirtUserTable one time. With User+Detail, you would have the following:
>
> firstName1.LastName@myDomain.com userName1
> firstName2.LastName@myDomain.com userName2
> signup@myDomain.com userName1
> signup.x10@myDomain.com error:5.7.1:550 You are not allowed to send me email.
> signup+x10@myDomain.com error:5.7.1:550 You are not allowed to send me email.
> @myDomain.com error:5.1.1:550 nouser 550 No such user here
>
> With U+D you do not need to create entries for any and all possible signup addresses you want. You just have to block those that you no longer wish to receive.
>
> I also added the "5.7.1:550" to your error messages to cause the correct error to be returned.
>
> Grant. . . .


  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 17h53.


É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,17048 seconds with 13 queries