Mail server for Linux

They have: 1 posts

Joined: Feb 2007

Hi,
I want to setup the mail server on my LAMP server which is running on suse 10.x

Objective:
This mail server will help my php default mail function mail() to work instead of using any SMTP class.

Current scenerio:
I have two different server 1. WWW server and 2. mail server.

Query
1. Should I install the sendmail server on the WWW rever which will relay to Mail server
2. Is there any other mail server which I can install on WWW server. and it will support PHP default mail() function to work?

Thank you,
Anand

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

anand wrote: 1. Should I install the sendmail server on the WWW rever which will relay to Mail server

Wouldn't it just be easier to use sendmail from the computer with PHP installed? I'd be worried about the security of the mail server if you turn on relays, that server may end up being used by spammers.

You could still use the email server for incoming mail. If you have to use the mailserver machine for sending then make sure it's setup correctly (that's for BSD, but it should be pretty-much the same). Am sure it would just be easier to configure the WWW server to send e-mail though.

a Padded Cell our articles site!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.