Hello, how are you?

I'm a rookie in qmail, but I already installed it on my mailserver. What
I am trying to do is to get qmail works the same way as sendmail (using
/var/spool/mail/$USER file). The second thing I am trying to do is to
use /etc/aliases to execute a program to send a message to one pager
once an e-mail comes to one of my users (who appears on aliases files)

For the first topic: I am having problems when I try to send a message
from a remote host,
The message appears to be received but I don't know where to find it on
my mailserver. 

the first rc script I tried was:



#!/bin/bash
 
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start 'dot-forward .forward
./Maildir/'                                   

which works with ~user/Maildir format, and remote mails are received. 

When I changed the rc script to the following:
#!/bin/sh
 
# Using splogger to send the log through syslog.
# Using dot-forward to support sendmail-style ~/.forward files.
# Using binmail to deliver messages to /var/spool/mail/$USER by default.
# Using V7 binmail interface: /bin/mail -f
 
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start '|dot-forward .forward \
|preline -f /bin/mail -f "${SENDER:-MAILER-DAEMON}" -d "$USER"' \
splogger qmail           

the messages did not appear on my $USER file eventhough they appear to
be sent to my mailserver.

My OS is Linux SuSE V6.3.

For the second topic:  I found on fastforward documentation that it does
not support program delivery because it is insecure (in the way sendmail
handle it). they recommend to use qmail's secure built-in mechanisms
instead. (I did not find those secure methods on my qmail documentation,
would somebody help me with this? please tell me where can I find any of
those mechanisms)

Thanks a lot for your cooperation,

Eduardo Rojas.

Reply via email to