Package: atmailopen
Version: 1.03+dfsg+svn93-4
Severity: wishlist

    The atmailopen has the feature of send message using authenticated
SMTP but it has only options to use a general username and password to
authenticate. Once you have authenticated in pop/imap using your own
username and password, I think you should have the option to use these
same data (username and password) to authenticate in SMTP.

    I need to use that in my mailservers and then I patched the
atmailopen code to support this feature.


$ diff sendmail.php sendmail-pacthed.php
62d61
<
118a118,130
> /**
>  * Changed by Arthur Furlan <[email protected]> on 2009-04-27
>  *
>  * Enable SMTP authentication using the POP username and password.
>  */
> if ($pref['smtpauth_use_pop3user'] == true) {
>       $pref['smtpauth_username'] = $atmail->username;
>       if ($pref['mailserver_auth'])
>               $pref['smtpauth_username'] .= '@' . $atmail->pop3host;
>       $pref['smtpauth_password'] = $auth->password;
> }
>

$ diff Config.php Config-patched.php
44a45
>   'smtpauth_use_pop3user' => true,


    I'm running Debian GNU/Linux 5.0 (Lenny) and Kernel 2.6.26-2-686.

-- 
Regards,

Arthur Furlan
[email protected]



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to