My understanding is that you should place the files you are creating in the
C:\xmail\spool\local folder (create them elsewhere and copy them to that
location). I don't think placing the files directly into the numbered spool
folders is a good idea.
From the documentation:
XMAIL LOCAL MAILER
XMail has the ability to deliver locally prepared mail files that if
finds in the 'spool/local' directory. The format of these files is
strict:
mail from:<...>[CR][LF]
rcpt to:<...>[CR][LF]
...
[CR][LF]
message text with [CR][LF] line termination
All lines must be [CR][LF] terminated, with one mail-from statement, one
or more rcpt-to statements, an empty line and the message text. Mail
files must not be created directly inside the '/spool/local' directory
but instead inside '/spool/temp' directory. When the file is prepared it
has to be moved into '/spool/local'. The file name format is:
stime-seqnr.pid.hostname
where:
stime
system time in sec from 01/01/1970.
seqnr
sequence number for the current file.
pid process or thread id.
hostname
creator process host name.
Example:
97456928-001.7892.home.bogus
XMail has a number of LMAIL threads that periodically scan the
'/spool/local' directory watching for locally generated mail files. You
can tune this number of threads with the '-Ln nthreads' command line
option. The suggested number ranges from three to seven.
At 12:46 7/25/2003, Michael Lugassy wrote:
>Hi there,
>
>I'm using an external application that creates well formatted, plain text
>files that are similar to the SMTP message format of XMAIL (and any other
>SMTP server for that matter).
>
>I was reading this-
>http://www.xmailserver.org/Readme.html#xmail_spool_design
>
>Is it true that I only need to create the mstime.pid.hostname on a randomly
>selected "parent" spool folder? such as :
>C:\xmail\spool\7\4
>C:\xmail\spool\7\2
>C:\xmail\spool\11\12
>
>What if I write a file with a different filename then mstime.pid.hostname ?
>will XMAIL still handle it?
>
>Thanks!
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe xmail" in
>the body of a message to [EMAIL PROTECTED]
>For general help: send the line "help" in the body of a message to
>[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]