Hi,
I just discovered Procmail. I have it installed on a mail server, system wide for all users. I was wondering about the procmailrc file.
I don't have one in there right now but as soon as I do will procmail automatically recongize it? How does sendmail interface w/ it? How do you tell sendmail to route mail throught promail?
also i noticed that there are rules to send mail to your inbox folder. however I don't reall have an inbox 'folder'. my inbox is the /var/spool/mail/my_name file. how do i get procmail to use this as the default?
thanx.
This is an example taken from the Exim MTA config file.
Transports
# This transport is used for procmail
procmail_pipe:
driver = pipe
command = "/usr/bin/procmail -d ${local_part}"
return_path_add
delivery_date_add
envelope_to_add
check_string = "From "
escape_string = ">From "
user = $local_part
Directors
# This director runs procmail for users who have a .procmailrc file
procmail:
driver = localuser
transport = procmail_pipe
require_files = ${local_part}:+${home}:+${home}/.procmailrc:+/usr/bin/procmail
no_verify
================================================== ====
I don't know about sendmail, but Postfix has something very similar, so I assume sendmail will too.
Have a look at this:
http://www.linuxjunior.org/cgi-bin/p...play&id=16
Bookmarks