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
  #21  
Old 1st January 2006, 20:53
ctroyp ctroyp is offline
Senior Member
 
Join Date: Sep 2005
Posts: 292
Thanks: 3
Thanked 2 Times in 1 Post
Default

Okay, I know it has been a while since this thread has been posted to, but I wanted to let you guys know that I have resolved the postfix issue on my Debian install. I finally figured a little more about DNS and what needed to be changed.

strec.com was just a local domain that I was using for the server so I could setup the LAN. I didn't realize that it had to be a registered internet domain until falko and till pointed it out. Lessons learned for me...

Since strec.com was up for sale for $900, I couldn't exactly justify the purchase so I simply registered another domain on the internet and used it to update the host files, etc... Now postfix works great and the emails are coming and going...

This has left me with one issue--how do I update all of the files that still have strec.com listed? There is a large amount that contain it per rgrep strec command. So many that I don't even know where to start...

I updated everything as I knew how to in the "Perfect Setup" for Debian 3.1 (ie. host files, and postfix). Are all of these 'other' files that contain strec generated by the ISPConfig install? If so, how can I efficiently and safely update them. I have not seen any problems yet, but I'm sure I will before too long.

I can list some of the found files if necessary.
Reply With Quote
Sponsored Links
  #22  
Old 2nd January 2006, 00:29
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

You could write a script (Perl, PHP, ...) or use sed and awk on the shell to do the replacement.
What files are you talking about?
__________________
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
  #23  
Old 2nd January 2006, 00:51
ctroyp ctroyp is offline
Senior Member
 
Join Date: Sep 2005
Posts: 292
Thanks: 3
Thanked 2 Times in 1 Post
Default

Quote:
Originally Posted by falko
You could write a script (Perl, PHP, ...) or use sed and awk on the shell to do the replacement.
What files are you talking about?
It may take some time to compile the list because most of them are grep'ed from mail files which are irrelevant. I will look into it deeper and give you a list.

Thanks!
Reply With Quote
  #24  
Old 3rd January 2006, 10:49
wr19026 wr19026 is offline
Senior Member
 
Join Date: Jan 2006
Posts: 172
Thanks: 7
Thanked 1 Time in 1 Post
Default

This has been helpful to some extent. I have now fixed the DNS issue (thanks for pointing that out!) and have done a 3rd install of Postfix using the ISP Config set up guide for Ubuntu 5.10.

First of all apt does not get postfix-tls; is this a problem?

Then, after doing all the setups I get the same trouble as the original poster; I cannot telnet to port 25 and if I do manage to get the connection ehlo does not do a thing.

So I checked /var/logs/mail.log as suggested in an earlier post and here's what I found:
server postfix/smtpd[6480]: fatal: no SASL authentication mechanisms
server postfix/master[6463]: warning: process /usr/lib/postfix/smtpd pid 6480 exit status 1
server postfix/smtpd[6463]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling

So I added $myhostname to smtpd_sasl_local_domain in main.cf, reloaded postfix, restarted postfix and restarted saslauthd.

/var/log/mail.log:
server postfix/master[6463]: reload configuration /etc/postfix
server postfix/master[6463]: terminating on signal 15
server postfix/smtpd[6585]: daemon started -- version 2.2.4, configuration /etc/postfix

Looks better right? Unfortunately I still get the Connection closed by foreign host when doing a telnet to post 25 on localhost.

The only firewall (that I know of) is my router and just to be sure I have mapped port 25 to localhost on there.

Any ideas?
Reply With Quote
  #25  
Old 3rd January 2006, 10:59
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,982 Times in 3,903 Posts
Default

Yes, its a problem if you dont install postfix-tls.

Please check your sources list again. It must be identical to the sources list used in the howto! Then run:

apt-get update

and run the steps for the postfix installation again incl. the postfix-tls setup.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #26  
Old 3rd January 2006, 11:51
wr19026 wr19026 is offline
Senior Member
 
Join Date: Jan 2006
Posts: 172
Thanks: 7
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till
Yes, its a problem if you dont install postfix-tls.

Please check your sources list again. It must be identical to the sources list used in the howto! Then run:

apt-get update

and run the steps for the postfix installation again incl. the postfix-tls setup.
Ok thanks for the tip. Turns out I did have a typo in there

However, even when I change it from nl.archive etc. to de.archive etc. it still won't install postfix-tls. The message I'm getting is (loosely translated) "Warning, postfix will be selected instead of postfix-tls" It also tells me that 0 packages are upgraded, 0 new packages are installed, 0 packages are removed and 2 have not been upgraded.

These 2 packages are (found out using apt-get upgrade): linux-image-386 and linux-restricted-modules-386?

