News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Help: Mail server configuration

Started by wjhdiz, January 17, 2008, 01:57:50 PM

Previous topic - Next topic

wjhdiz

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
Freedom of speech? It is freer if not speaking out.
Believing in God? Yes, talk with God every day through God creations.
Coding is poem and a way of keeping away from the troubled world.

H

Any errors in your error log? (Admin area > Error Log)
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

wjhdiz

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
Freedom of speech? It is freer if not speaking out.
Believing in God? Yes, talk with God every day through God creations.
Coding is poem and a way of keeping away from the troubled world.

青山 素子

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.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


wjhdiz

Will try tonight and let you know the result. However, I still wonder why mail can be sent out with phpBB2.0?

Thanks
Jimmy
Freedom of speech? It is freer if not speaking out.
Believing in God? Yes, talk with God every day through God creations.
Coding is poem and a way of keeping away from the troubled world.

Deaks

is the mail sending or do you still require help
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

wjhdiz

@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.
Freedom of speech? It is freer if not speaking out.
Believing in God? Yes, talk with God every day through God creations.
Coding is poem and a way of keeping away from the troubled world.

青山 素子

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.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Advertisement: