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 6th January 2008, 18:35
laser144 laser144 is offline
Member
 
Join Date: Apr 2006
Posts: 31
Thanks: 1
Thanked 0 Times in 0 Posts
Default virtual user & domain problem

Hi,

Having followed the Virtual Users And Domains With Postfix, Courier And MySQL (Debian Etch)" (to the letterr I believe), I am having problems with both pop & smtp.

This is the error I get when trying to send mail:
PERM_FAILURE: SMTP Error (state 13): 554 5.7.1 <postmaster@quitter.nl>: Relay access denied

The pop errors are in the log below.

All help an/or pointers are most welcome.

Here is my mail log:

Jan 6 13:41:32 magistervela postfix/postfix-script: refreshing the Postfix mail system
Jan 6 13:41:32 magistervela postfix/master[22484]: reload configuration /etc/postfix
Jan 6 16:49:41 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]
Jan 6 16:50:02 magistervela courierpop3login: LOGIN FAILED, user=schipper, ip=[::ffff:84.245.31.182]
Jan 6 16:50:23 magistervela courierpop3login: LOGIN FAILED, user=schipper, ip=[::ffff:84.245.31.182]
Jan 6 16:51:29 magistervela courierpop3login: Disconnected, ip=[::ffff:84.245.31.182]
Jan 6 17:01:24 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]
Jan 6 17:01:29 magistervela courierpop3login: couriertls: accept: error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad certificate
Jan 6 17:01:29 magistervela courierpop3login: Disconnected, ip=[::ffff:84.245.31.182]
Jan 6 17:12:33 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]
Jan 6 17:13:03 magistervela courierpop3login: chdir quitter.nl/anders/: No such file or directory
Jan 6 17:30:11 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]
Jan 6 17:30:29 magistervela courierpop3login: chdir quitter.nl/webmaster/: No such file or directory
Jan 6 17:30:41 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]
Jan 6 17:30:58 magistervela courierpop3login: chdir anders/anders/: No such file or directory
Jan 6 17:31:10 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]
Jan 6 17:31:26 magistervela courierpop3login: chdir sailmaster.nl/schipper/: No such file or directory
Jan 6 17:31:40 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]
Jan 6 17:31:48 magistervela courierpop3login: Disconnected, ip=[::ffff:84.245.31.182]
Jan 6 17:32:56 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]
Jan 6 17:32:56 magistervela courierpop3login: chdir anders/anders/: No such file or directory
Jan 6 17:39:48 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]
Jan 6 17:39:48 magistervela courierpop3login: chdir quitter.nl/webmaster/: No such file or directory
Jan 6 17:40:21 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]
Jan 6 17:40:50 magistervela courierpop3login: chdir sailmaster.nl/schipper/: No such file or directory
Jan 6 17:40:52 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]
Jan 6 17:40:52 magistervela courierpop3login: chdir quitter.nl/webmaster/: No such file or directory
Jan 6 17:41:09 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]
Jan 6 17:41:09 magistervela courierpop3login: chdir anders/anders/: No such file or directory
Jan 6 17:41:16 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]
Jan 6 17:41:17 magistervela courierpop3login: chdir sailmaster.nl/schipper/: No such file or directory
Jan 6 17:41:28 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]
Jan 6 17:41:37 magistervela courierpop3login: chdir sailmaster.nl/webmaster/: No such file or directory
Jan 6 17:42:56 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]
Jan 6 17:42:56 magistervela courierpop3login: LOGIN FAILED, user=anders, ip=[::ffff:84.245.31.182]
Jan 6 17:43:21 magistervela last message repeated 5 times
Jan 6 17:43:26 magistervela courierpop3login: Disconnected, ip=[::ffff:84.245.31.182]
Jan 6 17:45:47 magistervela postfix/postfix-script: refreshing the Postfix mail system
Jan 6 17:45:47 magistervela postfix/master[22484]: reload configuration /etc/postfix
Jan 6 17:48:23 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]
Jan 6 17:48:23 magistervela courierpop3login: chdir sailmaster.nl/webmaster/: No such file or directory
Jan 6 17:49:48 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]
Jan 6 17:49:48 magistervela courierpop3login: chdir quitter.nl/webmaster/: No such file or directory
Jan 6 17:50:21 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]
Jan 6 17:51:18 magistervela courierpop3login: chdir sailmaster.nl/schipper/: No such file or directory
Jan 6 17:59:48 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]
Jan 6 17:59:48 magistervela courierpop3login: chdir quitter.nl/webmaster/: No such file or directory
Jan 6 18:00:21 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]
Jan 6 18:07:03 magistervela courierpop3login: Unexpected SSL connection shutdown.
Jan 6 18:07:03 magistervela courierpop3login: Disconnected, ip=[::ffff:84.245.31.182]
Jan 6 18:09:39 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]
Jan 6 18:09:39 magistervela courierpop3login: chdir quitter.nl/webmaster/: No such file or directory
Jan 6 18:10:21 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]
Jan 6 18:10:21 magistervela courierpop3login: couriertls: accept: error:1408A10B:SSL routines:SSL3_GET_CLIENT_HELLO:wrong version number
Jan 6 18:10:21 magistervela courierpop3login: Disconnected, ip=[::ffff:84.245.31.182]
Jan 6 18:14:35 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]
Jan 6 18:14:43 magistervela courierpop3login: chdir quitter.nl/anders/: No such file or directory
Jan 6 18:14:50 magistervela courierpop3login: Connection, ip=[::ffff:84.245.31.182]


Thx,

Andy

Last edited by laser144; 6th January 2008 at 19:41.
Reply With Quote
Sponsored Links
  #2  
Old 7th January 2008, 14:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by laser144
This is the error I get when trying to send mail:
PERM_FAILURE: SMTP Error (state 13): 554 5.7.1 <postmaster@quitter.nl>: Relay access denied
Please enable "Server requires authentication" in your email client.

Quote:
Originally Posted by laser144
Jan 6 17:13:03 magistervela courierpop3login: chdir quitter.nl/anders/: No such file or directory
You must send an email first to that user before you try to fetch email for the first time. The directories are created when the first email arrives.
__________________
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
  #3  
Old 8th January 2008, 12:43
laser144 laser144 is offline
Member
 
Join Date: Apr 2006
Posts: 31
Thanks: 1
Thanked 0 Times in 0 Posts
Default Still having problem

Hi,

In order to make sure I did'n have any typos, I did a complete reinstall (copy/paste) from the tutorial. I now have these problems:

I still get the no dir exists warning when trying to log in, but mail sent from my GMail account doesn't bounce but times out:

Technical details of temporary failure:
TEMP_FAILURE: Could not initiate SMTP conversation with any hosts:
[mail.sailmaster.nl. (5): Connection timed out]

Mail sent to the second domain I set up bounces with the previously mentioned relay error
(I have entered 2 domains in mySQL - sailmaster.nl and quitter.nl. The hostname of my server is magistervela.sailmaster.nl.) The quitter.nl mail bounces.

Regards,

Anders

Last edited by laser144; 8th January 2008 at 16:27.
Reply With Quote
  #4  
Old 8th January 2008, 18:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Does mail.sailmaster.nl point to the right server? You can check that with
Code:
dig mail.sailmaster.nl
__________________
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
  #5  
Old 8th January 2008, 18:21
laser144 laser144 is offline
Member
 
Join Date: Apr 2006
Posts: 31
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Here is the output:

; <<>> DiG 9.3.4 <<>> mail.sailmaster.nl
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51884
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.sailmaster.nl. IN A

;; ANSWER SECTION:
mail.sailmaster.nl. 1 IN A 84.245.31.182

;; Query time: 281 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Tue Jan 8 18:18:21 2008
;; MSG SIZE rcvd: 52

Regards,

Anders

Last edited by laser144; 9th January 2008 at 10:21.
Reply With Quote
  #6  
Old 9th January 2008, 16:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Is 84.245.31.182 the correct IP?
__________________
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
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 16:59
Little problem with user dirs Nez Installation/Configuration 2 5th December 2007 22:21
log files cruz Technical 3 15th May 2007 14:35
Virtual E-Mail Problem amurray Installation/Configuration 3 10th July 2006 10:07


All times are GMT +2. The time now is 04:14.


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