Postfix info

Discussion in 'Installation/Configuration' started by nannolo75, Dec 10, 2007.

  1. nannolo75

    nannolo75 New Member

    hi all ... tnx for this beautifull site....
    I have a little question... i use this guide: http://www.howtoforge.com/virtual-users-and-domains-with-postfix-ubuntu-7.10
    my network is 192.168.0.0 subnet 255.255.252.0 i want that all ip in this lan havent got autenticate whit user and password for smtp... is possible??
    Or ... if is possible i like to create a little whitelist whit some allowed ip address


    Tnx all ....

    nannolo
     
    Last edited: Dec 10, 2007
  2. falko

    falko Super Moderator Howtoforge Staff

    Just add 192.168.0.0/24 to the mynetworks variable in /etc/postfix/main.cf and restart Postfix.
     
  3. nannolo75

    nannolo75 New Member

    yes but ...... if i add another ip 10.30.30.x or 192.168.3.x ..... ???

    not possible to add ip and ip and ip ....

    tnz nannolo :D
     
  4. nannolo75

    nannolo75 New Member

    i change /etc/postfix/main.cf whit mynetworks = 192.168.0.0/24

    but ... dont run..... the server want smtp password :(


    HTML:
    Dec 12 10:48:49 mail2 postfix/smtpd[4910]: connect from unknown[192.168.0.240]
    Dec 12 10:49:04 mail2 postfix/smtpd[4910]: disconnect from unknown[192.168.0.240]
     
  5. falko

    falko Super Moderator Howtoforge Staff

    You can use multiple IP addresses/subnets, separated by spaces or commas, e.g.
    Code:
    mynetworks = 127.0.0.0/8 192.168.0.0/24 10.30.30.1/32
     
  6. nannolo75

    nannolo75 New Member

    yes but dont run.... he want my password .. :(
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Are you sure that your client PC is in one of the specified subnets? Also, did you switch off "Server requires authentication" in your email client?
     
  8. nannolo75

    nannolo75 New Member

    server have 192.168.0.110 and client 192.168.0.222

    :)
     
  9. falko

    falko Super Moderator Howtoforge Staff

    Did you specify 192.168.0.0/24 in the mynetworks line?
     
  10. nannolo75

    nannolo75 New Member

    gooood man ... run tnx for all :)

    i have another question.... what web interface you prefere for the administration of the server and web interface of a single mail ??
     
  11. falko

    falko Super Moderator Howtoforge Staff

    Try ISPConfig. :)
     

Share This Page