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 "local" users in NIS maps?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

Sendmail "local" users in NIS maps?

Réponse
 
LinkBack Outils de la discussion
Vieux 18/01/2007, 07h51   #1
Gushi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Sendmail "local" users in NIS maps?

Hey all,

I recently downgraded a box to a "shell" server, and since my mail
delivery happens to the homedir, I decided to simply set up an alias in
the default system that points like this:

local-host-names: oldprime.gushi.org

virtusertable: @oldprime.gushi.org %1@prime.gushi.org

The hostname of the machine is oldprime.gushi.org

However, for whatever reason whenever I try to send to a user in the
NIS maps, it gets bounced (even though NIS should not (as far as I
figure) be checked by this recipe, as it's expected to deliver offsite,
so why would it be checking local users?)

Jan 18 02:39:09 <mail.notice> oldprime sm-mta[12460]: l0I7d9Ci012460:
<testcase@oldprime.gushi.org>... User unknown
Jan 18 02:39:09 <mail.info> oldprime sendmail[12459]: l0I7d9D3012459:
to=The Test Case <testcase@oldprime.gushi.org>, ctladdr=danm
(1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30587,
relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown

  Réponse avec citation
Vieux 18/01/2007, 08h18   #2
Gushi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Sendmail "local" users in NIS maps?

On doing some more research I've seen a lot of talk of NSS. This is
FreeBSD 4. There is not to my knowledge an NSSwitch option.

Sendmail IS compiled with -DNIS. I am able to use all the standard
system calling tools to look up my users (like finger, id, etc) that
are being imported via NSS.

In searching, I find a lot of mention of alias maps in NSS. I don't
want alias maps, I just want to take all mail for server "oldprime" and
forward it to user @ prime. There are masquerading options and the
like, but I don't THINK that's what I want (i.e. I still want
"oldprime" to have an OUTBOUND sendmail, but to do no delivery, so that
if a user has a cron job that emails him, it will still work).

If anyone needs any further output, please just ask.

  Réponse avec citation
Vieux 18/01/2007, 08h20   #3
Gushi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Sendmail "local" users in NIS maps?

One more thing:

The redirect apparently DOES work, as my postmaster account on prime is
getting all the bounces from oldprime not being able to send to alleged
non-users (root and my login both exist in the password file, so it
works there).

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


É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,09100 seconds with 11 queries