spirit posteets tagged relay  [ Profile ]

Sort by: Date / Title /

  1. 3 months ago
    1. apt-get install postfix
    2. # Choisir configuration type 'Site internet'
    3.  
    4. //////////////////////////
    5. //-- etc/postfix/main.cf
    6. //////////////////////////
    7. myhostname = bart
    8. mydomain = mydomain.com
    9. myorigin = $myhostname.$mydomain
    10. alias_maps = hash:/etc/aliases
    11. alias_database = hash:/etc/aliases
    12. mydestination = $myhostname, $myorigin, localhost.$mydomain, localhost
    13. mynetworks = 127.0.0.0/8,192.168.10.0/24 # Defines networks allowed for SMTP connections
    14. #luser_relay = user  # used with the local daemon in the transport map,
    15. mailbox_size_limit = 0
    16. recipient_delimiter = +
    17. inet_interfaces = all
    18. transport_maps = hash:/etc/postfix/transport
    19.  
    20. //////////////////////////
    21. //-- /etc/postfix/transport
    22. //////////////////////////
    23. extdomain.com smtp:[192.168.10.1]  # relay
    24. .extdomain.com smtp:[192.168.10.1] # tous les sous domaines
    25. * discard # jeter tous les autres messages
    26.  
    27. //////////////////////////
    28. postmap /etc/postfix/transport
    29. /etc/init.d/postfix reload
    30. # Consulter les logs dans mail.info

First / Previous / Next / Last / Page 1 of 1 (1 posteets)