mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Allow to configure the email inbox via config file.
Same as all the other parameters it makes sense to set it in the config file as well.
This commit is contained in:
		| @@ -37,6 +37,10 @@ PAPERLESS_CONSUME_MAIL_PORT="" | |||||||
| PAPERLESS_CONSUME_MAIL_USER="" | PAPERLESS_CONSUME_MAIL_USER="" | ||||||
| PAPERLESS_CONSUME_MAIL_PASS="" | PAPERLESS_CONSUME_MAIL_PASS="" | ||||||
|  |  | ||||||
|  | # Override the default IMAP inbox here. If not set paperless defaults to | ||||||
|  | # "INBOX". | ||||||
|  | #PAPERLESS_CONSUME_MAIL_INBOX="" | ||||||
|  |  | ||||||
|  |  | ||||||
| ############################################################################### | ############################################################################### | ||||||
| ####                              Security                                 #### | ####                              Security                                 #### | ||||||
|   | |||||||
| @@ -244,8 +244,10 @@ MAIL_CONSUMPTION = { | |||||||
|     "PORT": os.getenv("PAPERLESS_CONSUME_MAIL_PORT"), |     "PORT": os.getenv("PAPERLESS_CONSUME_MAIL_PORT"), | ||||||
|     "USERNAME": os.getenv("PAPERLESS_CONSUME_MAIL_USER"), |     "USERNAME": os.getenv("PAPERLESS_CONSUME_MAIL_USER"), | ||||||
|     "PASSWORD": os.getenv("PAPERLESS_CONSUME_MAIL_PASS"), |     "PASSWORD": os.getenv("PAPERLESS_CONSUME_MAIL_PASS"), | ||||||
|     "USE_SSL": os.getenv("PAPERLESS_CONSUME_MAIL_USE_SSL", "y").lower() == "y",  # If True, use SSL/TLS to connect |     # If True, use SSL/TLS to connect | ||||||
|     "INBOX": "INBOX"  # The name of the inbox on the server |     "USE_SSL": os.getenv("PAPERLESS_CONSUME_MAIL_USE_SSL", "y").lower() == "y", | ||||||
|  |     # The name of the inbox on the server | ||||||
|  |     "INBOX": os.getenv("PAPERLESS_CONSUME_MAIL_INBOX", "INBOX") | ||||||
| } | } | ||||||
|  |  | ||||||
| # This is used to encrypt the original documents and decrypt them later when | # This is used to encrypt the original documents and decrypt them later when | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 David Martin
					David Martin