Different SMTP user/password

View: New views
5 Messages — Rating Filter:   Alert me  

Different SMTP user/password

by Markus-51 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Hello!

I tried to configure IMAP which is simple. I can read my mails but if I try to send one I get following error message:



Your message could not be sent!
The mail server returned:

Array
(
    [c o d e] => 550
    [msg] => relay not permitted

    [desc] =>
    [server_chat] =>
c->s: fsockopen(smtp03XXXXXXXXX,25,0,,5) ; returned: Resource id #86
s->c: 220 smtp02XXXXXXXXX ESMTP Exim 4.50 Thu, 22 Mar 2007 06:51:49 +0100
c->s: EHLO www.pehaim.net
s->c: 250-smtp02XXXXXXXXX Hello www.XXXXXXXXX[81.19.145.67]
s->c: 250-SIZE 52428800
s->c: 250-PIPELINING
s->c: 250-AUTH CRAM-MD5 PLAIN LOGIN
s->c: 250-STARTTLS
s->c: 250 HELP
c->s: MAIL FROM:<markusXXXXXXXXX>
s->c: 250 OK
c->s: RCPT TO:<e0309108XXXXXXXXX>
s->c: 550 relay not permitted

)

I've replaced domain-specific information with XXXXXXXXX



The problem is, that the SMTP-Server uses a different username and password to send mails. Is there a possibility to enter some for the SMTP-server?

Many thx!

brgs,
markusSent from the phpGroupWare forums @ http://forums.phpGroupWare.org


_______________________________________________
phpGroupWare-users mailing list
phpGroupWare-users@...
http://lists.gnu.org/mailman/listinfo/phpgroupware-users

Re: Different SMTP user/password

by Chris Weiss-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 3/22/07, Markus wrote:
>     [c o d e] => 550
>     [msg] => relay not permitted
>
> The problem is, that the SMTP-Server uses a different username and password to send mails. Is there a possibility to enter some for the SMTP-server?
>

currently this can only be config'd site wide and by editing a file.
edit email/inc/class.mail_send.inc.php
look for $smtp_auth_login_required on or about line 209 and set it to
TRUE, then fill in the login and password just below it.


_______________________________________________
phpGroupWare-users mailing list
phpGroupWare-users@...
http://lists.gnu.org/mailman/listinfo/phpgroupware-users

Re: Different SMTP user/password

by Giorgio Pioda :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Yep,

I also need SMTP with auth (recently my mail ISP has set it and my users cannot use any more the email within the phpgroupware) but this hack looks terrible.

I cannot set a single user/passwd for 170 users on a production machine...

I think that such a mechanism should be fixed, since more and more mail servers requires authentication.

cheers

gfwpSent from the phpGroupWare forums @ http://forums.phpGroupWare.org


_______________________________________________
phpGroupWare-users mailing list
phpGroupWare-users@...
http://lists.gnu.org/mailman/listinfo/phpgroupware-users

Re: Re: Different SMTP user/password

by Chris Weiss-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Sep 10, 2008 at 1:14 AM, Giorgio Pioda <ticinux@...> wrote:

>
>
> Yep,
>
> I also need SMTP with auth (recently my mail ISP has set it and my users cannot use any more the email within the phpgroupware) but this hack looks terrible.
>
> I cannot set a single user/passwd for 170 users on a production machine...
>
> I think that such a mechanism should be fixed, since more and more mail servers requires authentication.
>
> cheers
>

you are welcome to sponsor the fix and submit a patch.

it would probably be easier to call your ISP and work out authorizing
your host by IP address instead of SMTP auth, which would have the
bonus of reducing load on both your servers.


_______________________________________________
phpGroupWare-users mailing list
phpGroupWare-users@...
http://lists.gnu.org/mailman/listinfo/phpgroupware-users

Re: Re: Different SMTP user/password

by Giorgio Pioda :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



cw wrote on Wed, 10 September 2008 09:34
> you are welcome to sponsor the fix and submit a patch.
>
> it would probably be easier to call your ISP and work out authorizing
> your host by IP address instead of SMTP auth, which would have the
> bonus of reducing load on both your servers.


The biggest problem is to have enough time to dig into the whole structure and understand where the patch has to be inserted into... (the documentation status...)

About SMTP via IP, well it is an idea, thanks.

best regards

gfwpSent from the phpGroupWare forums @ http://forums.phpGroupWare.org


_______________________________________________
phpGroupWare-users mailing list
phpGroupWare-users@...
http://lists.gnu.org/mailman/listinfo/phpgroupware-users