Re: POP before SMTP, need different username, password, and pop server

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

 



On Fri, Jul 18, 2008 at 11:13 PM, Paul Lesniewski <paul@xxxxxxxxxxxxxxxx> wrote:
> On Sun, Jul 13, 2008 at 12:42 PM, scottlindner <the_guinea_pig@xxxxxxxxx> wrote:
>>
>> I'm trying to configure SquirrelMail to send directly through my mail
>> provider.  It requires TLS, authentication, and I believe it requires POP
>> before SMTP.  The catch is that it uses a different server for POP than it
>> does for SMTP,
>
> What a mess.
>
>> and the username and password for the POP and SMTP server are
>> different than my IMAP I have configured locally.  I'm not much of a PHP
>> hacker.  Is anyone familiar with where this is in the code so I could modify
>> it to use a different username, password, and server name for the POP before
>> SMTP?
>
> You can use the smtp_auth hook (read about it in functions/auth.php)
> to remap your username/passwords as necessary in a plugin so you don't
> have to bother keeping a patch together when upgrading SM.  However,
> the server part is not so easy.
>
> If you want to simply hard-code the hostname into SM, open
> class/deliver/Deliver_SMTP.class.php and on line 323 you should find:
>
> function authPop($pop_server='', $pop_port='', $user, $pass) {
>
> Immediately after that line, redefine the pop server:
>
> $pop_server = 'pop.example.org';
>
> I will look at allowing the redefinition of $pop_server using the
> above-mentioned smtp_auth hook in a newer SM release.

You can now configure $pop_before_smtp_host in the configuration file
(or using the configuration utility) in SM 1.4.16 (or 1.5.2) - get a
snapshot from our downloads page, although you may have to wait a day
for it to synchronize.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 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