Operating System - Linux
1825981 Members
3235 Online
109690 Solutions
New Discussion

Re: Desparate Sendmail Question

 
SOLVED
Go to solution
manny_9
Frequent Advisor

Desparate Sendmail Question

redhat 9/sendmail
groupwise 6.5
webmin

I am using webmin administration to configure sendmail to relay email to groupwise.
Do I just use the Send outgoing mail via host module in webmin and forward to the groupwise server?

How would I configure sendmail to accept mail for xxxx.net and relay to groupwise without using the sendmail accounts??
7 REPLIES 7
Steven E. Protter
Exalted Contributor
Solution

Re: Desparate Sendmail Question

That would involve virtual domain hosting.

Quite simple and laid out in this document:
http://www.sendmail.org/virtual-hosting.html

You will probably need to set up 1 account to accomplish the forwarding

call it gwise

in /etc/aliases

gwise: account_on_groupwise_server

You may not have to do this.

Virtual hosting will get you the tools you need to do the job.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
manny_9
Frequent Advisor

Re: Desparate Sendmail Question

Thanks!! I really need the help.

If I ...


gwise: account_on_groupwise_server

I still get a user unknown error
or
it's connects and mail is sent.But the mail stays on the linux box it doesn't make it to the groupwise server.

Steven E. Protter
Exalted Contributor

Re: Desparate Sendmail Question

I'm sorry, my procedure was incomplete

Before starting anything in my original post:

as root

useradd gwise
passwd gwise

# that creates the user and you need to set a password.

Now you can do the /etc/aliases mail forwarding in the original post.

As far as the account name after the colon You need to have that user set up on your groupwise server. I can't help you with that.

Also, You will probably need to rebuild your alias file for the mail to go through. I'm attaching a script that does that, though you will have to look through it, compare it to the one in sendmail.org and comment out the parts you don't need.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
manny_9
Frequent Advisor

Re: Desparate Sendmail Question

I must have really screwed things up.
I did as you instructed and i still can't get mail to the groupwise server.

I even tried the mailertable way.

any pointers on what I should look for?

Thanks
Naveej.K.A
Honored Contributor

Re: Desparate Sendmail Question

hi manny,

relaying is possible using the DS Macro in the /etc/mail/sendmail.cf file. search DS and put the name of the domain where you want to relay your mails. IP address of this relay server should be resolved using any of the resolver. ie. you have to put corresponding entry in /etc/hosts or add in the DNS database

regds
naveej
practice makes a man perfect!!!
manny_9
Frequent Advisor

Re: Desparate Sendmail Question

I would like to thank you both for your help!!


I did it!!!

Linux server is now relaying to the groupwise server.

One more question.
Since everything goes directly to groupwise now...
is there a way to have certain accounts on the linux/sendmail server not go to the groupwise server?
Steven E. Protter
Exalted Contributor

Re: Desparate Sendmail Question

Just set up the accounts on the Linux machine.

useradd
passwd


Immediately mail to those accounts will go to /var/mail/username

The mail can be accessible by imap or pop if you set those daemons up to run.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com