advertisement

Article:
  Sanitizing Mail on Panther Server
Subject:   procmail problems
Date:   2004-02-02 12:42:11
From:   jldera
Response to: procmail problems

I am not sure why procmail does not create an entry in the message's delivery path. It hasn't historically in any configuration I'm aware of. I imagine, however, that you could make a procmail recipe that would add a header of some sort to indicate it had passed through.


As far as multiple short names not working, I'm not totally surprised. Sorry I had not considered it as a notice in the article somehow. The reason it does not work with multiple short names is because procmail attempts to deliver mail to a specific mailbox. When you create multiple shortnames for a user account, only a single mailbox is made, which has the name of the first shortname used. When procmail attempts to deliver to one of these alternate names, it can't resolve the name properly because its box doesn't exist.


I'm not sure how you're using the shortnames. I haven't found a practical use for them in my organization's server. However, if you're just using them for aliases to the same mailbox, you should be able to modify Postfix's /etc/aliases file (and then run newaliases) to create aliases for the mailbox. The aliases should work properly with the above described config, since the resolution of the alias occurs prior to the pipe to Procmail.

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • procmail problems
    2004-02-08 07:14:19  raffaell [Reply | View]

    I am using others name for my users' email addresses. In my studio all email are first letter of the name dot surname (p.pallino). Since the user's short name cannot include a point character I have to use second, third name.
    Another thing: reading log file I saw that postfix has problems to transfer email (addressed to second user's name) to procmail, but email is not deleted. It arrives after I come back to original configuration.