LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 02:10 PM   #1
xtiansimon
Member
 
Registered: Nov 2009
Posts: 33

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, 04:34 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,167
Blog Entries: 1

Rep: Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038
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 04:45 PM.
 
  


Reply

Tags
server, xinetd



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:41 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration