Find the answer to your Linux question:
Results 1 to 3 of 3
Hi everyone, I'm running openSUSE 11.3 on a web server I built behind a Verizon router which serves as a gateway to the Internet. Currently, I have the site up ...
  1. #1
    Just Joined!
    Join Date
    Jul 2011
    Posts
    1

    Need help with openSUSE server

    Hi everyone,

    I'm running openSUSE 11.3 on a web server I built behind a Verizon router which serves as a gateway to the Internet. Currently, I have the site up and running using port forwarding through the router. However, I can't get the email to deliver to the Internet to save my life.

    I'm new to Linux and running a server. Primarily, I decided to run my own server from my house because I want to learn more about how to do it, plus save money because I can host my own sites. My goal is to run one server that acts as a DNS server, mail server, and web server. I would like the server to host multiple sites from one IP address.

    I have my domain registered through a registrar and because I have a dynamic IP address, I have a dynamic DNS host pointing to my house.

    Can anyone help me get the mail server working properly? I'm using postfix, dovecot, and amavisd (i believe). I also have ISPConfig 3 installed, but have been primarily working with the server from the command line through PuTTY from my laptop. Thanks in advance!

  2. #2
    Linux Newbie hans51's Avatar
    Join Date
    May 2011
    Location
    Philippines and Cambodia
    Posts
    133
    I have the same setup and same opensuse version as well as mail setup as you - including working on CLI
    except on a real server instead of home/dynamic IP

    if everything else works for you (surfing from www your site at home)
    and the DNS works with correct output for

    host yourdoname
    host yourIP
    dig yourdoname

    then you have to focus on your postfix configuration in
    /etc/postfix/main.cf

    take your time to study the official postfix configuration with all its many useful parameters
    Postfix Basic Configuration
    Postfix Configuration Parameters
    Postfix Standard Configuration Examples

    look at parameters such as
    mynetworks = here you have the IPs from which you sent emails = your dynamic IP plus your localhost , 127.0.0.0/8
    mydomain = here belongs your domain name
    myorigin = $mydomain

    go trough ALL different parameters until you understand each one and know how to use or omit use

    after every change in your main.cf
    you need to do a
    rcpostfix restart
    to make changes in config active !!!

    when sending mail to the world from a dynamic IP, make sure your server always is up and all your above IP related settings correct else you get blocked by recipients mailservers

    Google is your best friend as most of all possible smaller problems you may encounter are already solved by someone out there
    my config finally was easy after doing what I recommended you above = reading until understanding all postfix parameters

    good luck

    make sure your dynamic IP is on NO blacklist
    personally I consider a dynamic IP as sender a potential spam server and would block such IP ranges as acceptable senders
    there simply is too much spam on this world and those who have legitimate and truly important mail to send also can afford the reasonable amount a real server costs these days

  3. #3
    Just Joined!
    Join Date
    Sep 2006
    Posts
    9
    When it comes to email, I would also check if your ISP is blocking port 25, this is fairly common for most ISP's.
    I only mention this as you had not stated that you check if the port was being blocked by the ISP.

    When I choose my ISP i specifically made sure that no port was blocked.
    I also host my domain, DNS and Email, FTP as well as a few other services.

    I would also check what hans51 had to say

    Linrox

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...