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

Re: [cobalt-developers] MX problem solved



At 17:50 18/11/00 +0000, Barry Titmarsh wrote:

As I suspected the problem is contained in the /etc/virtusertable file the way its being used with a feature called

I found this on the sendmail site that explains what is going on but I dont think its working

A domain-specific form of aliasing, allowing multiple virtual domains to be hosted on one machine. For example, if the virtuser table contained:

        info@xxxxxxx foo-info
        info@xxxxxxx bar-info
        @baz.org jane@xxxxxxxxxxxxx

then mail addressed to info@xxxxxxx will be sent to the address foo-info, mail addressed to info@xxxxxxx will be delivered to bar-info, and mail addressed to anyone at baz.org will be sent to jane@xxxxxxxxxxxxxx The username from the original address is passed as %1 allowing:

        @foo.org %1@xxxxxxxxxxxxx

meaning someone@xxxxxxx will be sent to someone@xxxxxxxxxxxxxx

All the host names on the left hand side (foo.com, bar.com, and baz.org) must be in $=w. The default map definition is:
hash -o /etc/virtusertable

A new definition can be specified as the second argument of the FEATURE macro, such as

FEATURE(`virtusertable', `dbm -o /etc/mail/virtusers')


CONFIG: Pass "+detail" as %2 for virtusertable lookups.
                Patch from Noam Freedman from University of Chicago.

CONFIG: Pass "+detail" as %1 for genericstable lookups.  Suggested
                by Raymond S Brand of rsbx.net.

its possible the feature is missing in redhat.mc the feature is - genericstable

thats what the %1@xxxxxxxxxx is doing in the virtusertable file.

ANYway,

I got around the problem by not ticking ANY of the boxes that say accept email for domain in site-settings on any virtual or main site.

I then added into the control panel email the domain in the box Host/Domain Aliases as some one pointed out.
it seem to work so far.

but what is colbalt trying to do with this broken GUI ?

PS Thanks to all who helped debug this problem I have a good idea on the fault in the scripts and am working on a fix.

Nice to see things working again.

Barry

----------------------------------------------------------------------------------------------------------
Barry Titmarsh BMT1-RIPE           Nacamar Ltd (Sheringham Office)
                                                  Knole House 38 Cromer Rd
                                                  Sheringham Norfolk NR268RR
e-mail: barry@xxxxxxxxxxxxxx      voice: +44-1263-821-844
www: www.nacamar.net.uk           fax:    +44-1263-820-271
----------------------------------------------------------------------------------------------------------

_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers


----------------------------------------------------------------------------------------------------------
Barry Titmarsh BMT1-RIPE           Nacamar Ltd (Sheringham Office)
                                                  Knole House 38 Cromer Rd
                                                  Sheringham Norfolk NR268RR
e-mail: barry@xxxxxxxxxxxxxx      voice: +44-1263-821-844
www: www.nacamar.net.uk           fax:    +44-1263-820-271
----------------------------------------------------------------------------------------------------------