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 9th November 2006, 20:55
dinnouti dinnouti is offline
Junior Member
 
Join Date: Nov 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Virtual Users.....: pop3d-ssl: chdir No such file or directory

Hi I follow the "Virtual Users And Domains With Postfix, Courier And MySQL (Fedora Core 5)" and I getting the error:

Nov 9 14:48:41 x-apache pop3d-ssl: Connection, ip=[XXXXX]
Nov 9 14:48:41 x-apache pop3d-ssl: chdir XXXX.com/sales/: No such file or directory
Nov 9 14:48:44 x-apache pop3d-ssl: Connection, ip=[XXXXX]
Nov 9 14:48:44 x-apache pop3d-ssl: chdir XXXX.com/sales/: No such file or directory

any guess?

I bet 40% is something I mistype, 35% I just forget to type, 15% I overlooked and 10% is a real error. :-)

Thanks
Alex.
Reply With Quote
Sponsored Links
  #2  
Old 10th November 2006, 16:50
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 send an email to that user before you tried to fetch mails? Maildir is created when the first email for that user 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 10th November 2006, 17:25
dinnouti dinnouti is offline
Junior Member
 
Join Date: Nov 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I will send an email and let you know.
Thanks!
Alex.
Reply With Quote
  #4  
Old 11th November 2006, 22:05
dinnouti dinnouti is offline
Junior Member
 
Join Date: Nov 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I still have the same problem

I was able to send to the mailbox

# mail
Mail version 8.1 6/6/93. Type ? for help.
"/var/spool/mail/root": 1 message 1 new
>N 1 root@localhost.local Sat Nov 11 15:58 26/1101 "test"
& 1
Message 1:
From root@localhost.localdomain Sat Nov 11 15:58:51 2006
X-Original-To: sales@XXXX.com
Delivered-To: root@XXXX.com
X-Virus-Scanned: amavisd-new at localhost
Date: Sat, 11 Nov 2006 15:58:45 -0500
From: root <root@localhost.localdomain>
To: sales@XXXX.com
Subject: test

test 1 2 3

& q
Saved 1 message in mbox


But when I check the mailbox the mailog shows:

Nov 11 16:00:25 XXXX pop3d-ssl: Connection, ip=[XXXXX]
Nov 11 16:00:25 XXXX pop3d-ssl: chdir XXXXX.com/sales/: No such file or directory


The /home/vmail folder is empty, the permissions seems right

home]# stat vmail
File: `vmail'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: fd00h/64768d Inode: 3538945 Links: 2
Access: (0700/drwx------) Uid: ( 5000/ vmail) Gid: ( 5000/ vmail)
Access: 2006-11-11 16:08:32.000000000 -0500
Modify: 2006-11-08 20:07:52.000000000 -0500
Change: 2006-11-08 20:07:52.000000000 -0500


Thanks
Alex.

Last edited by dinnouti; 11th November 2006 at 22:09.
Reply With Quote
  #5  
Old 12th November 2006, 16:16
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 dinnouti
# mail
Mail version 8.1 6/6/93. Type ? for help.
"/var/spool/mail/root": 1 message 1 new
>N 1 root@localhost.local Sat Nov 11 15:58 26/1101 "test"
& 1
Message 1:
From root@localhost.localdomain Sat Nov 11 15:58:51 2006
X-Original-To: sales@XXXX.com
Delivered-To: root@XXXX.com
X-Virus-Scanned: amavisd-new at localhost
Date: Sat, 11 Nov 2006 15:58:45 -0500
From: root <root@localhost.localdomain>
To: sales@XXXX.com
Subject: test

test 1 2 3

& q
Saved 1 message in mbox
Your mail to sales has been delivered to root! Did you set up any forwarding rules? Is XXXX.com listed only in mydestination in /etc/postfix/main.cf, or also in the domains table in the MySQL database?
__________________
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
  #6  
Old 12th November 2006, 18:04
dinnouti dinnouti is offline
Junior Member
 
Join Date: Nov 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It's listed in the MySQL and main.cf (mydestination and myhostname)

Alex.
Reply With Quote
  #7  
Old 13th November 2006, 16:09
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

You cannot have a domain in mydestination that is in the domains table and vice versa.
If you want to use the domain for virtual email accounts, list it in the domains table; if you want to use it for "real" email accounts, put it in mydestination.
__________________
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
  #8  
Old 14th November 2006, 23:46
nl0pat nl0pat is offline
Junior Member
 
Join Date: Nov 2006
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Question similar problem

Quote:
Originally Posted by falko
You cannot have a domain in mydestination that is in the domains table and vice versa.
If you want to use the domain for virtual email accounts, list it in the domains table; if you want to use it for "real" email accounts, put it in mydestination.
To start, I want to apologise for hijacking this thread, but I think I have similar problems.
I keep getting a message in my /var/log/maillog saying:
Code:
Nov 14 23:22:05 aaa postfix/trivial-rewrite[3436]: warning: do not list domain aaa.bbb.com in BOTH mydestination and virtual_mailbox_domains
I tried this:
[root@aaa ~]# postconf -n | grep mydestination
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
and as you can see I have nu mydestiniation set.

Any ideas on what could cause this message then ?

Besides, in the tutorial itself i see:
Quote:
postconf -e 'mydestination = server1.example.com, localhost, localhost.localdomain'
so initially I changed this to
Quote:
postconf -e 'mydestination = aaa.bbb.com, localhost, localhost.localdomain'
I want to remark that my server aaa.bbb.com should be mailserver for the domain aaa.bbb.com and is also named like that. I think this should not be causing my problems, but just wanted to let you know.
Reply With Quote
  #9  
Old 15th November 2006, 16:55
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 nl0pat
I tried this:
[root@aaa ~]# postconf -n | grep mydestination
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
and as you can see I have nu mydestiniation set.
There must be a mydestination line in main.cf if you followed the tutorial (unless you deleted it afterwards).
Quote:
Originally Posted by nl0pat
Any ideas on what could cause this message then ?
What's the output of
Code:
postconf -d | grep mydestination
?
__________________
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
  #10  
Old 16th November 2006, 07:22
nl0pat nl0pat is offline
Junior Member
 
Join Date: Nov 2006
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
 
Unhappy

Output of
Code:
[root@aaa ~]# postconf -d | grep mydestination
mydestination = $myhostname, localhost.$mydomain, localhost
I have tried and tried and I think in my struggling to get it running I have also tried deleting the mydestination and haven't put it back afterwards.
So I've checked in the tutorial once again and indeed found the line where we should set mydestination. So I changed it to what the tut says. My output of postconf -e | grep mydestination now says:
Code:
mydestination = aaa.bbb.com, localhost, localhost.localdomain
What I've just come up with now, is that this doesn't change a thing because in the previous situation with an absent mydestination variable postfix would have taken its defaults, which is $myhostname which is also aaa.bbb.com
After I changed it I restarted postfix.
For testing I delivered a message for this domain and I still get:
Code:
Nov 16 07:07:56 aaa postfix/trivial-rewrite[3081]: warning: do not list domain aaa.bbb.com in BOTH mydestination and virtual_mailbox_domains
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
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29
Mysterious Install Problem tgansert Installation/Configuration 5 9th May 2006 15:35
setup fails on debian 3.1 dtrumbower Installation/Configuration 7 7th March 2006 13:42
Update to 2.2.0 question brianetilley Installation/Configuration 10 4th March 2006 17:02


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


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