[ixpmanager] Email Issue

Marc Bruyere mbruyere at nc.u-tokyo.ac.jp
Thu Mar 5 13:45:01 GMT 2020


Hi Barry,

Thx, will do

/mb

Le 05/03/2020 à 22:42, Barry O'Donovan a écrit :
> Hi Marc,
>
> don't edit any files under config/* - these are framework files and 
> all env() options will be overwritten by what is in your local .env file.
>
> I.e. to set want you need below, edit .env and set / replace:
>
> MAIL_DRIVER=smtp
> MAIL_HOST=mail.gandi.net
> MAIL_PORT=465
>
> See: https://laravel.com/docs/6.x/mail for more details.
>
>  - Barry
>
>
>
>
> Marc Bruyere wrote on 05/03/2020 13:34:
>> 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
>>>
>>
>>
>>
>> _______________________________________________
>> INEX IXP Manager mailing list
>> ixpmanager at inex.ie
>> Unsubscribe or change options here: 
>> https://www.inex.ie/mailman/listinfo/ixpmanager
>>
>
>



More information about the ixpmanager mailing list