Wasn't able to get the wildcard alias to work as a catch-all on Fedora10 in the /etc/aliases file. Following are the steps that worked with sendmail.

cd to the /etc/mail directory.
Edit virtusertable file and  add a line for "@servername   fictitioususername"
run make command to rebuild virtusertable.db file. This will act as a catch-all for the @serverdomain to the fictitioususername.

In the /etc/aliases file, add a line for "fictitioususername:      
|/etc/smrsh/maildaemon.php". The pipe symbol,|,
is needed to indicate a command is being called.
run command newaliases to rebuild the alias file. /etc/smrsh is a security feature in sendmail to restrict the executables allowed to sendmail.

in the /etc/smsh directory, create the symlink "ln -s 
/path/to/laconica/scripts/maildaemon.php /etc/smrsh/maildaemon.php".


Also need to enable the sendmail daemon to accept outside email by changing line
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
to
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
in the /etc/mail/sendmail.mc file. Run make again, and restart sendmail daemon.
Also required is configuring the firewall.

Sean

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to