Re: apache/james:demo-3.6.0

"[email protected]" <[email protected]>
Newsgroups gmane.comp.jakarta.james.user
Message-ID <[email protected]>
Hello Sean,

Email trust is definitely a complicated thing. Getting third party
accepting your emails is a complex task [1]. To send emails to (say)
Gmail, you would need to buy a domain, register you MXs, set up
scertificates, battle with DKIM and SPF, etc...

[1] https://james.apache.org/howTo/spf.html
https://james.apache.org/howTo/dkim.html

Regards,

Benoit

On 09/12/2021 16:33, Sean McElroy wrote:
> Hello,
>
> I am trying to use the apache/james:demo-3.6.0 docker image but I cannot send a message via SMTP.
> This is the error I am getting:
>
> javax.mail.SendFailedException: Invalid Addresses;  nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 530 5.7.1 Authentication Required
>
> I have tried several of the available docker images but I get the same error.
>
> Can you tell me what I am doing wrong?
>
> I am using Spring Boot and I am using [email protected], which is one of the default users created by this docker image.
>
> This is my mail configuration:
>
>   mail:
>     host: localhost
>     port: 25
>     properties.mail.smtp.auth: false
>     properties.mail.smtp.starttls.enable: false
>     properties.mail.imap.host: localhost
>     properties.mail.imap.port: 143
>     properties.mail.imap.starttls.enable: false
>
>
>
> Many thanks,
> Sean
> Confidential Communication: The contents of this e-mail including any attachment are confidential and intended solely for the person(s) to whom they are addressed. Any reader of this email who is not the intended recipient is notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete all copies from your computer system. Subsequent alterations to this email after its transmission will be disregarded.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.