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

Re: [cobalt-developers] X-Envelope-To ?



On Sat, 22 Dec 2001 10:37:42 -0800, Herb Rubin wrote:

>Jens,
>
>Technically, there is only "one receiver" since it all dumps into a single mailbox.
>Can't they just use the To: line to figure out who it belongs to? That won't work
>100% either since they will get alot of mail not addressed to anyone in
>the office.

their software uses the "To:"  - line, that however often contains the "name" of the mailing-list instead of the actual reciever.

The mentioned snippet from the sendmail FAQ tells how to do it, but ...

>> 1.Use FEATURE(local_procmail) in your .mc file so procmail (which
>> you must install separately) will deliver mail to the mailbox.

I think this is propably already done by cobalt, since procmail is called for every mail.

>>
>> 2.Use FEATURE(virtusertable) to create a virtual user table entry
>> for the domain as follows:
>>  @domain.com     domuser+%1
>> where domuser is the username of the mailbox you will be using.
>> Note that "domuser" must be an actual username, *not* an alias.
>> It may be necessary to append "@localhost", as follows
>>  @domain.com     domuser+%1@localhost

Here is apparently the problem. I'm really not comfortable with changing hundreds of entrys in the virtusertable.
Therefore I skipped that step, hoping it would work (which it did not) :-(

Can anyone tell me, what that "+%1" does? Could I just add it in the script that creates the virtusertable - file?

Isn't there any other way to insert that kludge into the header? Maybe just two lines in the sendmail.cf?

Thanks,

Jens-Peter Otto