Simple Machines Community Forum

SMF Support => Server Performance and Configuration => Topic started by: wjhdiz on January 17, 2008, 01:57:50 PM

Title: Help: Mail server configuration
Post by: wjhdiz on January 17, 2008, 01:57:50 PM
Hi,

May issue is with server configuration for mail

Mail server setup:
I use FEDORA 6 and could not find out how to make the SMF mail service works. In the server configuration, for the mail, I use the default PHP mail and it does not work. No mails can be sent out to users. I feel it has something to do with SMF setup as I have no problems with phpBB2.0

Any suggestions?

Thanks in advance.
Jimmy
Title: Re: Help: Mail server configuration
Post by: H on January 17, 2008, 02:15:59 PM
Any errors in your error log? (Admin area > Error Log)
Title: Re: Help: Mail server configuration
Post by: wjhdiz on January 17, 2008, 03:26:43 PM
Something like: mail can not be sent to *****@gmail.com. If you like, I will get exact error message tonight at home.

Also after install PhpBB, an automatic email was sent to me gmail account, but SMF does not do it.

In term of configuration, how should I configure the mail server part?

Thanks.
Jimmy
Title: Re: Help: Mail server configuration
Post by: 青山 素子 on January 17, 2008, 04:21:03 PM
The default PHP mail method uses the sendmail command to actually send out the mail.

Try using the system's "mail" command to send an e-mail and see if that works.

The syntax is "mail e-mail address".

It will probably prompt you for the subject. Type that out, then when you are done with your message, put a single period on the next line to end the message.

If that process works, we've eliminated one possible issue.
Title: Re: Help: Mail server configuration
Post by: wjhdiz on January 17, 2008, 04:47:38 PM
Will try tonight and let you know the result. However, I still wonder why mail can be sent out with phpBB2.0?

Thanks
Jimmy
Title: Re: Help: Mail server configuration
Post by: Deaks on January 20, 2008, 08:55:03 AM
is the mail sending or do you still require help
Title: Re: Help: Mail server configuration
Post by: wjhdiz on January 23, 2008, 03:51:59 PM
@Motoko-chan, I tried this and it did not work.

@RunicWarrior, I wish someone can help me. 

Quote from: Motoko-chan on January 17, 2008, 04:21:03 PM
The default PHP mail method uses the sendmail command to actually send out the mail.

Try using the system's "mail" command to send an e-mail and see if that works.

The syntax is "mail e-mail address".

It will probably prompt you for the subject. Type that out, then when you are done with your message, put a single period on the next line to end the message.

If that process works, we've eliminated one possible issue.
Title: Re: Help: Mail server configuration
Post by: 青山 素子 on January 23, 2008, 03:54:30 PM
So, do you see the message stuck in queue when you run "mailq"?

It sounds like your server can't send mail out the normal (sendmail command) way. You will either need to investigate why this is, or find a server you can send mail through and tell SMF to send through that.