ub007
July 3rd, 2008, 07:35 AM
I'm installing a mail server and these are the steps which I followed:
sudo apt-get install postfix
sudo apt-get install mailx
sudo useradd -m -s /bin/bash fmaster
sudo passwd fmaster
testing it -all works fine: telnet localhost 25......(...su - fmaster
mail....)
Step 2)
sudo postconf -e "home_mailbox = Maildir/
sudo postconf -e "mailbox_command
sudo /etc/init.d/postfix restart
Step 3)
sudo apt-get install courier-pop
sudo apt-get install courier-imap
sudo postconf -e "mydestination = mail.ubuntu.surrey.ac.uk, localhost.localdomain, localhost, ubuntu.surrey.ac.uk"
sudo postconf -e "mynetworks = 127.0.0.0/8, 192.168.1.0/24"
sudo postconf -e "inet_interfaces = all
sudo postconf -e "inet_protocols = all"
sudo /etc/init.d/postfix
telnet mail.yourdomain.com 25
***error msg:couldnot resolve mail.ubuntu.surrey.ac.uk/25: Name or service....
What could be wrong here?
Info on my network:
Its an intranet-6 pcs connected to a dell 5424 switch
Got Ubuntu server installed on 1 machine and thats where I have set up the mail server....For installing purposes I have unplugged this comp from the switch and plugged it into the uni n/w which got internet connection:
I have used surrey as an example.Also the ip that i get leased when i plug into the uni n/w is "131.'.'.'
could anyone tell me what configuration changes I need to make...
Cheers
David
sudo apt-get install postfix
sudo apt-get install mailx
sudo useradd -m -s /bin/bash fmaster
sudo passwd fmaster
testing it -all works fine: telnet localhost 25......(...su - fmaster
mail....)
Step 2)
sudo postconf -e "home_mailbox = Maildir/
sudo postconf -e "mailbox_command
sudo /etc/init.d/postfix restart
Step 3)
sudo apt-get install courier-pop
sudo apt-get install courier-imap
sudo postconf -e "mydestination = mail.ubuntu.surrey.ac.uk, localhost.localdomain, localhost, ubuntu.surrey.ac.uk"
sudo postconf -e "mynetworks = 127.0.0.0/8, 192.168.1.0/24"
sudo postconf -e "inet_interfaces = all
sudo postconf -e "inet_protocols = all"
sudo /etc/init.d/postfix
telnet mail.yourdomain.com 25
***error msg:couldnot resolve mail.ubuntu.surrey.ac.uk/25: Name or service....
What could be wrong here?
Info on my network:
Its an intranet-6 pcs connected to a dell 5424 switch
Got Ubuntu server installed on 1 machine and thats where I have set up the mail server....For installing purposes I have unplugged this comp from the switch and plugged it into the uni n/w which got internet connection:
I have used surrey as an example.Also the ip that i get leased when i plug into the uni n/w is "131.'.'.'
could anyone tell me what configuration changes I need to make...
Cheers
David