Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 10-01-2006, 08:03 PM   #1
Registered: Mar 2005
Location: UK
Distribution: Ubuntu, Slackware
Posts: 49

Rep: Reputation: 15
Send Email from root


I have just installed phpBB2 Forums on my Test Server but for some reason I cannot get email to be sent from root I thought that it should be something like root@MyUserName.localdomain but after I try to send an email to All Registered Users from Mass Email I just get two BEEPS but no email has been sent after I check.

I have made One Registered User on the forum just to test and then I tried to email using the Mass Email Function.

I am not a regular Linux User, I have just started using it again after months of being apart from it! I am a Windows Programmer and wish had more time to get into it properly.

Please if somebody knows what I can do to get this working, please could you give me some advice.

Many thanks

Old 10-02-2006, 08:31 AM   #2
LQ Newbie
Registered: Jan 2005
Posts: 24

Rep: Reputation: 15
does phpbb use smtp or the sendmail compatable binary (probably via php mail() function)? can you set mail from your server any other way?

I have no idea what would make 2 BEEP's.
Old 10-02-2006, 10:04 AM   #3
Registered: Mar 2002
Location: Marysville, WA
Distribution: Redhat, Win2K, Solaris
Posts: 45

Rep: Reputation: 15
mail test

I think you should be sending mail to root@localhost.localdoamin. Here is a test you can try.

Try this command:
mailx -s "test" -v root

Put a . in the next line and sendmail will echo back something like:

>>>RCPT To:<root@localhost.localdomain>

This is the email address of your local root user. If you want mail to be moved to a different server you will have to configure Sendmail.

Hope this helps.
Old 10-02-2006, 12:43 PM   #4
Registered: Mar 2006
Distribution: debian sarge
Posts: 222

Rep: Reputation: 30
easy, log in as root, open your fav e-mail klient and go with it.
Old 10-02-2006, 01:51 PM   #5
Registered: Mar 2005
Location: UK
Distribution: Ubuntu, Slackware
Posts: 49

Original Poster
Rep: Reputation: 15

Thanks to everyone for replying, I have it working now.

phpBB2 was configured for sending emails via the Local Mail Function and I was trying to send to another email account, but my ISP was rejecting it and returning the email as 550 Invalid Sender Domain. I think I had one too many beers last night!!

I have now configured it through SMTP and everything is working fine.

Thanks again




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
email 'send' NO - email 'receive' YES..? captain skywave Linux - Wireless Networking 4 04-23-2005 03:35 AM
email 'send' YES - email 'receive' NO..? captain skywave Linux - Wireless Networking 1 04-22-2005 05:23 AM
Send root mail to email address GUIPenguin Linux - General 1 03-01-2005 07:16 PM
Allowing an IP to send email using my email server... culprit Linux - Networking 7 09-09-2003 12:24 PM
Need to send email linuxRules Linux - General 4 07-12-2002 01:57 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration