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 December 2008, 00:48
giganet giganet is offline
Senior Member
 
Join Date: Aug 2007
Location: California
Posts: 243
Thanks: 116
Thanked 1 Time in 1 Post
Send a message via AIM to giganet
Default The Perfect Server - Ubuntu Gutsy Gibbon (Ubuntu 7.10) w/ISPConfig

Hello HTF group...
I am following the HTF Tutorial beyond the part detailing installation of Ubuntu 7.10: http://www.howtoforge.com/perfect_server_ubuntu7.10
Presently I am having trouble when Sending OR Receiving Email from this server.
I receive the following error from ThunderBird which I configured to use TLS and have setup the SMTP to authenticate using a valid Email User usr & pwd for the mentioned mail server.

When Checking Email (ThunderBird Client)
1)
Code:
Sending of password did not succeed. Mail server mail.my-domain.net responded teporary problem, please try again later.
When Attempting to Send Email (ThunderBird Client)
2)
Code:
ThunderBird continuously prompts for password
When I cancel on password prompt I rececive the following error when trying to send Email.
2 cont.)
Code:
Sending of message failed.   The message could not be sent because the connecting SMTP server mail.my-domain.net failed.  The server may be unavailable or refusing SMTP connections.   Please verify that your SMTP server setting is correct and try again, or else contact your network adminsitrator.
To check SMTP connectivity I ran: 'telnet localhost 25'
I receive the following:

'Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 my-domain.net ESMTP Postfix (Ubuntu)'

Then when I run the following: 'ehlo'

The server returns: '501 Syntax: EHLO hostname'

I have sent Emails from other servers and don't receive any bounce-backs or failure notices.
I have been going back through settings but can't locate an answer yet, where might my errors be?
I have tried recreating the SSL cert following the instructions on this same tutorial 4 times now while still receiving the same error.

Thank you
Regards
Reply With Quote
Sponsored Links
  #2  
Old 24th December 2008, 17:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Any errors in /var/log/mail.log?

You must run
Code:
ehlo localhost
in telnet, not just
Code:
ehlo
__________________
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:
giganet (24th December 2008)
  #3  
Old 24th December 2008, 17:30
giganet giganet is offline
Senior Member
 
Join Date: Aug 2007
Location: California
Posts: 243
Thanks: 116
Thanked 1 Time in 1 Post
Send a message via AIM to giganet
Default

Thank you very much Falko

I ran cat /var/log/mail.log and yes it did seem to want to continue printing errors before I finally ran 'ctrl-c', but here is a sampling of the errs from mail.log file:

INFO UPDATE A/1: My error in the post last night, yes I did run 'ehlo localhost' and all was good after running that command.

Code:
Dec 24 07:34:12 my-domain postfix/qmgr[30658]: B8614359631B: from=<www-data@my-domain.net>, size=2240, nrcpt=1 (queue active)
 
Dec 24 07:30:08 my-domain postfix/error[13300]: 2956535958E2: to=<carvalho@construtel.com.br>, relay=none, delay=309052, delays=308996/57/0/0.01, dsn=4.4.3, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=construtel.com.br type=MX: Host not found, try again)
Quote:
I should have setup this server using TLS initially as one of my hosting clients was running an exploited 'mail.php' and then came the problems.
Anyhow, I just this morning decided that beings I screwed up initially by following the 'Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAssassin, ClamAV)'
That I should start all over but using the tutorial 'The Perfect Server - Ubuntu Gutsy Gibbon (Ubuntu 7.10)'

So when I get to section '11 Quota' I am at a wall when running the following comand(s).

Code:
touch /quota.user
I receive this err: touch: cannot touch `/quota.user': Permission denied

INFO UPDATE A/2: Falko I wanted to let you know that I am running as 'root su' when I receive the errors above while trying to 'touch' quota.
I am betting this has everything to with what ever was changed when folowing the virtual tutorial?
What will I need to do to get past this error?

INFO UPDATE A/3: I have been looking over the first tutorial I attempted using which if I would of red tells me it was intended for deb sarge, should I go back through that tutorial and remove files such as: mysql-virtual_mailbox_limit_maps.cf, virtusertable~, mysql-virtual_domains.cf, mysql-virtual_transports.cf, virtusertable.db, mysql-virtual_email2email.cf, mysql-virtual_forwardings.cf, mysql-virtual_mailboxes.cf

Located in: /etc/postfix

Not to mention other files created that don't pertain to the UBUNTU 7.10 Perect Server tutorial?

Thank you Falko
Regards

Best wishes for everyone

Last edited by giganet; 25th December 2008 at 07:24. Reason: Notify Falko I am running under su
Reply With Quote
  #4  
Old 25th December 2008, 11:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by giganet View Post
So when I get to section '11 Quota' I am at a wall when running the following comand(s).

Code:
touch /quota.user
I receive this err: touch: cannot touch `/quota.user': Permission denied
You must be root when you run this command:
Code:
sudo su
touch /quota.user
(or run
Code:
sudo touch /quota.user
)
__________________
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:
giganet (25th December 2008)
  #5  
Old 25th December 2008, 18:26
giganet giganet is offline
Senior Member
 
Join Date: Aug 2007
Location: California
Posts: 243
Thanks: 116
Thanked 1 Time in 1 Post
Send a message via AIM to giganet
Default

Thank you Falko

Yes I am logged in as 'root' when receiving the err.
Code:
root@my-domain:/home/bender# sudo touch /quota.user
touch: cannot touch `/quota.user': Permission denied
Best Regards
Reply With Quote
  #6  
Old 26th December 2008, 13:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Did you disable AppArmor?
What's the output of
Code:
ls -la /
?
__________________
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:
giganet (26th December 2008)
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
The Perfect Server - Ubuntu Hardy Heron (Ubuntu 8.04 LTS Server) - Page4-DNS Server Linocks Installation/Configuration 3 13th May 2008 12:24
Ubuntu desktop 7.10 Gutsy Gibbon kirim Desktop Operation 2 8th April 2008 13:08
user mail problems with The Perfect Server - Ubuntu Gutsy Gibbon (Ubuntu 7.10) rmccain HOWTO-Related Questions 3 15th January 2008 04:33
Gutsy Gibbon Perfect Server - Vhosts and Proftpd dbrooke General 1 12th November 2007 08:37
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 02:30


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


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