OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Ralf Hildebrandt (Ralf.Hildebrandtcharite.de)
Date: Sat Apr 13 2002 - 04:36:55 CDT

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

    a) Please only post "postconf -n" output
    b) Rather use pop-before-smtp

    ----- Forwarded message from Dimitar Batchvarov <dimopolyyahoo.com> -----

    Hello Ralf,

    Please help me , if you have time. Sorry for wasteing your time ... I
    have recently installed postfix. It is working fine, but I want to
    connect and use mail mail server from an ISP. A want to be able to
    send messages from everwhere, unfortunately I don`t know the IP range
    of the ISP. I want to allow smtp for usermydomain.net. It is very
    difficult for me with Cyrus SASL. So I just want to enable
    usermydomain.net to be able to use smtp. Can you help me? This is the
    most important part of my /etc/postfix/main.cf

    # SOFT BOUNCE
    #soft_bounce = no

    # LOCAL PATHNAME INFORMATION
    queue_directory = /var/spool/postfix

    command_directory = /usr/sbin

    daemon_directory = /usr/libexec/postfix

    # QUEUE AND PROCESS OWNERSHIP
    mail_owner = postfix

    #default_privs = nobody

    myhostname = machinename.domain.net
    #myhostname = virtual.domain.name

    mydomain = domain.net

    # SENDING MAIL
    #
    #myorigin = $myhostname
    myorigin = $mydomain

    # RECEIVING MAIL

    inet_interfaces = 12.34.56.78
    #inet_interfaces = $myhostname
    #inet_interfaces = $myhostname, localhost

    #mydestination = $myhostname, localhost.$mydomain
    mydestination = $myhostname, localhost.$mydomain
    $mydomain
    #mydestination = $myhostname, localhost.$mydomain,
    $mydomain,
    # mail.$mydomain, www.$mydomain, ftp.$mydomain

    # TRUST AND RELAY CONTROL

    #mynetworks_style = class
    #mynetworks_style = subnet
    #mynetworks_style = host

    #
    #mynetworks = 168.100.189.0/28, 127.0.0.0/8
    #mynetworks = $config_directory/mynetworks
    #mynetworks = hash:/etc/postfix/network_table

    relay_domains = $mydestination

    # Edited from Dimitar Batchvarov
    ************
    THE FOLLOWING LINES ARE NOT WORKING !!!!!!!!!!!
    !!!!!!!!!!!!!!
    #smtpd_sender_restrictions =
    permit_mynetworks,check_sender_access
    regexp:/etc/postfix/mydomain
    #smtpd_recipient_restrictions =
    permit_mynetworks,check_sender_access
    regexp:/etc/postfix/mydomain,check relay_domains
    ***********************

    I have created file mydomain in /etc/postfix/mydomain but I am not
    sure for the syntaxsis !!!!!!!!! I didn`t find information how to
    create regexp file !!!!!!!!!!

    Help me to achieve my goals.I know that is a litlle bit risky to set
    up mail server in this way but I don` t see another choise, otherwise
    I have to open it for everybody.

    Thank you for your time
    SIncerely

    Dimitar Batchvarov

    -- 
    Ralf Hildebrandt (Im Auftrag des Referat V A)   Ralf.Hildebrandtcharite.de
    Charite Campus Virchow-Klinikum                 Tel.  +49 (0)30-450 570-155
    Referat V A - Kommunikationsnetze -             Fax.  +49 (0)30-450 570-916
    I work for an investment bank. I have dealt with code written by stock
    exchanges. I have seen how the computer systems that store your money
    are run. If I ever make a fortune, I will store it in gold bullion
    under my bed.  
    

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