[ixpmanager] Email Issue
Marc Bruyere
mbruyere at nc.u-tokyo.ac.jp
Thu Mar 5 13:34:50 GMT 2020
Hi all,
Even if I configure the mail.php config file as below:
'driver' => env( 'MAIL_DRIVER', 'smtp' ),
'host' => env( 'MAIL_HOST', 'mail.gandi.net' ),
'port' => env( 'MAIL_PORT', 465 ),
It does not try to connect to the host I configured but on the localhost:25
[2020-03-05 08:26:58] production.ERROR: Connection could not be established with host localhost :stream_socket_client(): unable to connect to tcp://localhost:25 (Connection refused) {"userId":1,"exception":"[object] (Swift_TransportException(code: 0): Connection could not be established with host localhost :stream_socket_client(): unable to connect to tcp://localhost:25 (Connection refused) at /srv/ixpmanager/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:269)
Thx for in advance for your help
/mb
>
> Le 29/02/2020 à 14:07, Christopher Malayter a écrit :
>> That did it Frank.
>>
>> Appreciate the help.
>>
>> -Chris
>>
>>
>>> On Feb 28, 2020, at 11:54 PM, Frank Habicht<geier at geier.ne.tz> wrote:
>>>
>>> Hi Chris,
>>>
>>> I had the same or a very similar issue here.
>>>
>>> In /srv/ixpmanager/config/mail.php I had and have
>>> 'driver' => env( 'MAIL_DRIVER', 'sendmail' ),
>>> and installing postfix (and making it listen to localhost only) did the
>>> trick.
>>>
>>> hope this help.
>>>
>>> If not, send some or all content of file
>>> /srv/ixpmanager/config/mail.php
>>>
>>> Regards,
>>> Frank
>>>
>>>
>>> On 29/02/2020 07:20, Christopher Malayter wrote:
>>>> Hello IXP Manager folks!
>>>>
>>>> Recently been playing around with IXP manager and seeing if I can make it work with our systems.
>>>>
>>>> Running into an issue adding users. Every time I try to resend a user a welcome email I get a 500 error.
>>>>
>>>> In the logs I see:
>>>>
>>>> [2020-02-29 03:52:56] production.ERROR: Expected response code 220 but got an empty response {"userId":1,"exception":"[object] (Swift_TransportException(code: 0): Expected response code 220 but got an empty response at /srv/ixpmanager/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:445)
>>>>
>>>> Any help is appreciated.
>>>>
>>>> -Chris
>>>>
>>>>
>>>> _______________________________________________
>>>> INEX IXP Manager mailing list
>>>> ixpmanager at inex.ie
>>>> Unsubscribe or change options here:https://www.inex.ie/mailman/listinfo/ixpmanager
>>>>
>>> _______________________________________________
>>> INEX IXP Manager mailing list
>>> ixpmanager at inex.ie
>>> Unsubscribe or change options here:https://www.inex.ie/mailman/listinfo/ixpmanager
>> _______________________________________________
>> INEX IXP Manager mailing list
>> ixpmanager at inex.ie
>> Unsubscribe or change options here:https://www.inex.ie/mailman/listinfo/ixpmanager
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20200305/b24f4424/attachment.htm>
More information about the ixpmanager
mailing list