emails directly to email queue

OsvaldoRaf

Member
Apr 12, 2012
8
0
51
cPanel Access Level
Root Administrator
i need to put emails directly to the email queue with a prpogram that i have, but i dont know the path to exim email queue can anyone helpme? are there any special permissions that i have to give to the script?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
The exim queue is at /var/spool/exim/input, but you should never directly put messages into that location as exim needs to process the email to have it properly handled. What are you attempting to do with the script that needs to bypass exim processing it for queue delivery?
 

OsvaldoRaf

Member
Apr 12, 2012
8
0
51
cPanel Access Level
Root Administrator
i dont need to bypass exim processing, just want to avoid the overhead of delivering with smpt, and putting the email directly to the folder /var/spool/exim/input would do that right?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
That folder has various other folders in it and the emails need to be processed by the exim database in order to properly appear in the queue. You cannot bypass exim processing it, which is what trying to place them into that folder (or a subfolder therein) would do.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Are you trying to basically deliver something to an account? If so, why even try to email it at all? Why not just put a file onto the account which bypasses any email delivery? You could cron output entries into a log file and then have that log file online (in a password protected area) or on the account itself.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator