LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-09-2010, 07:27 AM   #1
IssacT
LQ Newbie
 
Registered: Aug 2005
Location: Connecticut
Distribution: Fedora 12
Posts: 18

Rep: Reputation: 0
Configuration Issues with Virtual Users on Postfix/Courier/MySQL Fedora 12


I can feel brain goop leaking from my nose.

http://www.howtoforge.com/virtual-us...dora-12-x86_64

I was following the above guide to get a mail server up and running. The major difference in it all is the fact that my server is running i686, but I compensated for that easily, just a difference in folder/RPM names.

Otherwise I followed it to a "T." Everything seemed to go smoothly, no trips or falls until the very end.

After installing squirrelmail and trying to login on admin@withfrosted.com returns ERROR: Connection dropped by IMAP server.

Uncle google tells me to run this command because SELinux is overzealous:
setsebool -P httpd_can_network_connect=1

And that works, and I thought I was home free. However, after that, I'm presented with a new error. I forget exactly what it was. However, google told me to send an email to create the mailbox because it wasn't there, yet. So I send a test email on over, but that fails, and so does mailx. So there's a lot goofed up, here.

Next I created /home/vmail/withfrosted.com/admin while logged into the vmail user for proper permissions. Squirrelmail now logs into the mail box but gives me yet another new error, in which I am now stuck on:
ERROR:
ERROR: Could not complete request.
Query: SELECT "INBOX"
Reason Given: Unable to open this mailbox.

As a summary, because I'm all over the place, here:
1. Can't view the mailbox via Squirrelmail.
2. Can't receive email, tried with mailx and a test email from gmail.

Regarding #2, the gmail test email, from the maillog:
Quote:
May 9 07:25:45 withfrosted postfix/smtpd[21095]: connect from mail-qy0-f177.google.com[209.85.221.177]
May 9 07:25:45 withfrosted postfix/smtpd[21095]: 26CE516241D: client=mail-qy0-f177.google.com[209.85.221.177]
May 9 07:25:45 withfrosted postfix/cleanup[21104]: 26CE516241D: message-id=<z2pe336661a1005090425zaee8dc71jc3002cb7cb25e0fa@mail.gmail.com>
May 9 07:25:45 withfrosted postfix/qmgr[19083]: 26CE516241D: from=<issact@gmail.com>, size=1866, nrcpt=1 (queue active)
May 9 07:25:45 withfrosted amavis[21024]: (21024-01) (!)connect_to_sql: unable to connect to DSN 'DBI:mysql:database=mail;host=127.0.0.1;port=3306': Can't connect to MySQL server on '127.0.0.1' (13)
May 9 07:25:45 withfrosted amavis[21024]: (21024-01) (!!)TROUBLE in process_request: connect_to_sql: unable to connect to any dataset at (eval 98) line 241, <GEN15> line 5.
May 9 07:25:45 withfrosted amavis[21024]: (21024-01) (!)Requesting process rundown after fatal error
May 9 07:25:45 withfrosted postfix/smtp[21105]: 26CE516241D: to=<admin@withfrosted.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.2, delays=0.11/0.01/0.01/0.07, dsn=4.3.2, status=deferred (host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing channel (in reply to RCPT TO command))
May 9 07:26:15 withfrosted postfix/smtpd[21095]: disconnect from mail-qy0-f177.google.com[209.85.221.177]
(What's really odd? No bounceback email in my gmail inbox! I'm assuming that sprouts from the DSN error returned, here.)

If you all need any more information at all, just please reply and let me know. I would really appreciate any leads. I generally don't like littering forums with useless topics, and I honestly don't mean to. I promise that I looked as hard as I could on this one, literally all night and now I'm at work. >.> Mailservers are my weak spot, they shotgun my brain-power.

Last edited by IssacT; 05-09-2010 at 07:30 AM.
 
Old 05-10-2010, 01:08 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
I was following the above guide to get a mail server up and running
very first thing is this
ask your self if you DO WANT TO reinstall fedora on a mail server EVERY 6 months when a new version is released
fedora only has a 13 month life span

you WILL be much happier ( and safer ) if you use a LONG life distro . One that has a 5 to 7 year life span
 
1 members found this post helpful.
Old 05-10-2010, 06:54 AM   #3
IssacT
LQ Newbie
 
Registered: Aug 2005
Location: Connecticut
Distribution: Fedora 12
Posts: 18

Original Poster
Rep: Reputation: 0
I've used slackware and freebsd to host servers in the past, so far I like fedora a lot. And even if I need to set it up again in a couple years, it'll keep my mind fresh on the subject (hopefully.)

I don't want to deny your advice, but my main focus is trying to wrap my head around mail servers, I feel so pathetic that I don't completely understand them, yet.
 
Old 05-10-2010, 01:26 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
it is your hardware and time
 
0 members found this post helpful.
Old 05-10-2010, 06:08 PM   #5
IssacT
LQ Newbie
 
Registered: Aug 2005
Location: Connecticut
Distribution: Fedora 12
Posts: 18

Original Poster
Rep: Reputation: 0
Alright, thanks for your helpful input regarding my problem!

Anyway, I had to disable and re-enable SELinux. I'm not exactly sure why, my best guess is that a queued setting needed to be changed and SELinux might have been preventing that from happening.

In any case, it is working now. The problem is resolved. Could someone close the thread, please?
 
  


Reply

Tags
fc12, fedora 12, postfix



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
LXer: Virtual Users/Domains With Postfix, Courier, MySQL, SquirrelMail (Fedora 12) LXer Syndicated Linux News 0 12-22-2009 07:00 PM
LXer: Virtual Users & Domains With Postfix, Courier, MySQL, SquirrelMail (Fedora 10) LXer Syndicated Linux News 0 02-01-2009 06:30 PM
LXer: Virtual Users And Domains With Postfix, Courier And MySQL (CentOS 5.1) LXer Syndicated Linux News 0 12-11-2007 01:50 PM
LXer: Virtual Users And Domains With Postfix, Courier And MySQL (Fedora 8) LXer Syndicated Linux News 0 11-20-2007 09:50 AM
LXer: Virtual Users And Domains With Postfix, Courier And MySQL (Fedora Core 5) LXer Syndicated Linux News 0 09-10-2006 08:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:44 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