mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 08:56:02 +03:00
[GH-ISSUE #2516] Error sending mail from outside the webmail 451 4.3.5 #1618
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#1618
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Renaud-DELEIRIS on GitHub (May 17, 2022).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/2516
Impacted versions
Steps to reproduce
I installed my server
Connect with admin and create simple user email
Send my first email and it work
Receive my first email and it work
I connect my account to outlook with:
mail server: mail.exemple.com
username: user@exemple.com
pass: pass
Incoming port: 993 SSL
Outgoing port: 587 STARTTLS
I connected successfuly and I can see my email
Current behavior
When I try to send email from outlook I got an error
I connected my account with node mailer and I got this error message:
response: '451 4.3.5 rcpt@gmail.com: Recipient address rejected: Server configuration problem'
Expected behavior
I should be able to send my mail from outlook as I do from my webmail
@tonioo commented on GitHub (May 18, 2022):
@Renaud-DELEIRIS Can you provide more information? Maybe an extract of your mail.log file?
@Renaud-DELEIRIS commented on GitHub (May 18, 2022):
Hello,
here it is:
@tonioo commented on GitHub (May 18, 2022):
Looks like the policy daemon does not start. Can you take a look at supervisor logs?
@Renaud-DELEIRIS commented on GitHub (May 18, 2022):
Thanks for your help!
Can you tell me which one?
@Renaud-DELEIRIS commented on GitHub (May 18, 2022):
Nevermind they are all empty except the short one
@tonioo commented on GitHub (May 18, 2022):
Nothing really interesting here.
Can you try to run this command:
@Renaud-DELEIRIS commented on GitHub (May 18, 2022):
It's seems like something already using my port 9999
I tried a lot of things before installing modoboa maybe I missed to remove some?
Do you know what can possibly use this port?
@Renaud-DELEIRIS commented on GitHub (May 18, 2022):
I got this running on port 9999:
with
sudo lsof -i tcp:9999@tonioo commented on GitHub (May 18, 2022):
So actually the process is running as expected. Might be an ipv4/ipv6 confusion.
Can you check postfix configuration? (/etc/postfix/main.cf)
@Renaud-DELEIRIS commented on GitHub (May 18, 2022):
What are you looking for in this?
I should not have ipv6, I didn't activate it on my digital ocean server
This mention the port 9999, tell me if you want to look in another part
@tonioo commented on GitHub (May 18, 2022):
Everything looks fine here. Now that I'm thinking about it, what Modoboa version do you run? Can you also check what version of aioredis in installed? (
/srv/modoboa/env/bin/pip list)@Renaud-DELEIRIS commented on GitHub (May 18, 2022):
I got
aioredis 2.0.1and
@tonioo commented on GitHub (May 18, 2022):
Everything is fine too...
Can you run the policy daemon in debug mode? (add the --debug flag to command line options in supervisor configuration)
Or even better, stop the service spawned by supervisor and run the daemon manually using the previous command
@Renaud-DELEIRIS commented on GitHub (May 18, 2022):
I stoped supervisor service and launch
/srv/modoboa/env/bin/python /srv/modoboa/instance/manage.py policy_daemon --debugBut nothing is written
@tonioo commented on GitHub (May 18, 2022):
While the process is running in foreground mode, try to send a new message and check the console output
@Renaud-DELEIRIS commented on GitHub (May 18, 2022):
Yes I did that and nothing shown up. It's probably bugging somewhere else
@tonioo commented on GitHub (May 18, 2022):
Can you try to disable this service? (comment the corresponding line in main.cf and reload postfix)
@Renaud-DELEIRIS commented on GitHub (May 18, 2022):
So I commented what I send you in the main.cf
Now when I try to send message through Thunderbird It stuck on
Status: sending@tonioo commented on GitHub (May 18, 2022):
And what do you see in mail.log ?
@Renaud-DELEIRIS commented on GitHub (May 18, 2022):
I got this
@tonioo commented on GitHub (May 18, 2022):
Looks like your configuration is broken somewhere. Can you check your master.cf file?
@Renaud-DELEIRIS commented on GitHub (May 18, 2022):
Ok I have uncommented other line:
I remember changing something near this line but it was maybe before modoboa:
-o smtpd_sasl_auth_enable=yesIs everything normal ?
Other:
@tonioo commented on GitHub (May 18, 2022):
Yes, it looks fine. Instead of a comment, can you completely remove the line in the main.cf file?
@Renaud-DELEIRIS commented on GitHub (May 18, 2022):
I remove all the line ?
@tonioo commented on GitHub (May 18, 2022):
yes, the one with 9999. Just to check if it's a syntax issue
@Renaud-DELEIRIS commented on GitHub (May 18, 2022):
Oh that worked !!!!!
Thank you so much
Could you explain why it happen?
@tonioo commented on GitHub (May 18, 2022):
Postfix can be sometimes annoying with comments...
Ok, so the issue comes from the policy daemon but we don't know why.
@Renaud-DELEIRIS commented on GitHub (May 18, 2022):
Oh Do I have disabled something important ? Cause now I can send and receive mail
@tonioo commented on GitHub (May 18, 2022):
The policy daemon is the component responsible for applying daily sending limits defined on your accounts
@Renaud-DELEIRIS commented on GitHub (May 18, 2022):
I Don't use this feature so should be okay, Thanks for the help
@gi-yt commented on GitHub (Jun 7, 2022):
i am having a similar issue. when i try to send an email through the webmail i get
@gi-yt commented on GitHub (Jun 7, 2022):
smtp probably refers to
in master.cf indicating that there is something wrong with screening?
@gi-yt commented on GitHub (Jun 7, 2022):
i cannot recieve mail either
@gi-yt commented on GitHub (Jun 7, 2022):
adding these back fixed the getting emails issue but i still cant send