LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-15-2010, 03:19 PM   #1
abakhiet
Member
 
Registered: Apr 2010
Location: Assiut, Egypt
Posts: 166

Rep: Reputation: 15
Wink Squirrelmail Problems


Hola,
Recently i installed Squirrelmail in my Linux Box and all is fine except some errors that faces me, these errors like :
Quote:
ERROR:
ERROR: Could not complete request.
Query: CREATE "Sent"
Reason Given: Invalid mailbox name.
That message appears in the left side after you login to it using :
my server is :
Quote:
Linux Centos 5.4
Postfix
also, please see the attached photo for more informations.
Attached Thumbnails
Click image for larger version

Name:	Squirrelmail.GIF
Views:	136
Size:	12.1 KB
ID:	3575  
 
Old 05-15-2010, 03:52 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,505

Rep: Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769
Hi abakhiet

Take a look here and hopefully you'll find a solution that works for you.

Regards
 
1 members found this post helpful.
Old 05-15-2010, 06:26 PM   #3
abakhiet
Member
 
Registered: Apr 2010
Location: Assiut, Egypt
Posts: 166

Original Poster
Rep: Reputation: 15
Talking Cool

Quote:
Originally Posted by bathory View Post
Hi abakhiet

Take a look here and hopefully you'll find a solution that works for you.

Regards
Really thank you my friend, i change some parameters in :
Code:
/etc/squirrelmail/config.php
and change these parameters into :
Quote:
INBOX
INBOX.DRAFTS
INBOX.SENT
INBOX.TRASH
and it is done, but i noticed some problems too, i have a stable Mail server, it can send and receive mails via relayhost, so when i use Squirrelmail to sendmail it gives me some error like :
Quote:
ERROR:
Transaction failed
Server replied: 554 5.7.1 <eebng_1422@yahoo.com>: Relay access denied
i think that the solution is here, but i don't know which parameter:
Quote:
$squirrelmail_default_language = 'en_US';
$default_charset = 'iso-8859-1';
$lossy_encoding = false;

$domain = 'abakhiet.info';
$imapServerAddress = 'mail.abakhiet.info';
$imapPort = 143;
$useSendmail = false;
$smtpServerAddress = 'mail.abakhiet.info';
$smtpPort = 25;
$sendmail_path = '/usr/sbin/sendmail';
$sendmail_args = '-i -t';
$pop_before_smtp = false;
$imap_server_type = 'other';
$invert_time = false;
$optional_delimiter = '.';
$encode_header_key = '';
Thanks in Advance
 
Old 05-16-2010, 01:48 PM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,505

Rep: Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769
Is the webserver running squirrelmail on the same box with you mail server?
If it's not, then you have to add the webserver IP in mynetworks parameter.
Or take a look /var/log/maillog to see why it denies relay to the webserver.

Regards
 
1 members found this post helpful.
Old 05-17-2010, 07:20 AM   #5
abakhiet
Member
 
Registered: Apr 2010
Location: Assiut, Egypt
Posts: 166

Original Poster
Rep: Reputation: 15
all my servers are in the same box.
but i need to know how can i use Squirrelmail to send messages via Postfix
 
Old 05-17-2010, 07:35 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,505

Rep: Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769
Quote:
$sendmail_path = '/usr/sbin/sendmail';
That should be enough assuming that the path to the sendmail replacement is correct.
Maybe you can change
Quote:
$smtpServerAddress = 'mail.abakhiet.info';
to
Code:
$smtpServerAddress = 'localhost';
since both postfix and squirrelmail are on the same box.

And don't forget to check the logs for details

Regards
 
1 members found this post helpful.
Old 05-17-2010, 05:37 PM   #7
zeos386sx
Member
 
Registered: Oct 2004
Location: waco, tx
Distribution: Solus
Posts: 46

Rep: Reputation: 15
have you checked this howto?

specifically did you run the system-switch-mail command to switch from sendmail to postfix?
 
0 members found this post helpful.
Old 05-18-2010, 12:46 AM   #8
abakhiet
Member
 
Registered: Apr 2010
Location: Assiut, Egypt
Posts: 166

Original Poster
Rep: Reputation: 15
Thanks for your help bathory, but i think the parameters to use is :

Quote:
$sendmail_path = '/usr/sbin/sendmail';
$sendmail_args = '-i -t';
i need to told you also that i need to use postfix not Sendmail
please see that error from Squirrelmail webpage
Quote:
Email delivery error
Server replied: 1 Can't execute command '/usr/sbin/postfix -i -t -fabakhiet@abakhiet.info'.
thanks for your time,...

Last edited by abakhiet; 05-18-2010 at 12:48 AM. Reason: add some details
 
Old 05-18-2010, 02:19 AM   #9
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,505

Rep: Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769
Quote:
Thanks for your help bathory, but i think the parameters to use is :

Quote:
$sendmail_path = '/usr/sbin/sendmail';
$sendmail_args = '-i -t';
i need to told you also that i need to use postfix not Sendmail
I know that you're using postfix, but you should also know that postfix provides a binary sendmail for compatibility with programs that are using the sendmail command to send email.
To me it looks like you have replaced this binary with a symlink to postfix, thus:
Quote:
Email delivery error
Server replied: 1 Can't execute command '/usr/sbin/postfix -i -t -fabakhiet@abakhiet.info'.
What is the output of :
Code:
ls -l /usr/sbin/sendmail
Also you have "-f" switch that is attached to the recipient. Where did it came from?
 
1 members found this post helpful.
Old 05-18-2010, 01:12 PM   #10
abakhiet
Member
 
Registered: Apr 2010
Location: Assiut, Egypt
Posts: 166

Original Poster
Rep: Reputation: 15
Really thanks
all is work now, you are right postfix has a binary code for Sendmail.
Quote:
[root@abakhiet ~]# ls -l /usr/sbin/sendmail
lrwxrwxrwx 1 root root 21 May 2 07:58 /usr/sbin/sendmail -> /etc/alternatives/mta
Thanks a lot, and i make these changes in my file :
Quote:
$sendmail_path = '/usr/sbin/sendmail';
$sendmail_args = '-i -t';
Thanks a lot to all whom help me solving that problem, including my friend bathory
 
  


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 Problems climbingmerlin Linux - Software 2 11-03-2005 04:20 AM
squirrelmail problems roopunix Linux - Networking 2 07-03-2005 12:44 AM
SquirrelMail problems vladimir-dk Linux - Software 2 07-16-2004 03:58 PM
SquirrelMail 1.2.1 problems!!! explorer1979 Linux - Networking 1 04-08-2004 12:28 PM
Problems with SquirrelMail 1.4.0 Jorge_Beteta Linux - Software 0 09-26-2003 02:28 PM

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

All times are GMT -5. The time now is 11:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration