BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: {bb} E-mail Acknowledgements with .forward



On Wed, 27 Oct 2004, Shane Presley wrote:

Currently sendmail.

I don't remember the default RedHat sendmail set up. You may need to check /etc/mail/sendmail.mc for
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl


As well as make sure it exists and has proper permissions. An alternative is to use procmail, which needs sendmail.mc settings
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
MAILER(procmail)dnl


and possibly some other stuff (I've been using postfix on my test box for a while now.)

If those settings aren't present or need changed to proper values, you'll have to rebuild your sendmail.cf using the m4 macro package.

According to the comments in bb-mailack.sh, there are some special
considerations using sendmail.  I followed part of those instructions.
I created a link in /etc/smrsh to point to the script.

smrsh is to sendmail like suexec is to Apache. I don't think symbolic links work - copy the script in /etc/smrsh


So my .forward file actually points to /etc/smrsh/bb-mailack.sh.  That
file has execute permissions.  But it still doesn't seem to be getting
called.  The comments also mention that you may need to use an alias
file.  Not sure how to create or user an alias in sendmail?

aliases in sendmail are defined in the /etc/aliases file (man aliases). Depending on your version of sendmail, it may or may not auto-rebuild the aliases database. I just manually rebuilt it whenever I make changes (newaliases).


Also no clue if I need procmail? And if I do, I wouldnt know how to use it :-)

procmail gives you a lot more mail processing power. You shouldn't need it but it can be a handy tool for doing other things via mail.


--Jeff

"Why are computers still made with 1.44 mb floppy drives???"

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index