OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Adam Theo (theo_at_theoretic.com)
Date: Thu Jul 11 2002 - 16:06:45 CDT

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

    Hello, all.

    I have a working Postfix setup now. I am using it to:
    * forward all incoming email on a subdomain (im.theoretic.com) on the
    standard port (25) to another port (5225) of the same machine. On that
    port the emails are parsed into Jabber [www.jabber.org] messages and
    send to the appropriate Jabber account.
    * The machine's hostname is not my domain (theoretic.com), which is a
    virtual domain in /etc/postfix/virtual.
    * Using the virtual map, I have email for certain addresses on my main
    domain (theoretic.com) going into POP/IMAP boxes for my email client.

    I am wanting to also make the remaining addresses for my main domain
    (theoretic.com) be transported to the other port (5225) instead of being
    bounced [Error 550, User Unknown]. I want to keep the addresses in the
    virtual map file still go to the local inbox, just all other addresses
    as the transport map for the subdomain (im.theoretic.com) does.

    Here is my main.cf file:
    -----------------------------------
    queue_directory = /var/spool/postfix
    program_directory = /usr/lib/postfix
    daemon_directory = /usr/lib/postfix
    command_directory = /usr/sbin

    mail_owner = postfix

    myhostname = mail
    mydomain = obelisk.net
    myorigin = $mydomain
    mydestination = $myhostname localhost.$mydomain $mydomain
    mynetworks = 66.13.154.0/28, 127.0.0.0/8, localhost
    relay_domains = $mydomain, gte.net, $transport_maps

    virtual_maps = hash:/etc/postfix/virtual
    transport_maps = hash:/etc/postfix/transport
    alias_maps = hash:/etc/aliases
    alias_database = dbm:/etc/aliases

    #local_destination_concurrency_limit = 2
    #default_destination_concurrency_limit = 10

    #debug_peer_level = 2
    #debugger_command =
    # PATH=/usr/bin:/usr/X11R6/bin
    # xxgdb $daemon_directory/$process_name $process_id & sleep 5

    append_dot_mydomain = no
    biff=no
    -----------------------------------

    Here is my transport file:
    -----------------------------------
    im.theoretic.com smtp:[im.theoretic.com:5225]
    -----------------------------------

    Here is my virtual file:
    -----------------------------------
    theoretic.com anything
    postmastertheoretic.com adamtheo, mike
    webmastertheoretic.com adamtheo, mike
    admintheoretic.com adamtheo, mike
    supporttheoretic.com adamtheo, mike
    adamtheotheoretic.com adamtheo
    theotheoretic.com adamtheo
    adamtheoretic.com adamtheo
    miketheoretic.com mike
    mikehearntheoretic.com mike

    Any ideas on how to do this? Thanks :)

    -- 
         /\  Adam Theo, Age 22, Tallahassee FL USA
        //\\   Email & Jabber: theotheoretic.com
       //  \\    MSN: theotheoretic.com   YIM: adamtheo2
    =//====\\=  (Boycotting AOL, therefore no AIM or ICQ)
    //  ||  \\  Theoretic Solutions: http://www.theoretic.com
         ||         "Bringing Ideas Together"
         ||      Jabber Protocol: http://www.jabber.org
         ||         "The Coolest IM on the Planet"
         ||  "A Free-Market Socialist Patriotic American Buddhist"
    

    - To unsubscribe, send mail to majordomopostfix.org with content (not subject): unsubscribe postfix-users