Sorry for being a pain in the neck but do you have any suggestions what I need to do next?

Thanks in advance!
Reply With Quote
  #27  
Old 3rd January 2006, 17:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

I suggest that you check your settings against those of the Ubuntu setup. Maybe you made another typo somewhere.
BTW, the best way to follow the tutorial is to use PuTTY on your Windows workstation and simply copy & paste the commands from the tutorial into the command window.
__________________
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
  #28  
Old 3rd January 2006, 22:24
wr19026 wr19026 is offline
Senior Member
 
Join Date: Jan 2006
Posts: 172
Thanks: 7
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko
I suggest that you check your settings against those of the Ubuntu setup. Maybe you made another typo somewhere.
BTW, the best way to follow the tutorial is to use PuTTY on your Windows workstation and simply copy & paste the commands from the tutorial into the command window.
Thanks, using PuTTY is a great tip. However, even after copy/pasting /etc/apt/sources.list it does not allow me to download postfix-tls, telling me that postfix is the most recent version. Also it tells me that it's excluding 2 files (see previous post) from updating.

So I tried apt-get install postfix-tls; it didn't do a thing.

I guess I have to start all over again by reinstalling Ubuntu and then use PuTTY to copy/paste my way through the tutorial as you suggest.
Reply With Quote
  #29  
Old 3rd January 2006, 22:31
ctroyp ctroyp is offline
Senior Member
 
Join Date: Sep 2005
Posts: 292
Thanks: 3
Thanked 2 Times in 1 Post
Default

Quote:
Originally Posted by falko
You could write a script (Perl, PHP, ...) or use sed and awk on the shell to do the replacement.
What files are you talking about?
Again, most of these are log files, etc., but here are other files where "strec" was found that may be significant:

Code:
/etc/bind/pri.mydomain1.com
/etc/bind/pri.2.168.192.in-addr.arpa
Binary file /etc/sasldb2 matches
Binary file /etc/aliases.db matches
/etc/webalizer.conf:HostName    server1.strec.com
/etc/webalizer.conf:HideSite    *server1.strec.com
/etc/webalizer.conf:HideReferrer        server1.strec.com/
/home/admispconfig/ispconfig/sysconf.txt
/root/ispconfig/httpd/conf/httpd.conf:ServerAdmin root@strec.com
/root/ispconfig/httpd/conf/httpd.conf:#ServerName strec.com
/root/ispconfig/httpd/conf/httpd.conf:ServerName strec.com
/root/ispconfig/httpd/conf/httpd.conf:ServerAdmin root@strec.com
/root/ispconfig/php/include/php/main/php_config.h:#define PHP_UNAME "Linux server1.strec.com 2.4.27-2-386 #1 Mon May 16 16:47:51 JST 2005 i686 GNU/Linux"
/root/ispconfig/php/include/php/main/php_config.h:#define PHP_UNAME "Linux server1.strec.com 2.4.27-2-386 #1 Mon May 16 16:47:51 JST 2005 i686 GNU/Linux"
Would there be any problems manually updating these files to reflect my new domain name? The main ones I am concerned with are the dns records...
Reply With Quote
  #30  
Old 4th January 2006, 00:30
wr19026 wr19026 is offline
Senior Member
 
Join Date: Jan 2006
Posts: 172
Thanks: 7
Thanked 1 Time in 1 Post
 
Default

Quote:
Originally Posted by wr19026
Thanks, using PuTTY is a great tip. However, even after copy/pasting /etc/apt/sources.list it does not allow me to download postfix-tls, telling me that postfix is the most recent version. Also it tells me that it's excluding 2 files (see previous post) from updating.

So I tried apt-get install postfix-tls; it didn't do a thing.

I guess I have to start all over again by reinstalling Ubuntu and then use PuTTY to copy/paste my way through the tutorial as you suggest.
So far, so good. I reinstalled Breezy and copy/pasted my way through the HOWTO without any problems. This is great! Now I have to figure out how to ftp to the server so that I can start with the ISPConfig install
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
Fedora Core 4 and hp Printer install problem. slopoke_iii Desktop Operation 3 5th May 2007 22:27
postfix ISPconfig problem matehortua Installation/Configuration 8 3rd September 2006 17:03
MySQL problem on install badben Installation/Configuration 12 20th December 2005 12:59
Virtual Users And Domains With Postfix, etc, problem with SMTP/Auth wrong password ggere HOWTO-Related Questions 15 14th November 2005 16:08
Postfix Problem m u r Installation/Configuration 0 8th August 2005 19:12


All times are GMT +2. The time now is 02:47.


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