ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

Sendmail configuration for user

 
Robert Isaac_1
Occasional Contributor

Sendmail configuration for user

We have a ProLiant DL360 G4 with RHES Linux 4 and I am confused with part of the sendmail setup for users. We have only one web site on the server with our registered domain name.

I have a number of users who want to use our domain email address for business purposes instead of their own ISP domain address.

Let's take one example. Our domain is 'our.domain.com' and user 'john' wants to use 'john.smith@our.domain.com instead of his ISP address of 'john.smith@his.ispdomain.com'

I have created the user 'john' and his mailbox and also alias for mail for 'john.smith' to go to his mailbox 'john', and also added 'john' to /etc/mail/trusted-users.

I assume I enter 'his.ispdomain.com' in /etc/mail/relay-domains also.

Are there any other entries needed, as this does not work for all the users I have set up.

Bob
1 REPLY
Frederic Jacquet
Occasional Contributor

Re: Sendmail configuration for user

Hi Bob,

Seems you are a bit confused. The simpler :
- create linux user jsmith
- in /etc/aliases, define john.smith: jsmith
- type newaliases -on
- ensure your domain is MX for our.domain.com
- remove john from trusted-users except if he read mail using mutt or another non remote client
-optionnaly set fetchmail to fetch his mail from his ISP
- ensure your LAN IP are in relay-domains
-type service sendmail restart

Should works !

regards
fred