Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
flashmob committed Aug 1, 2011
1 parent c533f59 commit d9ac552
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README
Expand Up @@ -66,7 +66,7 @@ http://www.php.net/manual/en/book.iconv.php
- Setup your MySQL database (schema below)

- Start on the command line like this:
root@server[] php smtpd.php -l log.txt &
root@server[] php smtpd.php -l log.txt
Arguments
-p Specify the port number
-v Verbose output to the console
Expand All @@ -91,14 +91,17 @@ if (!$running) {
die();


Here is an example of /home/user/startsmtpd
Here is an example of /home/user/startsmtpd which will start the smtpd
in the background:

#!/bin/bash
php /home/user/smtpd.php -l /home/user/log.txt -v &

Save the 2 lines above in to a file named startsmtpd
and then do: chmod 755 startsmtpd



Database Schema:

CREATE TABLE IF NOT EXISTS `new_mail` (
Expand Down

0 comments on commit d9ac552

Please sign in to comment.