I would like to first thank all of you who respond to
this mail list becuase your probably sick of my
questions  regarding this subject. 

That being said I am really having trouble sending
mail and I have confirmed that the problem has to do
with the way pop before smtp is handled. I really like
squirrelmail and want to try to get my setup working.

As indicated in an earlier email I am having problem
with the POP before SMTP option. The message received
is: 
Requested action not taken: mailbox name not allowed
Server replied: 553 sorry, that domain isn't in my
list of allowed rcpthosts (#5.7.1)

Now the details: in
/class/deliver/Deliver_SMTP.class.php  I see at about
line 40 or so the following code :
---------------------------------------------
if ($authpop)
             {
              $this->authPop($host, '', $username,
$pass);
             }
---------------------------------------------

Now i look at the authPop function and see this is
indeed the place where a POP authorization will occur
when authpop is true. Ok now as a test i did the
following:
-------------------------------------------------
$this->authPop("mail.mymailserver.com","110","myuser",
"mypass");
-------------------------------------------------

In other words I hard coded the user and password
passed to the function. When I sent an email after
this change - it works.

As another test I replaced it with the following:
---------------------------------------
$this->authPop("mail.mymailserver.com","110",
$username, $pass);
---------------------------------------

I tried using the variables for $username and $pass to
authenticate my pop server. No luck. I get the same
error.

I guess this relates to my last email about how
passwords are handled. why isnt the $pass variable my
password? Its being supplied with in the authPop
function. That would indicate that it should have my
password stored there.

The bottem line is the hard coded function works while
the out of the box function with the variable being
passed doesnt. How can i get this to work? I obviously
cant hard code in a multi user enviornment. 

One more thing I see the initStream fuction mentioning
the $pass variable. It looks like it maybe clearing it
or something. Maybe that is impacting the authPop
function.

Thanks again for your help

Brian



        
                
__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to