LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 08-03-2011, 03:10 PM   #1
xtiansimon
Member
 
Registered: Nov 2009
Posts: 30

Rep: Reputation: 0
Help me configure Fakemail to start up as xinetd service...


I found a way to capture emails sent from my Drupal installation, and Fakemail seems simple enough.

I can follow the tutorial. Since the application Fakemail needs to be running to capture the outgoing emails, it seems like a good candidate for xinetd, yes?

I've found a simple config tutorial describing starting the service and what the parameters are for the service-specific configuration files. This got me this far,

Code:
# default: on
# description: This is a script to start the Sandbox app "fakemail"
service fakemail
{
        #disable        = no
        #flags          = IPv6
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = root
        server          = /usr/bin/fakemail.py
        server_args     = --host=localhost --port=10025 --path=/var/www/fakemail
        log_on_failure  += USERID
}
But the service is not starting up. Will someone help me with this config file?

Or, recommend another application which uses a similar configuration like Sendmail so I can copy this

The Fakemail application/service is started from command line like so,
# fakemail.py --host=localhost --port=10025 --path=[path_to_email_textfile]
 
Old 08-03-2011, 05:34 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,962

Rep: Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341
Hi,

Uncomment
Quote:
#disable = no
and add:
Code:
port = 10025
restart the xinetd service and check

Regards

Last edited by bathory; 08-03-2011 at 05:45 PM.
 
  


Reply

Tags
server, xinetd


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
[SOLVED] Configure new rpc service - xinetd rajhn Linux - Newbie 4 02-02-2011 01:59 AM
how to configure ssh (xinetd) service sanjay2004 Linux - Server 8 03-01-2010 10:50 AM
xinetd: unrecognized service ??? Why?? stewchcken Linux - Networking 8 07-14-2005 09:23 AM
xinetd uses service --> slackware uses ??? kntgtaid Slackware 1 06-06-2004 03:10 PM
xinetd service not starting porous Linux - Networking 4 10-14-2003 07:50 AM


All times are GMT -5. The time now is 02:18 AM.

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