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 6th January 2010, 22:41
kokir9 kokir9 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default server1 imapd: user@example.com: No such file or directory

I have followed the tutorial Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 9.10) Afterwards I have created domain example.com and mail user@example.com but when I try to login I get error message that IMAP refused the connection when I checked the /var/log/mail.err it says that there is no such file or directory. In the tutorial it says that I have to send welcome mail to the newly created mail account so the postfix will create maildir. But I`m sendind the mail with mailx to the desired email and the mail it is not getting there. The server is local I assume that because it is local and I don`t have local DNS server and zone file with MX record to my local server is the reason why the mail I send with mailx it is not reaching the created mail.
The hostname is server1 the domain is example.com in the host file I have added the lines
127.0.0.1 server1.example.com example.com
but still when I address the mail user@example.com I think it is not resolved localy.
So if some one could help me I would be very grateful thanks in advance
Reply With Quote
Sponsored Links
  #2  
Old 7th January 2010, 15:33
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 kokir9 View Post
But I`m sendind the mail with mailx to the desired email and the mail it is not getting there.
What's in your mail log when this happens?
__________________
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 7th January 2010, 19:57
kokir9 kokir9 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

When I send mail with mailx user@example.com nothing is written to maillog only when I try with squirrelmail. And /home/vmail it is empty so I assume that mail it is not reaching it`s destination and because of that maildir for user "user" it is not created.

This is the error
Jan 7 19:46:43 server1 imapd: user@example.com: No such file or directory
Is it possible that this error comes from something else than empty mailbox for user@example.com ?
Reply With Quote
  #4  
Old 7th January 2010, 20:03
kokir9 kokir9 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
What's in your mail log when this happens?
This is in mail.log after I try checking mail with pop3 client and squirrelmail:
$
Jan 7 19:57:13 server1 pop3d: Connection, ip=[::ffff:192.168.1.123]
Jan 7 19:57:13 server1 pop3d: chdir example.com/user/: No such file or directory
Jan 7 19:59:10 server1 pop3d: Connection, ip=[::ffff:192.168.1.123]
Jan 7 19:59:10 server1 pop3d: chdir example.com/user/: No such file or directory
Jan 7 19:59:17 server1 pop3d: Connection, ip=[::ffff:192.168.1.123]
Jan 7 19:59:21 server1 pop3d: chdir example.com/user/: No such file or directory
Jan 7 19:59:25 server1 pop3d: Connection, ip=[::ffff:192.168.1.123]
Jan 7 19:59:25 server1 pop3d: chdir example.com/user/: No such file or directory
Jan 7 19:59:49 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 7 19:59:49 server1 imapd: chdir example.com/user/: No such file or directory
Jan 7 19:59:49 server1 imapd: user@example.com: No such file or directory
Reply With Quote
  #5  
Old 7th January 2010, 22:14
kokir9 kokir9 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

OK I have found the mistakes that have made. One typo on password and one table not created in the mail database. Now all is working locally but when I try to send mail to outside mail address squirrel mail is sending the mail w/o reporting error but the mail it is not reaching outside mail address and the mail client is reporting error "Relay Access denied". Any ideas on that ?
Reply With Quote
  #6  
Old 8th January 2010, 15:04
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

Can you post the errors from your mail log?
__________________
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
  #7  
Old 20th January 2010, 09:52
yellowgreen yellowgreen is offline
Junior Member
 
Join Date: Jan 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have installed "Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Fedora 12 x86_64)"

All was ok - after indications. no error message, all checsk was ok

But when I send from root@mail.example.com email to user1@example.com postfix does not create the directory user1 in /home/vmail

so - 1. I cannot logged into WEBMAIL / SquirrelMail - when I give the correct user and password - I receive the message : "ERROR: Connection dropped by IMAP server."

and in /var/log/maillog after few time - appear the lines :
"....
Jan 19 16:52:21 mail imapd: Connection, ip=[::1]
Jan 19 16:52:21 mail imapd: chdir example1.com/user1/: No such file or directory
Jan 19 16:52:21 mail imapd: user1@example.com: No such file or directory
..."

ps : server name is mail , domain is example.com, user is user1
Reply With Quote
  #8  
Old 20th January 2010, 13:33
yellowgreen yellowgreen is offline
Junior Member
 
Join Date: Jan 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

what should I do ? Where should I to check ?
Reply With Quote
  #9  
Old 21st January 2010, 13:06
yellowgreen yellowgreen is offline
Junior Member
 
Join Date: Jan 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

up

can anyone give some advices ?

Other question - it is necesary to create in linux a same user like in mysql for postfix be capable create mailbox directory ?

example - want 3 mailboxes.
user1, user2, user3
it is necesary to create with adduser - in linux - equivalents of - user1, user2, user3 fom USERS table ?

logicaly - it no seems necesary - BUT - need confirmation to be sure .



ref. to kokir9 say - IF U don't set to PASSWORD the "ENCRYPTED" field - login don't work - squirrel give the message - "incorect user or bad password" - so be carefuly !

Last edited by yellowgreen; 21st January 2010 at 13:11.
Reply With Quote
  #10  
Old 21st January 2010, 15:15
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

Any errors in your mail log?
__________________
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
Install failure -- Apache 1.3 missing? Allen15 Installation/Configuration 11 24th February 2009 09:53
rewrite url not work apache2+mod_rewrite mohamedtah Installation/Configuration 1 31st January 2009 13:00
Installation Error, Debian 3.1 yogi183 Installation/Configuration 6 23rd February 2007 16:11
ISPConfig faiture glt50 Installation/Configuration 16 6th July 2006 01:58
UebiMiau login puntjuh Installation/Configuration 13 14th March 2006 18:24


All times are GMT +2. The time now is 06:34.


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