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.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 18th June 2009, 16:51
AlyK AlyK is offline
Junior Member
Join Date: Jan 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix & Courier w/ mailstore on SMB Share(NAS) fetch failure...

Hey all. I have successfully followed the howto for Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (CentOS 5.3 x86_64) (but for x86) and I have implemented this system successfully a few times. However I seem to have hit a issue. I have a situation where i have to place the mailstore on a windows NAS. I can sucessfully mounted the share with the correct gid/uid and i can get postfix to delivery mail to it properly however i can't seem to get courier to fetch the mail / display mail in any app (squirrel for example).

It shows that there is in new messages eg: [Inbox (2)] but isn't able to display the mail itself.

I have also attempted to maually telnet into the imap server and fetch mail and recieved the following error:
a fetch 2 body[text]
* 2 FETCH ()
* NO Cannot open message 2
a OK FETCH completed.
a fetch 1 body[text]
* 1 FETCH ()
* NO Cannot open message 1
a OK FETCH completed.

After trying manually or via an mail app i see the following errors in the /var/log/maillog:
Jun 18 09:33:48 mail01 imapd: rename(./new/1245268538.V17I22ed9bM285388.mail01.company.net,S= 1034,./cur/1245268538.V17I22ed9bM285388.mail01.company.net,S= 1034:2,)
failed: No such file or directory

// /MailStoreAmun cifs username=net/linuxmail,password=Password1,uid=vmail,gid=vmail,a uto,iocharset=utf8,file_mode=0700,dir_mode=0700 0 0
I have also tried modes 0777 just to test with no change in results.

authmysql(key parts for this issue):

After some Googling i have read that it might be use to the MYSQL_MAILDIR_FIELD string, however i don't feel this is the exact issue as all permissions and and paths are all relative to the file system and i can't see how it would be affected just because this is a smb share.
Any help would be greatly appreciated. Thanks to all in advance.

Last edited by AlyK; 18th June 2009 at 20:55.
Reply With Quote
Sponsored Links


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
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota... killfrog HOWTO-Related Questions 3 25th September 2009 22:45
Virtual Users And Domains With Postfix, Courier And MySQL faalhaas HOWTO-Related Questions 1 21st August 2008 21:16
Virtual Users With Postfix, PostfixAdmin, Courier, Mailscanner,Mailwatch CentOS 5.2 tecstream HOWTO-Related Questions 3 16th July 2008 23:10
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 16:47
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs mholownych HOWTO-Related Questions 10 29th May 2006 04:39

All times are GMT +2. The time now is 00:32.

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