Comments (3)
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.
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:
-
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. -
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. -
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 archivomain.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
-
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
-
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.
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 variableRELAY_USERNAME
is not a DMS variableDEFAULT_RELAY_HOST
replacesRELAY_HOST
+RELAY_PORT
Please ensure you have configured correctly as per our docs:
- AWS SES: https://docker-mailserver.github.io/docker-mailserver/v14.0/config/advanced/mail-forwarding/aws-ses/
- Main relay host config page: https://docker-mailserver.github.io/docker-mailserver/v14.0/config/advanced/mail-forwarding/relay-hosts/
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)
- question: Why does `doveadm auth test` fails with user added by `setup dovecot-master add` and `setup email add` HOT 11
- docs: IPv6 updates with Docker v27
- bug: Container restarts skip ownership fixes
- question: How can I verify that the integration with iptables is actually working? HOT 12
- bug report: Scaling issues with check-for-changes.sh when managing mailboxes/aliases HOT 4
- docs: `ACCOUNT_PROVISIONER=FILE` additional Dovecot user attribtues
- postfix/submissions/smtpd: SASL authentication failure: Couldn't find mech XOAUTH2 HOT 12
- feature request: OAUTH - autoprovision accounts on first login using post-login scripting HOT 5
- bug report: Upgrading to v14 - postfix does not start HOT 12
- question: Why does `DEFAULT_RELAY_HOST` fail to authenticate? (DMS release prior to v14) HOT 3
- bug report: Postfix logs the error `fatal: bad string length 0 < 1: virtual_mailbox_base` HOT 4
- question: How to send email on port 465 without using a relay HOT 10
- Question: How to add reply-to header information HOT 1
- [TODO]: `SMTP_ONLY=1` feature should swap `virtual_mailbox_domains` with `virtual_alias_domains`
- bug report: `postfix-main.cf` is appending warnings to `/etc/postfix/main.cf` HOT 7
- [TODO]: Small tasks
- other: Proposal to change Getmail working directory HOT 8
- [TODO]: DMS v14 regression - Container restart support may fail due to unclean exit
- bug report: `postconf: fatal: open /etc/postfix/main.cf for reading: No such file or directory` HOT 2
- bug report: configured dovecot stats/metrics are always 0 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google 鉂わ笍 Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-mailserver.