Loading ...
Sorry, an error occurred while loading the content.

Re: redirecting mail from a particular server

Expand Messages
  • Timothy Smith
    Thank you Robert, I was able to follow your instructions and achieved what I want. I am now rejecting with a message. Sorry about the misleading subject. Kind
    Message 1 of 4 , Nov 7, 2011
    • 0 Attachment
      Thank you Robert,

      I was able to follow your instructions and achieved what I want. I am
      now rejecting with a message.

      Sorry about the misleading subject.

      Kind Regards,
      Tim

      On Mon, Nov 7, 2011 at 1:10 PM, Robert Schetterer <robert@...> wrote:
      > Am 07.11.2011 11:02, schrieb Timothy Smith:
      >> Hi Users,
      >>
      >> I am relaying mail for many IPs using postfix version 2.1.6. For some
      >> particular IPs, I would like to just drop their email (rather than
      >> turn off relaying for them). Is that possible?
      >>
      >> I appreciate your help.
      >>
      >> Tim
      >
      > rejecting ips is simple but
      > you should never silent drop
      > i.e
      >
      > smtpd_client_restrictions = permit_mynetworks,
      > permit_sasl_authenticated,
      > check_client_access hash:/etc/postfix/access,
      > ...
      >
      > /etc/postfix/access
      > bad.ip.add.re REJECT i dont like you
      >
      > but be aware , it wont work with this example
      > if they allready are in my networks or sasl authed before
      > if so ,do the reject at first second place, what you like
      >
      > --
      > Best Regards
      >
      > MfG Robert Schetterer
      >
      > Germany/Munich/Bavaria
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.