postfix per sender relay bounces

2009-07-23 Thread Christoph Höger
Hi,

I noticed an odd problem on my fresh local postfix setup (which was done
after Pauls howto 
 
 http://marilyn.frields.org:8080/~paul/wordpress/?p=2616
) The Problem is: when my paranoid university mail server denied relay
because of the wrong helo (even though I authenticate via a TLS secured
connection), postfix happily wanted to send a bounce report. To the
adress of the "faked" sender. So it tried to relay that bounce report to
the university server again and -of course- failed. 

Is there a way to configure postfix to send bounces for specific senders
back to a local queue?

regards

christoph


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: postfix per sender relay bounces

2009-07-23 Thread Craig White
On Thu, 2009-07-23 at 14:36 +0200, Christoph Höger wrote:
> Hi,
> 
> I noticed an odd problem on my fresh local postfix setup (which was done
> after Pauls howto 
>  
> http://marilyn.frields.org:8080/~paul/wordpress/?p=2616
> ) The Problem is: when my paranoid university mail server denied relay
> because of the wrong helo (even though I authenticate via a TLS secured
> connection), postfix happily wanted to send a bounce report. To the
> adress of the "faked" sender. So it tried to relay that bounce report to
> the university server again and -of course- failed. 
> 
> Is there a way to configure postfix to send bounces for specific senders
> back to a local queue?

I'm not entirely sure what the local queue will do but you can implement
sender checks...

# cat /etc/postfix/sender_checks
# This file must be "compiled" with "postmap"

# We get lots of spam from example3.tld, but we have somebody
# there from which we do want to hear
#someu...@example3.tld  OK
#example3.tld   REJECT

and add to smtpd_restrictions...
check_sender_access hash:/etc/postfix/sender_checks,

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: postfix per sender relay bounces

2009-07-24 Thread Mikkel L. Ellertson
Christoph Höger wrote:
> Hi,
> 
> I noticed an odd problem on my fresh local postfix setup (which was done
> after Pauls howto 
>  
>  http://marilyn.frields.org:8080/~paul/wordpress/?p=2616
> ) The Problem is: when my paranoid university mail server denied relay
> because of the wrong helo (even though I authenticate via a TLS secured
> connection), postfix happily wanted to send a bounce report. To the
> adress of the "faked" sender. So it tried to relay that bounce report to
> the university server again and -of course- failed. 
> 
> Is there a way to configure postfix to send bounces for specific senders
> back to a local queue?
> 
> regards
> 
> christoph
> 
You man want to look into header_checks (man header_checks) to
redirect the bounce messages to a local mailbox.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!



signature.asc
Description: OpenPGP digital signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines