|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Noel Jones (njones
megan.vbhcs.org)
Date: Wed Mar 18 2009 - 11:04:00 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Chris Dos wrote:
> Wietse Venema wrote:
>> That is what YOU believe. You probably made a typo somewhere. This
>> is why you should post "postconf -n" command output, as requested
>> in the mailing list welcome message which you decided to ignore.
>>
>>> I don't believe that header addresses contain ONLY an e-mail
>>> address. There is a lot of other information there. But the
>>> regular expression should match a VERP modified e-mail address.
>> Your regexp:
>>
>>>>> /^.+\+.+\=.+\
.+\..+$/ DISCARD
>> will never ever match a message header, because headers have the
>> format of
>>
>> HEADERLABEL: HEADERVALUE
>>
>> Wietse
>>
>
>
> In looking at the debug output of the communication between the smtp servers I saw this:
> Mar 18 09:16:38 mail-dr postfix/smtp[5596]: < mail.chrisdos.com[71.33.251.73]:25: 220 windwalker.chrisdos.com
> ESMTP Postfix (2.5.5)
> Mar 18 09:16:38 mail-dr postfix/smtp[5596]: > mail.chrisdos.com[71.33.251.73]:25: EHLO mail-dr.sharperagent.com
> Mar 18 09:16:38 mail-dr postfix/smtp[5596]: < mail.chrisdos.com[71.33.251.73]:25: 250-windwalker.chrisdos.com
> Mar 18 09:16:38 mail-dr postfix/smtp[5596]: < mail.chrisdos.com[71.33.251.73]:25: 250-PIPELINING
> Mar 18 09:16:38 mail-dr postfix/smtp[5596]: < mail.chrisdos.com[71.33.251.73]:25: 250-SIZE 51200000
> Mar 18 09:16:38 mail-dr postfix/smtp[5596]: < mail.chrisdos.com[71.33.251.73]:25: 250-ETRN
> Mar 18 09:16:38 mail-dr postfix/smtp[5596]: < mail.chrisdos.com[71.33.251.73]:25: 250-STARTTLS
> Mar 18 09:16:38 mail-dr postfix/smtp[5596]: < mail.chrisdos.com[71.33.251.73]:25: 250-AUTH GSSAPI CRAM-MD5
> DIGEST-MD5 LOGIN PLAIN NTLM
> Mar 18 09:16:38 mail-dr postfix/smtp[5596]: < mail.chrisdos.com[71.33.251.73]:25: 250-AUTH=GSSAPI CRAM-MD5
> DIGEST-MD5 LOGIN PLAIN NTLM
> Mar 18 09:16:38 mail-dr postfix/smtp[5596]: < mail.chrisdos.com[71.33.251.73]:25: 250-ENHANCEDSTATUSCODES
> Mar 18 09:16:38 mail-dr postfix/smtp[5596]: < mail.chrisdos.com[71.33.251.73]:25: 250-8BITMIME
> Mar 18 09:16:38 mail-dr postfix/smtp[5596]: < mail.chrisdos.com[71.33.251.73]:25: 250 DSN
> Mar 18 09:16:38 mail-dr postfix/smtp[5596]: server features: 0x901f size 51200000
> Mar 18 09:16:38 mail-dr postfix/smtp[5596]: Using ESMTP PIPELINING, TCP send buffer size is 4096
> Mar 18 09:16:38 mail-dr postfix/smtp[5596]: > mail.chrisdos.com[71.33.251.73]:25: MAIL FROM:<> SIZE=2830
> Mar 18 09:16:38 mail-dr postfix/smtp[5596]: > mail.chrisdos.com[71.33.251.73]:25: RCPT
> TO:<chris+no-one-home=chrisdos.com
chrisdos.com> ORCPT=rfc822;chris+2Bno-one-home+3Dchrisdos.com
chrisdos.com
> Mar 18 09:16:38 mail-dr postfix/smtp[5596]: > mail.chrisdos.com[71.33.251.73]:25: DATA
> Mar 18 09:16:38 mail-dr postfix/smtp[5596]: < mail.chrisdos.com[71.33.251.73]:25: 250 2.1.0 Ok
> Mar 18 09:16:38 mail-dr postfix/smtp[5596]: < mail.chrisdos.com[71.33.251.73]:25: 550 5.1.1
> <chris+no-one-home=chrisdos.com
chrisdos.com>: Recipient address rejected: User unknown in
>
>
> It looks like I want to check for RCPT TO:<VERP_Address>
> So I ran this check against the regexp table using postmap:
> postmap -q "RCPT TO:<chris+no-one-home=chrisdos.com
chrisdos.com>" regexp:header_checks.regexp
> and it came back with a result of DISCARD.
>
> So I guess I don't understand how you said it will never match as postmap said it does match.
>
> I'm not trying to be difficult or anything, just trying to figure out why this isn't working for me.
Don't use header_checks, use a check_recipient_access map.
It seems you trying to capture this on the sending system.
You can't do that, the sender isn't verp'ed when header_checks
and smtpd_*_checks sees the address.
-- Noel Jones
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]