Skip to Content
Menu
This question has been flagged
3 Replies
1899 Views

Hi,


How do i add the incoming imap/pop3 servers to the conf file?


Outgoing is working. I would add the incoming catchall mail to the conf. this way it will catch the mails for all databases, without having to configure it separately within all databases.


On a sidenote, any way to encrypt the passwords in the conf file?


Thank you for your assistance!

Avatar
Discard
Best Answer

Hello, 

You need to add the following things in your odoo config file.

[options]
# Enable incoming mail server
fetchmail_server = True
# Incoming Mail Server Type
fetchmail_type = imap
# Incoming Mail Server Name
fetchmail_server = imap server
# Incoming Mail Server Port (usually 993 for IMAP over SSL)
fetchmail_port = 993
# Incoming Mail Server SSL (set to True if SSL/TLS encryption is required)
fetchmail_ssl = True
# Incoming Mail Server Username
fetchmail_user = youremail
# Incoming Mail Server Password
fetchmail_password = youremailpassword
# Incoming Mail Server Interval (in minutes)
fetchmail_interval = 5

Thanks.

Avatar
Discard
Author

Hi Manish,
Can you point me to the documentation regarding your answer please? I would love to get this working.
Best regards & thank you in advance!

Author Best Answer

Hi,

I am able to configure it trough the GUI. But my question is how to configure the IMAP/POP (incomming) in the odoo conf file. you can do so for the SMTP server, but so far, IMAP or POP i have only found how to do it in the GUI.

Anyone has the answer to that one?

Thanks you!

Avatar
Discard
Author

To make it a bit more clear:
These are the settings for outgoing mails in the odoo config file:
https://gist.github.com/Guidoom/d5db0a76ce669b139271a528a8a2a27f#file-gistfile1-txt-L285

I am looking for the exact same settings for the incomming mail in odoo, but have found none so far?
anyone any idea why that is so? is there a workaround in the configuration file?

Thank you for your assistance!

Best Answer

Hi,

Please refer to our blog to know about configuring incoming mail server in odoo.https://www.cybrosys.com/blog/how-to-configure-outgoing-and-incoming-mail-servers-in-odoo-17


Hope it helps

Avatar
Discard
Author

Hi,

I am able to configure it trough the GUI. But my question is how to configure the IMAP/POP (incomming) in the odoo conf file. you can do so for the SMTP server, but so far, IMAP or POP i have only found how to do it in the GUI.

Anyone has the answer to that one?

Thanks you!

Author

To make it a bit more clear:
These are the settings for outgoing mails in the odoo config file:
https://gist.github.com/Guidoom/d5db0a76ce669b139271a528a8a2a27f#file-gistfile1-txt-L285

I am looking for the exact same settings for the incomming mail in odoo, but have found none so far?
anyone any idea why that is so? is there a workaround in the configuration file?

Thank you for your assistance!

Related Posts Replies Views Activity
2
May 25
208
0
Mar 25
418
0
Feb 25
476
0
Feb 25
493
0
Mar 15
3157