Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th April 2011, 17:34
docdries docdries is offline
Junior Member
 
Join Date: Jul 2008
Location: Harderwijk
Posts: 17
Thanks: 4
Thanked 1 Time in 1 Post
Default Perfect server setup: problem with mail

Hi to all, please forgive me when my English is bad its not my native language.

I have follow the howto The Perfect Server - Debian Squeeze (Debian 6.0[ISPConfig 2] without ISPConfig 2 (dont need it).
My problem is this after setup tried to get my mail on a windows machine with outlook, what ever i tried it doesn't work. Than i realised that i must open port 995 on my router, after this whas done there are comes a flood off mails and all come every 30 minutes so after a while there are a lot off these :-)

The mails i get are:

Code:
Return-Path: <root@server.xxxxxxxxxxxx.nl>
X-Original-To: root
Delivered-To: root@server.xxxxxxxxxxxx.nl
Received: by server.xxxxxxxxxxxx.nl (Postfix, from userid 0)
	id 70C0F69F02; Mon, 18 Apr 2011 23:09:01 +0200 (CEST)
From: root@server.xxxxxxxxxxxx.nl (Cron Daemon)
To: root@server.xxxxxxxxxxxx.nl
Subject: Cron <root@server>   [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete
Content-Type: text/plain; charset=UTF-8
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
Message-Id: <20110418210901.70C0F69F02@server.xxxxxxxxxxxx.nl>
Date: Mon, 18 Apr 2011 23:09:01 +0200 (CEST)
this are all the mails i get, and nothing more. When i tried to send a mail to admin@xxxxxxxxxxxx.nl i get this message:

Code:
Delivery to the following recipient failed permanently:

     admin@xxxxxxxxxxxx.nl

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 554 554 5.7.1 <admin@xxxxxxxxxxxx.nl>: Relay access denied (state 14).

Please can someone tell me what did i wrong? And how can i restore this? I must point out i'm a newbie with linux so....please be patient...
Reply With Quote
Sponsored Links
  #2  
Old 19th April 2011, 18:18
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,213 Times in 4,088 Posts
Default

Using the system without ispconfig is quite complicated, so if you are a newbee, I recommend that you install ispconfig.

If you really want to use the system without ispconfig, then you have to configure every mail account and mail domain manually in the postfix files and add Linux system users manually.

The email domain has to be listed in the file /etc/postfix/local-host-name
The email address and corresponding linux system user have to be configured in the file /etc/postfix/virtusertable and afterwards you have to create the hashed version of the file with:

postmap /etc/postfix/virtusertable

as third part of your mail setup, you have to create a Linux shall user (e.g. with the adduser command) which is used to access the mailbox.

Please post the content of the /etc/postfix/local-host-name and /etc/postfix/virtusertable files to see if the mailbox is configured correctly there.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 20th April 2011, 13:01
docdries docdries is offline
Junior Member
 
Join Date: Jul 2008
Location: Harderwijk
Posts: 17
Thanks: 4
Thanked 1 Time in 1 Post
Default

Hi Till, thanks for the quick respons. As i point out i thought that i don't need ISPconfig, because it is a server for learning purpose only. There are only 2 site's werking on, one for myself and the other for the little bussiness of my doughter. And the last one is not a urgent matter because that is now still running on the host space off the provider. So that is a little info that maybe can help to understand me and my goal.

What your question about the 2 postfix files they are not present so i think that I must learn to add user and so, thus I will search for more info about the postfix install.

Maybe you can point me to the right direction? These matters are not told in te howto btw.

greets and thanks for your effort.

3S.
Reply With Quote
  #4  
Old 20th April 2011, 13:07
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,213 Times in 4,088 Posts
Default

Quote:
Maybe you can point me to the right direction? These matters are not told in te howto btw.
The turorial that you used is the installation guide for ispconfig 2. So to get a fully working server, the guide assumes that you install all required software incl. ispconfig 2.

If you want to learn how postfiux works and which configuration options it offers, then you might want to start here:

http://www.postfix.org/documentation.html

Quote:
What your question about the 2 postfix files they are not present so i think that I must learn to add user and so, thus I will search for more info about the postfix install.
The files get added and managed by ispconfig. So if you dont want to use ispconfig, you will have to add and manage these files manually.

I guess if you want to learn how a system works, its much easier to install it completely and then check how it works instead of installing it partly which results in a not working system and then try to repair and manage it manually.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 20th April 2011 at 13:10.
Reply With Quote
  #5  
Old 20th April 2011, 14:01
docdries docdries is offline
Junior Member
 
Join Date: Jul 2008
Location: Harderwijk
Posts: 17
Thanks: 4
Thanked 1 Time in 1 Post
 
Default

Hi Till,

Offcourse it is not my intention to comment the more than helpfull howto's undermine, but the howto says:

Quote:
This tutorial shows how to set up a Debian Squeeze (Debian 6.0) server that offers all services needed by ISPs and hosters: Apache web server (SSL-capable), Postfix mail server with SMTP-AUTH and TLS, BIND DNS server, Proftpd FTP server, MySQL server, Courier POP3/IMAP, Quota, Firewall, etc. In the end you should have a system that works reliably, and if you like you can install the free webhosting control panel ISPConfig 2 (i.e., ISPConfig runs on it out of the box).
So my belief was that it was not needed sorry that i will point this out.

Futher i will follow your advise and try to install ISPconfig and try of I can see and learn of this or that i will try to set it up manually.

Thanks for your commentand have a nice day.

3S.
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
postfix problem jagsler Server Operation 41 7th July 2011 14:19
Need some Hints to "The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 3]" wahid HOWTO-Related Questions 10 25th August 2010 15:18
amavis & ispconfig 3 yalex2000 Installation/Configuration 20 18th February 2010 17:02
Postfix + postfixadmin = SMTP errors... Rashef Server Operation 4 25th June 2009 16:12
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39


All times are GMT +2. The time now is 20:48.


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