Sendmail

Mikkel L. Ellertson mikkel at infinity-ltd.com
Wed Feb 4 14:43:54 UTC 2009


Adil Drissi wrote:
> Hi,
> 
> I have successfully installed Mysql and PHP but I am unable to
> send email via php. Sendmail is already installed apparently.

Are you running SELinux? If so, you need to turn on the ability to
send email from the web server, if that is what you are trying to do.

> I want to know if there is a way to test email by sendmail command lines.

You will have to read the Sendmail documentation. Depending on
exactly what you mean by test email, there are commands to do it.
But I don't run Sendmail any more, and I don't remember the exact
commands.
> Another thing is that how to configure sendmail because i'm just a
> regular customer of an internet provider. I know the provider's mail
> server parameters. Can sendmail be used with these parameters?
> 
You can set up Sendmail to use a relay host. So what you want to do
is set up your ISPs SMTP server as your relay host. I think the
default sendmail.mc file has a line for this, but it is commented out.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090204/7bd1d0d1/attachment-0001.sig>


More information about the fedora-list mailing list