Showing results for 
Search instead for 
Did you mean: 

sendmail and groupwise marriage

Go to solution
Frequent Advisor

sendmail and groupwise marriage

Redhat 9.0 ES

I am trying to merge external and internal email.

Currently redhat 9 es with sendmail is my external email.

Groupwise 6.5 is the internal.

Desktops are windows 98/2000.

My questions are....
some external address names are different than the internal addresses.

Do I have to change all the adresses to match up with groupwise adresses or is there a way to alias them from the linux box???

Lastly, where in the world on the linux box do I forward the mail to groupwise/

Thanks in advance!!
Steven E. Protter
Exalted Contributor

Re: sendmail and groupwise marriage

There is a file called /etc/aliases in Linux.

The format is:

id1: alias

The examples I provide are illustrative.

mail for id1 on the Linux box is routed to the local id alias

mail for id2 is forwarded to

mail for is forwarded to

There is a tab between the colon and the alias target address.

With this kind of configuration you can forward mail to compensate for the groupwise issues.

You should restart the sendmail daemon if its being run daemonized on the Linux box.

service sendmail restart

Steven E Protter
Owner of ISN Corporation
Stuart Browne
Honored Contributor

Re: sendmail and groupwise marriage

You can use one of two methods:


You can flat-alias users to their group-wise-internal names in the /etc/aliases file. This will just forward the messages on. An entry for each user will need to be made (read: long and painful to maintain over time).

If most of the names are the same however, just a few are different, then it's probably eaiser to use the virtusertable. This gives you the ability to selectivly map entire domains to have different actions, for instance: %1@groupwise-internal

would forward all mail to the groupwise internal machine. You could so selective mappings here as well for those users who have different names. is a good reference here (section 4 onwards).

Hope this helps.

NOTE: Neither of these methods would require the Linux box to have accounts for your mail users.
One long-haired git at your service...