LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-16-2004, 06:22 AM   #1
di11rod
Member
 
Registered: Jan 2004
Location: Austin, TEXAS
Distribution: CentOS 6.5
Posts: 211

Rep: Reputation: 32
postfix -- imap -- squirrelmail problem


I've got a squirrelmail install (1.4.0) that I've migrated over from a Mandrake 9.1 install to a 9.2 install.

On 9.2, I've got Courrier-imap installed and running. Can't figure out what the log is for the iMAP server. Checking /var/log/mail/errors I've got all these messages--

Jan 16 05:57:59 localhost pipe[22509]: fatal: pipe_comand: execvp /usr/bin/postfixfilter: No such file or directory

I copied that file from my old mandrake install and put it into the /usr/bin directory. When I access squirrelmail by logging in, the browser window refreshes with this message:

ERROR:
ERROR : Connection dropped by imap-server.

Can't really find any logs to check. The afformentioned log doesn't increment with each try to log in...

Any ideas? Appreciatively,

di11rod



-------------------------------------------------------------
smp Mandrake 9.2 dual 400mhz celerons
512 mb ram
60 gig HD
Radeon 7000 video card (PCI)
 
Old 01-16-2004, 09:02 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Hmm. kind of a broad spectrum of possibilities here...

Are we starting imapd with inetd.conf?
Have you setup squirrelmail's config files for your particular setup? (IMAP server type might need a look)
Weird pipe command error - how old was the previous configuration and why did you copy it over?
 
Old 01-19-2004, 01:29 AM   #3
di11rod
Member
 
Registered: Jan 2004
Location: Austin, TEXAS
Distribution: CentOS 6.5
Posts: 211

Original Poster
Rep: Reputation: 32
Mcleode,

Thanks for your response. I'm starting courier with this command---

/etc/rc.d/init.d/courier-imap start

Is that the right way? Also, how can I test it from a telnet to the port (143)?

Ok, for background, here's the mess I recovered from mostly--

I tried to upgrade from Mandrake 9.1 to 9.2 using the download discs. I also threw in a new video card because I was using this as a headless server with no video card. The installer was running in lo-res mode because the card was an odd nvidia model. The installer didn't recognize my original install, so it never offered 'upgrade' as an option. It installed a new version of the kernel and everything else in parallel to my existing installation. Ugh. So I had to move everything over from 9.1 to 9.2... a bunch of config files and such. The very last thing I have to sort out is this squirrelmail --- imap -- postfix connection.

Squirelmail has been configured for courier-imap.

Any log files I can look at? Your help is greatly appreciated!

Di11rod
 
Old 01-19-2004, 11:20 AM   #4
di11rod
Member
 
Registered: Jan 2004
Location: Austin, TEXAS
Distribution: CentOS 6.5
Posts: 211

Original Poster
Rep: Reputation: 32
any ideas?

Still getting this from within Squirrelmail--

ERROR : Connection dropped by imap-server.

What do I need to check? What can I test? Any log files to examine? This is kind of at the point where I'm willing to completely reinstall everything on this machine out of frustration.



Appreciatively,

di11rod
 
Old 01-20-2004, 12:13 AM   #5
di11rod
Member
 
Registered: Jan 2004
Location: Austin, TEXAS
Distribution: CentOS 6.5
Posts: 211

Original Poster
Rep: Reputation: 32
maybe here is some useful info?

[root@jackass xinetd.d]# tail -75 /var/log/mail/info
Jan 18 04:26:32 localhost postfix/pickup[31133]: 51DD815065: uid=0 from=<root>
Jan 18 04:26:32 localhost postfix/cleanup[14401]: 51DD815065: message-id=<20040118092632.51DD815065@austinpublicskatepark.org>
Jan 18 04:26:32 localhost postfix/nqmgr[22724]: 51DD815065: from=<root@austinpublicskatepark.org>, size=817, nrcpt=1 (queue active)
Jan 18 04:26:33 localhost postfix/local[14403]: 51DD815065: to=<postfix@austinpublicskatepark.org>, orig_to=<root>, relay=local, delay=1, status=sent ("|/usr/bin/procmail -Y -a $DOMAIN")
Jan 19 01:29:44 localhost imapd: Connection, ip=[::ffff:192.168.1.103]
Jan 19 01:29:44 localhost imapd: LOGIN, user=seth, ip=[::ffff:192.168.1.103], protocol=IMAP
Jan 19 01:29:44 localhost imapd: maildirmake: No such file or directory
Jan 19 01:29:44 localhost imapd: chown: failed to get attributes of `/home/500/Maildir': No such file or directory



That last line is the interesting one... Looks like it's using the UID as the user name for the directory... Should be /home/seth/Maildir instead. Any idea where this would be set?

Appreciatively,

di11rod
 
Old 01-20-2004, 12:55 AM   #6
di11rod
Member
 
Registered: Jan 2004
Location: Austin, TEXAS
Distribution: CentOS 6.5
Posts: 211

Original Poster
Rep: Reputation: 32
more info

Here is the process table listing for imap. Shows arguments used to launch it... Thought maybe it would be of help to anyone who could interpret this problem and offer a suggestion.

[root@jackass seth]# ps -ef |grep imap
root 22235 1 0 Jan16 ? 00:00:00 /usr/lib/courier/couriertcpd -address=0 -stderrlogger=/usr/lib/courier/courierlogger -stderrloggername=imapd -maxprocs=40 -maxperip=4 -pid=/var/run/imapd.pid -nodnslookup -noidentlookup 143 /usr/sbin/imaplogin /usr/lib/courier/authlib/authdaemon /usr/bin/imapd Maildir


thanks,

di11rod
 
Old 01-22-2004, 07:24 AM   #7
di11rod
Member
 
Registered: Jan 2004
Location: Austin, TEXAS
Distribution: CentOS 6.5
Posts: 211

Original Poster
Rep: Reputation: 32
SOLVED

I had copied my user directory from my previous Mandrake 9.2 install. I had spamassassin installed and had a .procmailrc and .profile file in my home directory. The .procmailrc file was instructing the procmail filter to save my mail in /home/<username>/Mail/Inbox file. Once I removed the .procmailrc and .profile files and restarted postfix, I recieved mail fine. In order to get all that stuff in the Inbox file into my 'mail' system, I did this:

cat /home/<username>/Mail/Inbox >> /var/mail/<username>

Then imap was able to request it and so forth.

Sheesh. That took like 3 days to figure out.

hope this helps someone else not spend 3 days on a similar dilemna.

di11rod
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squirrelmail problem - imap - how to create .INBOX lucastic Linux - Software 3 04-17-2005 09:18 AM
Postfix problem (also using Cyrus IMAP) newtommy Linux - Software 4 02-10-2005 02:40 PM
cyrus imap, user adding problem? SquirrelMail okan.yuksel Linux - Newbie 0 07-17-2004 04:51 PM
cyrus imap server & SquirrelMail, user adding problem? virU Linux - Software 0 07-14-2004 12:11 PM
Question about Postfix, IMAP and Squirrelmail vdi_nenna Linux - Software 0 02-14-2003 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration