Re: SM Relay Authentication Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Lesniewski wrote:
> On 9/18/07, Bill Landry <bill@xxxxxxxxxxx> wrote:
>> I am trying to debug an issue with a relay provider, and want to setup
>> SquirrelMail to relay directly out through their mail server.  However, in the
>> "Server Settings" section I see the following:
>>
>> Server Settings
>>
>> General
>> -------
>> 1.  Domain                 : mydomain.com
>> 2.  Invert Time            : false
>> 3.  Sendmail or SMTP       : SMTP
>>
>> SMTP Settings
>> -------------
>> 4.   SMTP Server           : host.example.com
>> 5.   SMTP Port             : 25
>> 6.   POP before SMTP       : false
>> 7.   SMTP Authentication   : login
>> 8.   Secure SMTP (TLS)     : true
>> 9.   Header encryption key :
>>
>> I have enabled "SMTP Authentication", but don't see where I can set the login
>> name and password to support authentication to the relay host.  Is SquirrelMail
>> passing on the users credentials to the remote "SMTP Server" (relay host)?  If
>> so, is there a way to setup SquirrelMail to do server authentication instead of
>> user authentication, where SM passes the same login name and password for all
>> e-mail deliveries from all users?
> 
> In 1.4.11SVN (forget when it was added), the menu path in conf.pl is:
> 
> 2
> b
> 7
> n
> login
> y
> 
> ... at which point it asks you for the sitewide user and pwd.
> 
> If this isn't in your conf.pl (you do not say what version of SM you
> are using), you can try adding them manually to your config.php file:
> 
> $smtp_sitewide_user = 'xxx';
> $smtp_sitewide_pass = 'xxx';
> 
> If these don't have any effect, then you probably need to upgrade SM.

Hmmm, looks like I will have to upgrade in order to conduct this test.  I
manually added the two $smtp_sitewide entries, but SM comes back with:

ERROR:
Message not sent. Server replied:

    0 Can't open SMTP stream.

While I'm here, the issue I'm attempting to debug is that when I send mail out
though my outbound relay provider with Thunderbird -> Postfix -> OB-Relay, the
Content-Transfer-Encoding is set to 7bit, and the message is relayed and
received 7bit, and thus my DK and DKIM signatures are able to be verified.
However, when I use SM as SM -> Postfix -> OB-Relay, the
Content-Transfer-Encoding is set to 8bit, but is getting converted to
quoted-printable by the relay provider and thus both DK and DKIM signatures are
failing due to the encoding change in transit.

The OB-Relay provider was asking me to set SM to send directly to them to take
Postfix out of the picture, so to appease them, I was going to do so, even
though my debug output shows that Postfix is sent 8bit to the OB-Relay, but is
being received quoted-printable.  However, if I bypass the OB-Relay, the message
is always received 8bit and again signature verification is successful.

BTW, is there anyway to change the Content-Transfer-Encoding to something other
that 8bit in SM?  Is there a reason 8bit is used (just curious)?

Thanks!

Bill

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux