Using Sendmail genericstable to map users to different domains

To run multiple domains on one machine, I haven’t found it possible to selectively use domain masquerading to set the correct domain name for email accounts that are part of each domain. However, the genericstable approach allows you to remap email addresses to alternative addresses as emails are sent:

Add these statements to your /etc/mail/sendmail.mc file to enable genericstable:

FEATURE(`genericstable',`hash -o /etc/mail/genericstable.db')dnl

GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl

Create a /etc/mail/generics-domains file that contains a list of the domains that are to be processed when remapping addresses.

For example:

example1.com

example2.com

Create the /etc/mail/genericstable file. For example:

username       username@different-domain.com

Rebuild the genericstable.db file:

makemap hash /etc/mail/genericstable.db < /etc/mail/genericstable

Rebuild your sendmail config using m4 (see other post here).

Restart your sendmail server.

JavaOne 2005 day 1 annoucements

Sun have announced today at day 1 of JavaOne 2005 that they will be open sourcing the new release of Java System Application Server Platform 9.0, indicating their commitment to the open source community.

Also being offered as open source is Java ESB (Enterprise Service Bus), an implementation of the Java Business Integration spec, JSR208, to support SOA based architectures.

Other annoucements today:

  • Java Enterprise Edition (Java EE), 5.0, the successor to J2EE 1.4 api spec. Sun have also released their Application Server 9.0 based on the Java EE 5.0 spec, as the Reference Implementation).
  • I expect EJB3.0 with the long awaited and enhanced (as it should have been from day one) Entity Bean spec, based closely on Hibernate, will be part of the Java EE 5.0 platform.
  • A preview of new features of the Java SE 6.0 release expected next year, with new Windows ‘Longhorn’ look and feel, revamped XML stack, improved support for annotations, and dynamic scripting language support. All of these are currently avaialble as source code to be downloaded from java.net

Playstation 3 to come preinstalled with Linux?

The Inquirer supposedly have some information about the upcoming PS3, and that it will possibly come shipped with a relatively large hard drive. To prove a point that the PS3 will be more than just a games console, it will also be preinstalled with Linux.

One of the key features of the new Cell processor is that it will be capable of running multiple Operating Systems simultaneously on the same processor. Shipping the machine with Linux attempts to prove that the machine will be far more than just a games console.

In an interview with Sony President Ken Kutaragi, he suggests that the console could be used for editing home videos and photo retouching. There hase been a lot of coverage of the consoles gaming capabilities, but up until now no mention has been made of any of the expected ‘home entertainment center’ type functionality, that possibly will set the PS3 apart from the XBox 360, which is getting a head start with its release later this year (2005).