Bill Cole opined on Thursday 23-May-2013@15:36:24
> On 23 May 2013, at 13:51, LuKreme wrote:
> 
>> On 22 May 2013, at 07:07 , "Bill Cole" 
>> <postfixlists-070...@billmail.scconsult.com> wrote:
>> 
>> Yes, I see that *now*. Thanks. I think I was tunnel-visioned on the end of 
>> the line.
>> 
>> 
>> After looking up the original email I see this is a account that forwards 
>> mail to a gmail account, and gmail rejected the forwarded mail because it 
>> was spam.
>> 
>> /var/log/maillog.1.bz2:May 21 14:29:31 mail postfix/smtp[81526]: 
>> 3F635118B777: to=<*munged*@gmail.com>, orig_to=<*munged*>,
>> relay=gmail-smtp-in.l.google.com[74.125.142.26]:25, delay=1.1, 
>> delays=0.26/0.05/0.39/0.45, dsn=5.7.1, status=bounced (host 
>> gmail-smtp-in.l.google.com[74.125.142.26] said: 550-5.7.1 [75.148.117.91     
>>  12] Our system has detected that this message is 550-5.7.1 likely 
>> unsolicited mail. To reduce the amount of spam sent to Gmail, 550-5.7.1 this 
>> message has been blocked. Please visit 550-5.7.1 
>> http://support.google.com/mail/bin/answer.py?hl=en&answer=188131 for 550 
>> 5.7.1 more information. cl1si4050394igc.54 - gsmtp (in reply to end of DATA 
>> command))
>> 
>> Short of not forwarding to gmail, anything I can do so that this results in 
>> dropping the mail (the 'wrong' thing) instead of trying to generate the 
>> appropriate bounce (the 'right' thing)?
> 
> I think you could use sender_dependent_default_transport_maps to route 
> bounces to a smtpd that uses nested_header_checks (ewww) to discard messages 
> bearing the fingerprint of being the result of a forwarding attempt, such as 
> a Delivered-To header containing a local mailbox.
> 
> Implementation details are left as an exercise for the reader (bwahahaha...) 
> Note that I have not done the exercise myself, so consider this a hand-wave 
> in what seems to be the right direction, nothing more.

Heh. I’ll pass, I think.

You’re the same Bill Cole who used to hang out with me on the SIMS list way 
back when Mac OS 8 was cutting edge, right?

Those were the days.

-- 
Sam, I thought I told you never to play--

Reply via email to