/dev/null
Verwijderd
in virtusertable
code:
1
2
3
4
| user@domein.nl user user2@domein.nl user2 user3@domein.nl user3 @domein.nl restuser |
Nog steeds is de MAILER-DEAMON mij voor, en zegt dat de user unkown is
/dev/null
Verwijderd
heb je wel virtusertable support in sendmail zitten? en je moet wel je virtusertable omzetten naar virtusertable.db met behulp van makemap...
Je moet in je sendmail.mc deze regel toevoegen:Op maandag 18 juni 2001 18:48 schreef I_Stealth_I het volgende:
Nog steeds is de MAILER-DEAMON mij voor, en zegt dat de user unkown is
FEATURE(`virtusertable'), `hash /etc/mail/virtusertable')
Dan de sendmail.cf opnieuw compileren:
m4 sendmail.mc >/etc/mail/sendmail.cf
en dan sendmail een schop geven (/etc/rc.d/init.d/sendmail restart werkt ook).
En dan een ascii (virtusertable) bestand maken met:
@domein.nl gebruiker
En dit hashen
makemap hash /etc/mail/virtusertable < virtusertable
en voila het werkt
De .mc bestanden staan volgens mij ergens in /usr/lib/sendmail-cf (RH), maar kan me vergissen.
Meer info:
http://www.sendmail.org/virtual-hosting.html
rm -r *
Een alternatief (voor sendmail 8 en later):
http://www.sendmail.org/~ca/email/lfaq.html
Q: How to route mail to unknown users to one account?
A: sendmail 8 has a feature to route all mail which ends up as local on the system but isn't a valid account (or alias), to another system (the so-called LUSER_RELAY), see cf/README (from 8.8).
However, this feature is disrecommended, since it can break ``working'' addresses if you introduce new local users.
If you want to route all mail to unknown users to one account (instead of giving the standard error reply), you can put in your
.mc file the following:
define(`LUSER_RELAY',`local:someuser@your.domain')
or in some cases:
define(`LUSER_RELAY',`local:someuser')
Something similar can be accomplished for virtual domains.
http://www.sendmail.org/~ca/email/lfaq.html
Q: How to route mail to unknown users to one account?
A: sendmail 8 has a feature to route all mail which ends up as local on the system but isn't a valid account (or alias), to another system (the so-called LUSER_RELAY), see cf/README (from 8.8).
However, this feature is disrecommended, since it can break ``working'' addresses if you introduce new local users.
If you want to route all mail to unknown users to one account (instead of giving the standard error reply), you can put in your
.mc file the following:
define(`LUSER_RELAY',`local:someuser@your.domain')
or in some cases:
define(`LUSER_RELAY',`local:someuser')
Something similar can be accomplished for virtual domains.
Pagina: 1