Fwd/Alias instead of reject

From: Steve V. (no email)
Date: Thu Sep 01 2005 - 12:11:40 EDT

  • Next message: Simon J Mudd: "How to achieve alternative masquerade functionality? (apply to a limited set of hosts)"

    Haven't had much luck finding this info through normal resources so im back.
    much thanks for the help on my previous problem. I am running a pretty
    stock postfix 2.x email server on fedora core 4. serves a single domain and
    delivers to local accounts on the box. the end of my main.cf file has been
    ammended with the following to implement an incomming and outgoing whitelist
    (my boss is paranoid *shrug*):

    smtpd_restriction_classes = restrictiv, permissive, outgoing
    restrictiv = check_sender_access mysql:/etc/postfix/whitelist.cf, reject
    permissive = permit
    outgoing = check_recipient_access mysql:/etc/postfix/outgoing.cf, reject

    smtpd_recipient_restrictions =
            check_sender_access mysql:/etc/postfix/protected_senders.cf
            check_client_access mysql:/etc/postfix/protected_clients.cf
            check_recipient_access mysql:/etc/postfix/protected_users.cf
            permit_mynetworks
             reject_unauth_destination

    Depending on who the user is, or who is sending in the mail the restrictions
    will end up at one of the classes above. my previous issue was that i
    wanted to customize the reject message if somone didn't match against the
    whitelist, which worked great (but is not reflected in the above config) but
    first we need a transition period as we populate the whitelist with
    customers... rather than reject (even with the fancy message) i'd rather
    it just send the email to a different address, like a catch-all or
    supervisor account. basically, like the alias setup.

    an example would be:

     has a local account
     is a catch all supervisor kinda inbox and has a local
    account

    if userA recieves an email and it fails the whitelist lookup above, instead
    of reject, i'd like it to send the message over to instead.

    any idears or some pointing into the right direction?


  • Next message: Simon J Mudd: "How to achieve alternative masquerade functionality? (apply to a limited set of hosts)"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD