Giter Club home page Giter Club logo

Comments (3)

dac11011 avatar dac11011 commented on September 27, 2024 1

The fix is to add sieve_vacation_send_from_recipient = yes to /etc/dovecot/conf.d/90-sieve.conf.
Then give group docker permission to write to /home directory for Sieve.

from docker-mailserver.

glime-ai avatar glime-ai commented on September 27, 2024

Please note that this response was created using generative AI, leveraging previously available information from the repository. This information may be helpful. However, it is our strong recommendation that you carefully consider the information before blindly applying it.

This response is generated only once - you will not be able to interact with the glime-ai.


Parece que el problema radica en la configuraci贸n de autenticaci贸n SMTP para Amazon SES cuando se utiliza Sieve para enviar correos electr贸nicos. Aunque el env铆o de correos electr贸nicos regulares funciona bien, Sieve no est谩 utilizando la autenticaci贸n adecuada para el relay de Amazon SES.

Para resolver este problema, aseg煤rate de que la configuraci贸n de Sieve est茅 correctamente configurada para usar la autenticaci贸n SMTP. Aqu铆 hay algunos pasos que puedes seguir:

  1. Verifica la configuraci贸n de Sieve: Aseg煤rate de que Sieve est茅 configurado para usar las mismas credenciales de autenticaci贸n que has configurado en tu archivo .env para Amazon SES.

  2. Revisa la configuraci贸n de Postfix: Aseg煤rate de que Postfix est茅 configurado para usar la autenticaci贸n SMTP para todos los correos salientes, incluidos los generados por Sieve. Puedes revisar y ajustar la configuraci贸n en el archivo main.cf de Postfix.

  3. Configura smtp_sasl_auth_enable: Aseg煤rate de que la autenticaci贸n SASL est茅 habilitada en Postfix. Puedes agregar o verificar las siguientes l铆neas en tu archivo main.cf:

    smtp_sasl_auth_enable = yes
    smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
    smtp_sasl_security_options = noanonymous
    smtp_tls_security_level = encrypt
    smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
    
  4. Configura sasl_passwd: Aseg煤rate de que el archivo /etc/postfix/sasl_passwd contenga las credenciales correctas para Amazon SES:

    email-smtp.us-east-2.amazonaws.com:587 RELAY_USER:RELAY_PASSWORD
    
  5. Reinicia los servicios: Despu茅s de realizar estos cambios, reinicia los servicios de Postfix y Dovecot para que los cambios surtan efecto.

Si despu茅s de estos pasos el problema persiste, por favor proporciona m谩s detalles sobre la configuraci贸n de Sieve y cualquier otro archivo de configuraci贸n relevante para que podamos ayudarte mejor.

This comment was generated by Glime.

from docker-mailserver.

polarathene avatar polarathene commented on September 27, 2024

I've got all of the proper variables set in .env file:

DEFAULT_RELAY_HOST
RELAY_HOST
RELAY_PORT
RELAY_USER
RELAY_USERNAME
RELAY_PASSWORD
AWS_SES_USERPASS
  • AWS_SES_USERPASS is not a DMS variable
  • RELAY_USERNAME is not a DMS variable
  • DEFAULT_RELAY_HOST replaces RELAY_HOST + RELAY_PORT

Please ensure you have configured correctly as per our docs:

Adjust your ENV and start the container again with docker compose up --force-recreate.


As for Sieve, this is managed by Dovecot.

I don't have time to investigate, but it should be configured internally to deliver mail to Postfix, and if you have DEFAULT_RELAY_HOST + RELAY_USER + RELAY_PASSWORD all configured, all your mail sent outbound should be through AWS SES with the same authentication.

from docker-mailserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 馃搳馃搱馃帀

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google 鉂わ笍 Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.