[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sendmail virtusers question



On Sat, 29 Sep 2001 16:17:16 EDT, Richard A Nelson writes:
>On Sat, 29 Sep 2001, Robert Waldner wrote:
>
>> I have a domain where some specific addresses (someone@domain.tld)
>>  should be accepted and then be forwarded to another address
>>  (someone@otherdomain.tld).
>>
>> So I thought that the perfect job for the virtusertable, did some
>>  entries of the form
>> someone@domain.tld:			someone@otherdomain.tld
>>  rebuilt the database, but no, that doesn't work.
>
>Remove the colon, just need tab/space delimiter

ah yes, thanks.

>> Now, before I start doing something really ugly involving local users
>>  and .forwards, any hints for me? I'm usually quite able to help myself
>>  wrt sendmail but there must be some knot in my brain here.
>
>try this in sendmail.mc
>VIRTUSER_DOMAIN_FILE(`MAIL_SETTINGS_DIR`'virtual-domains %[^\#]')dnl
>
>add domain.tld to /etc/mail/virtual-domains
>
>restart sendmail (this is Class file, only read at startup)

Hmm, I can't find it mentioned in /usr/share/doc/sendmail/*.txt and an 
 altavista-search "+host:www.sendmail.org +VIRTUSER_DOMAIN_FILE" can't 
 find it, either.

doing the changes, running sendmailconfig:
<...>
/etc/mail/sendmail.cf: line 164: invalid argument to V line: \
 "IRTUSER_DOMAIN_FILE("

Is this some obscure FEATURE or an m4-issue or...

cheers+tia,
&rw
-- 
-- Q: How many marketing people does it take to change a lightbulb?
-- A: I'll have to get back to you on that.


Attachment: pgp9QLYliN8RN.pgp
Description: PGP signature


Reply to: