like a charm (the [EMAIL PROTECTED] ! in virtusertable).
Thank you again!!!
Lenny --
"Wisdom is to a man an infinite Treasure" - Anonymous"
Quoting Andrzej Filip <[EMAIL PROTECTED]>:
Lenny wrote:I am using the Cyrus-Sendmail integration as done by Andrzej Filip. I'm having
problems with some aliases.
The problem is with aliases that are in virtusertable which point to an alias in
the aliases file (because the aliases forward to multiple destinations). All
works fine except that I can't have a copy go into the users real mailbox. Here
is an example of what I mean:
In mailertable:
example.net mrs_cyrus_mailertable:error:5.1.1:550 User unknown
Then [EMAIL PROTECTED] is added to cyrus, so it is a valid account.
In virtusertable:
[EMAIL PROTECTED] lennyfw
In aliases:
lennyfw: [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]
Obviously "example.net" is just for illustration purposes. Now, if I send an email to "[EMAIL PROTECTED]", it parses virtusertable correct. It parses aliases correctly and sends out to "[EMAIL PROTECTED]" and "[EMAIL PROTECTED]", but errors on copying the message to the local mailbox (errors with "User unknown").
So, the question is, how can I copy a message into the users actual mailbox via
the aliases file? Thanks.
As I understand you use http://anfi.homeunix.net/sendmail/rtcyrus2.html ------------------------------------------------------------------------
Try the following "first idea I can think about":
virtusertable: [EMAIL PROTECTED] lennyfw [EMAIL PROTECTED] !
alias: lennyfw: [EMAIL PROTECTED],[EMAIL PROTECTED]
1) "!" LHS is an "undocumented virtusertable implementation detail". It means "leave as it is, ignore more general virtusertable entries".
2) Messages will be delivered to INBOX of [EMAIL PROTECTED] unlesss [EMAIL PROTECTED] has xxx folder and anonymous user can append to the folder [you can replace xxx by another string].
------------------------------------------------------------------------
If ot does not help then answear a few questions: Is example.net a local email domain ? echo '$=w' | sendmail -bt Is example.net a $={Virthost} domain ? echo '$={VirtHost}' | sendmail -bt
-- Andrzej [en:Andrew] Adam Filip [EMAIL PROTECTED] [EMAIL PROTECTED] http://anfi.homeunix.net/ http://slashdot.org/~anfi
--- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html