Postfix SUBJECT-BASED redirect

Discussion in 'Installation/Configuration' started by lovelord, Jul 27, 2007.

  1. lovelord

    lovelord New Member

    Hi All,

    i really need an help to solve this problem:

    a customer have an email which generate message from an email we called [email protected] and i've to divide generated message which starts with + in subject from them doesn't start with. Them with + character have to be sent to another email address as [email protected] but one copy needs to remain in local; if no + character matches the copy could be simple processed from procmail and amavis.

    Have tried with header_checks, but to do this i need a double line if and it is not supported in (check from, check subject content)

    Have tryed to redirect message to a new user account in local to process it with .forward and procmailrc commands, but it enters in loop becouse procmailrc receive again the message with same + string in subject and starts again the loading... and so on.

    How can i do? There's somethin' already prepared and programmed that can be used for select and redirect some mail on Subject-based content filter?

    Thx for help all.

    Andrea
     

Share This Page