Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th January 2011, 06:31
matiancai74 matiancai74 is offline
Junior Member
 
Join Date: Dec 2010
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
Default Virtual users and domains with postfix, Mysql, courier, Squirrelmail

Hello, can anyone help a linux newbie? Thank you very much. I am a teacher trying to set up an email server for my school. I am on page 3 of the tutorial and I am pretty sure I have setup something wrong. Can anyone spot something wrong here? I am getting the following output from netstat -tap:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 regents-pattaya.a:10024 *:* LISTEN 11158/amavisd (mast
tcp 0 0 regents-pattaya.a:mysql *:* LISTEN 937/mysqld
tcp 0 0 regents-patt:submission *:* LISTEN 1782/sendmail: MTA:
tcp 0 0 *:5900 *:* LISTEN 11329/vino-server
tcp 0 0 *:webmin *:* LISTEN 1912/perl
tcp 0 0 *:www *:* LISTEN 1869/apache2
tcp 0 0 *:ssh *:* LISTEN 22783/sshd
tcp 0 0 regents-pattaya.ac.:ipp *:* LISTEN 12635/cupsd
tcp 0 0 regents-pattaya.ac:smtp *:* LISTEN 1782/sendmail: MTA:
tcp 0 0 regents-pattaya.ac:smtp regents-pattaya.a:56017 TIME_WAIT -
tcp 0 0 regents-pattaya.ac:5900 202.149.116.20:3073 ESTABLISHED 11329/vino-server
tcp6 0 0 [::]:imaps [::]:* LISTEN 9783/couriertcpd
tcp6 0 0 [::]op3s [::]:* LISTEN 9843/couriertcpd
tcp6 0 0 [::]:5900 [::]:* LISTEN 11329/vino-server
tcp6 0 0 [::]op3 [::]:* LISTEN 9810/couriertcpd
tcp6 0 0 [::]:imap2 [::]:* LISTEN 9750/couriertcpd
tcp6 0 0 [::]:ssh [::]:* LISTEN 22783/sshd
tcp6 0 0 ubuntu:ipp [::]:* LISTEN 12635/cupsd

I am also getting the following output from the command 'ehlo localhost' when using telnet 25:

root@regents-pattaya:/usr/local/sbin# telnet localhost 25
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 localhost.localdomain ESMTP Sendmail 8.14.3/8.14.3/Debian-9.2ubuntu1; Mon, 24 Jan 2011 12:04:11 +0700; (No UCE/UBE) logging access from: regents-pattaya.ac.th(OK)-regents-pattaya.ac.th [127.0.0.1]
ehlo localhost > /home/ehlo_output.txt
501 5.0.0 Invalid domain name
ehlo localhost
250-localhost.localdomain Hello regents-pattaya.ac.th [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP

Thanks for your help,
Matt
Reply With Quote
Sponsored Links
  #2  
Old 25th January 2011, 14:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

You are using Sendmail instead of Postfix.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
matiancai74 (26th January 2011)
  #3  
Old 26th January 2011, 11:23
matiancai74 matiancai74 is offline
Junior Member
 
Join Date: Dec 2010
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Thanks Falko. I seem to have both packages installed. If I uninstall and remove Sendmail would that then solve the problem? I do have Postfix installed and have followed all the configuration steps in your brilliant howto. I am desperate to get this to work. I teach Information Technology at an International School - the IT Technicians are telling me it's impossible to set up a mail server on our Ubuntu server without buying something like Microsoft Exchange but I'd love to prove them wrong.
Reply With Quote
  #4  
Old 27th January 2011, 13:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
 
Default

Yes, uninstalling Sendmail would help. Make sure you start Postfix afterwards.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (mdv2010) taylor-made HOWTO-Related Questions 1 21st July 2010 05:18
Update for Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail de Freitas HOWTO-Related Questions 6 7th July 2010 22:49
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 9.10) keyslapper HOWTO-Related Questions 4 20th April 2010 15:46
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 9.04) Master One HOWTO-Related Questions 4 1st July 2009 15:38
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.10) VTCop HOWTO-Related Questions 9 9th April 2009 16:17


All times are GMT +2. The time now is 16:38.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.