OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Will Yardley (william+postfixhq.newdream.net)
Date: Tue Sep 04 2001 - 20:13:32 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    i found this discussion in the archives:
    http://archives.neohapsis.com/archives/postfix/2000-08/0993.html
    has anyone found a better solution to this than the one proposed in the
    archives? the original question:

    > I am considering moving to postfix from sendmail.

    > However, a feature we use in our sendmail virtual table is the ability
    > to reject single addresses at domains
    >
    > Eg

    > bobdomain.com user1
    > marydomain.com user2
    > unwanteddomain.com error:nouser
    > domain.com domainadmin

    > Is there an equivalent of this error:nouser in postfix?

    i have a similar problem since we already offer the option for our users
    to create a fake 'user unknown' error for individual users in both
    /etc/aliases and /etc/virtusertable. when rewriting our scripts that
    create the alias and virtuser files i'm trying to figure out how to
    simulate this. i guess pointing to a non-existing user would do sort of
    the same thing but this isn't really ideal.

    also can i do this sort of thing in postfix? afaik there's no way to
    pipe to a script directly from virtual or whatever, right?.

    virtusertable:
    royblah.com roy--blah.com
    aliases:
    roy--blah.com: "|/dh/bin/autorespond.pl royblah.com", meaol.com"

    will

    -- 
    Sintax error in config file! (line 378)
    aborted!
    

    PGP Public Key: http://infinitejazz.net/will/pgp/ - To unsubscribe, send mail to majordomopostfix.org with content (not subject): unsubscribe postfix-users