procmail
[Top] [All Lists]

Getting Procmail to work.

2003-05-14 07:51:01
Hello all,

I am using Procmail with Exim and virtual domains. From what I can see it is "working".

The problem I am having is that when a messages comes in for a address that is setup to use procmail I see in the maillog that procmail is "called" but then nothing.
If i do not have the procmailrc file it delivers fine!


 Mail log snippet

May 14 10:00:54 domain exim[20987]: 2003-05-14 10:00:54 19FwoQ-0005SV-00 <= user1(_at_)adomain(_dot_)com H=www.umpa-us.com (umpa-us.com) [67.104.134.171] P=esmtp S=1460 id=5(_dot_)2(_dot_)0(_dot_)9(_dot_)0(_dot_)20030514100023(_dot_)00b71e18(_at_)pop3(_dot_)umpa-us(_dot_)com May 14 10:00:54 domain exim[20989]: 2003-05-14 10:00:54 19FwoQ-0005SV-00 => user2 <user2(_at_)anotherdomain(_dot_)com> D=virtual_procmail T=procmail_pipe

My recipe right now is to forward everthing for user2(_at_)anotherdomain(_dot_)com somewhere else.

:0c    # Forwarding; no locking required
! there(_at_)here(_dot_)com

I never get the message at there(_at_)here(_dot_)com(_dot_)

in Exim I have

#                      TRANSPORTS CONFIGURATION                      #
 procmail_pipe:
        driver = pipe
        command = /usr/bin/procmail
        return_fail_output = false
        return_output = false
        # Add useful headers
        delivery_date_add = true
        envelope_to_add = true

        # Keep someone's broken procmailrc from filling up your logs
#       log_defer_output = true
#       log_fail_output = true
#       log_output = true

        # Keep procmail from making group- or world-writeable files
        umask = 0022

        # Use this only if you have group-writeable mailboxes;
        # for mailboxes in a sticky directory, remove it.
        group = mail
        user = mail

#                      DIRECTORS CONFIGURATION                       #
virtual_procmail:
  driver = aliasfile
  transport = procmail_pipe
domains = "pgsql;select mail_domains.domain where mail_domains.domain='${domain}'" query = "select pop.mbox where pop.domain='$domain' and pop.mbox='$local_part'"
  search_type = pgsql
  require_files = /etc/virtual/${domain}/${local_part}_procmailrc
  suffix = DSUFFIX*
  suffix_optional
  no_verify
  user = mail


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • Getting Procmail to work., Dev <=