Re: Integration with Postfix becoming impossible
Andrey Falko <[email protected]>
| Newsgroups | gmane.mail.spam.tmda.user |
|---|---|
| Message-ID | <[email protected]> |
<Forgot to reply-all> Thanks! Postfix is not fixed. Now tmda is thinking that replies are messages directly sent to the user, and sending another please confirm message. Here is my .procmailrc: RECIPIENT="$LOGNAME$DELIMITER$EXTENSION@$HOST" SENDER=`formail -x Return-Path | sed 's/[<>]//g;s/^[ ]*//'` # Run the message through tmda-filter. :0 w | /usr/bin/tmda-filter # Take the exit code from TMDA. EXITCODE=$? # TMDA takes care of final delivery DEFAULT=/dev/null Unfortunately doing procmail -p from postfix is not an option. Thanks again! R'twick Niceorgaw wrote: > Andrey, > > Postfix uses + as delimiter instead of - > So, to get tmda work with it, change recipient_delimiter to - as below > in main.cf, set > recipient_delimiter = - > and in tmda config set > > MAIL_TRANSFER_AGENT = "postfix" > RECIPIENT_DELIMITER = "-" > Or, > in main.cf, set > recipient_delimiter = + > in tmda config set > MAIL_TRANSFER_AGENT = "postfix" > RECIPIENT_DELIMITER = "+" > > > > > On Fri, 2007-09-07 at 20:36 -0400, Andrey Falko wrote: >> Hi everyone, >> >> I have been battling with this for days. Postfix can only receive >> messages sent to existing users (those that I have in /etc/aliases >> or in /etc/passwd). When a reply message is sent, the reply address >> is [email protected]. Postfix refuses to receive such >> mail because while "user" may exist, [email protected] does >> not exist. I tried getting postfix to take the regex, >> /^user-confirm.*@example\.com$/ and have it send mail to "| tmda >> /home/user/.tmda/config", but this does not work. Here is how I do it: >> >> In /etc/aliases: >> >> tmda "| tmda /home/user/.tmda/config" >> >> In /etc/postfix/main.cf: >> >> virtual_alias_maps = hash:/etc/postfix/virtual >> >> In /etc/postfix/virtual: >> >> /^user-confirm.*@example\.com$/ tmda >> >> I tried without the / /'s. I tried without ^ and $; nothing works :(.\ >> I even tried using regexs in /etc/aliases. >> >> Is there a way to configure TMDA to reply-to just "user" and have >> something in the body or headers telling tmda what message the response >> or for? >> >> I would appreciate any help with this. >> >> Thank you very much. >> >> -Andrey >> _____________________________________________ >> tmda-users mailing list ([email protected]) >> http://tmda.net/lists/listinfo/tmda-users