LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 08-01-2008, 07:31 AM   #1
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Rep: Reputation: 30
Sending email fails with Squirrelmail


Hi folks,

I recently set up a server on a VPS. I'm running CentOS 5, LxAdmin control panel with BIND, Apache, Mysql, PHP, etc. Now, LxAdmin by default comes with roundcube and horde webmail clients. The problem is that I want to use good old fashioned squirrelmail.

So, I tried to install squirrelmail on one of the user accounts on my server. I got everything to work (i.e. it can recieve mail, delete it, file it, etc.), but I cannot send. When I try to send an email, I get the following error:

Quote:
Message not sent. Server replied:
Requested action not taken: mailbox name not allowed
553 sorry, that domain isn't in my list of allowed rcpthosts (#5.5.3 - chkuser)
Now, I know I can send mail with roundcube and horde, so the problem is not with the mail server, but with squirrelmail. Can someone shed some light on this problem?

Thank you very much.

Last edited by evilmonkey; 08-01-2008 at 07:34 AM.
 
Old 08-01-2008, 12:03 PM   #2
dthacker
Member
 
Registered: Nov 2003
Location: Omaha, NE
Distribution: Ubuntu, Kubuntu, Ubuntu Server
Posts: 77

Rep: Reputation: 15
What is your MTA? Sendmail? Postfix?
What do you see in the mail logs?

Dave
 
Old 08-01-2008, 12:36 PM   #3
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
The MTA is qmail, with courier being used for pop/imap.
All mail-related logs in /var/log are empty.

Last edited by evilmonkey; 08-01-2008 at 12:41 PM.
 
Old 08-02-2008, 08:32 AM   #4
dthacker
Member
 
Registered: Nov 2003
Location: Omaha, NE
Distribution: Ubuntu, Kubuntu, Ubuntu Server
Posts: 77

Rep: Reputation: 15
It is possible that courier is putting the logs somewhere else? Sometimes applications write their logs within their own file hierarchy instead of putting them in /var/log.

Dave
 
Old 08-03-2008, 05:38 PM   #5
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
Hi,

Thanks for your reply. Any idea where else I can look for the logs?
 
Old 08-03-2008, 06:02 PM   #6
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
I got this out of /var/log/messages when I triend to send an email through sqirrelmail.

Code:
Aug  3 19:00:18 hitmusichour xinetd[3686]: START: smtp pid=11276 from=127.0.0.1
Aug  3 19:00:19 hitmusichour xinetd[3686]: EXIT: smtp status=1 pid=11276 duration=1(sec)
I also got this out of /var/log/lxadmin/smtp.log (I think this is the problem)

Code:
CHKUSER rejected relaying: from <test@hitmusichour.ca::> remote <www.hitmusichour.ca:localhost:127.0.0.1> rcpt <test123@gmail.com> : client not allowed to relay
Also, here's my tcp.smtp:

Code:
127.:allow,RELAYCLIENT="",DKSIGN="/var/qmail/control/domainkeys/%/private",RBLS",RBLSMTPD="",NOP0FCHECK="1"
:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="50",CHKUSER_WRONGRCPLIMIT="10",QMAILQUEUE="/var/qmail/bin/simscan",DKSIGN="/var/qmail/control/domainkeys/%/private",NOP0FCHECK="1"




Is it of any use?

Last edited by evilmonkey; 08-03-2008 at 06:20 PM.
 
Old 08-04-2008, 09:49 PM   #7
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
Okay, I figured it out. I had to set the smtp_auth variable in the config.php file to login so that it would authenticate against the smtp server. Thanks very much!!
 
  


Reply

Tags
courier, qmail, squirrelmail


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
Configuring and Email Server with Squirrelmail, sendmail and dovecot. ashesh0326 Linux - Server 6 04-08-2007 01:15 AM
Sending and receiving emails with cyrillic character? (squirrelmail, postfix &fedora) Ternet Linux - Software 1 09-19-2006 02:43 AM
sending email cambie Linux - Software 1 11-20-2004 06:02 PM
sending email to an ip pyu7 Linux - Software 4 10-08-2004 02:46 PM
sending an email to a email address after a perl operation meluser Programming 9 04-07-2003 01:26 PM


All times are GMT -5. The time now is 08:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration