mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Add the deliver_email management command
This command should be run continuously via supervisor. It periodically checks for new email messages to send, and then sends them. This is for sending email that you've queued via the Email table, instead of mandrill (as is the case for our localserver/development deploys). (imported from commit a2295e97b70a54ba99d145d79333ec76b050b291)
This commit is contained in:
		@@ -579,7 +579,8 @@ if DEPLOYED:
 | 
			
		||||
        EVENT_LOG_DIR = '/home/zulip/logs/event_log'
 | 
			
		||||
    STATS_DIR = '/home/zulip/stats'
 | 
			
		||||
    PERSISTENT_QUEUE_FILENAME = "/home/zulip/tornado/event_queues.pickle"
 | 
			
		||||
    EMAIL_LOG_PATH = "/var/log/zulip/email-mirror.log"
 | 
			
		||||
    EMAIL_MIRROR_LOG_PATH = "/var/log/zulip/email-mirror.log"
 | 
			
		||||
    EMAIL_DELIVERER_LOG_PATH = "/var/log/zulip/email-deliverer.log"
 | 
			
		||||
    QUEUE_ERROR_DIR = '/var/log/zulip/queue_error'
 | 
			
		||||
else:
 | 
			
		||||
    EVENT_LOG_DIR = 'event_log'
 | 
			
		||||
@@ -587,7 +588,8 @@ else:
 | 
			
		||||
    WORKER_LOG_PATH = "workers.log"
 | 
			
		||||
    STATS_DIR = 'stats'
 | 
			
		||||
    PERSISTENT_QUEUE_FILENAME = "event_queues.pickle"
 | 
			
		||||
    EMAIL_LOG_PATH = "email-mirror.log"
 | 
			
		||||
    EMAIL_MIRROR_LOG_PATH = "email-mirror.log"
 | 
			
		||||
    EMAIL_DELIVERER_LOG_PATH = "email-deliverer.log"
 | 
			
		||||
    QUEUE_ERROR_DIR = 'queue_error'
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user