Hi, new to OTRS.
I setup the PostMaster Mail Account to dispatch to a selected QUEUE and the Email Addresses, when I send an Email to IMAP account setup and use the RUN NOW "Fetch mail" on the admin screen the mail is fetch and creates a Ticket on the specified QUEUE.
If I use the daemon to fetchmail the email is fetched, removed from the email mail box, but where does it goes. I don't see it on the dashboard. I know I am missing something, what it is I don't know. Please any one knows why it works with RUN NOW and not with the DAEMON.
Much appreciated in advanced, Thank You
Where Emails Goes After fetchmail
Moderator: crythias
-
- Znuny newbie
- Posts: 2
- Joined: 21 Oct 2016, 20:25
- Znuny Version: 4.0.5
- Real Name: Antonio Salum
- Company: AFM & SAG-AFTRA
-
- Administrator
- Posts: 4253
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Where Emails Goes After fetchmail
Check the otrs log, there you should see the queue where the e-mail is dispatched to.
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny newbie
- Posts: 2
- Joined: 21 Oct 2016, 20:25
- Znuny Version: 4.0.5
- Real Name: Antonio Salum
- Company: AFM & SAG-AFTRA
Re: Where Emails Goes After fetchmail
Hi, Again, I figure out where the email were going, but still I have a problem. Here is what is happening, please Help anyone.
1. I have a email account otrs@asaiprdf.ad ( on the exchange) and otrs@localhost (Ubuntu / otrs server)
2.
2. This is my fetchmailrc file:
set logfile "/var/log/fetchmail.log" set syslog;
set daemon 15;
set postmaster "asaiprdf\otrs";
poll 10.20.5.102 protocol pop3;
username "otrs" password "Zxcv1234" is otrs here
smtphost localhost smtpname otrs
3. If I send emails to the otrs@asaiprdf.ad (i.e. I send three different emails as EMAIL_1, EMAIL_2, EMAIL_3), before the 90 seconds of the fetchmail and I issue the command mail, see figure 1 of attached file , It will state that there is no mail for otrs.
4. Once the 90 second lapse the fetchmail daemon will pickup the emails from the exchange server and removed them, and placed them on the otrs /var/mail/otrs.
5. If I re-issue the command mail it will display that I have 3 messages 3 new , see figure 2 of the attached file.
6. No tickets are generated on the OTRS portal - Dashboard, see figure 3.
7. if I issue the command cat /var/mail/otrs | /opt/otrs/bin/./otrs.Postmaster.pl, the command executes and one ticket is placed on the Dashboard see Figures 4 and 5, however the command only will generated one thicket only for Email_1
8. If run again the previous command, it will generated a new ticket but for the same mail Email_1. See figure 6 and 7
9. The only way I could get to generate the ticket for Email_2 is by going into the mail command on the Ubuntu box and read mail 1, so it will not be on the mailbox when the command is run again see figure 8 , 9, 10, and re-issue the cat /var/mail/otrs | /opt/otrs/bin/./otrs.Postmaster.pl, the command
If I stop the fetchmail daemon, my emails to otrs@afmsagaftrafund.org will be sitting on the exchange server, and if I run the Fetch NOW on the portal all email from the exchange will be fetched and tickets are created on the OTRS Dashboard.
Questions:
1. What is that I am doing wrong?
2. Is there a script to run the mail command, on the command line that will read the first mail and exit.
3. Am I suppose to modify the PostMaster.pl script so the script read to the end of file, then delete those mails from the box.
HELP , Please, and Thank you very much in advanced.
1. I have a email account otrs@asaiprdf.ad ( on the exchange) and otrs@localhost (Ubuntu / otrs server)
2.
2. This is my fetchmailrc file:
set logfile "/var/log/fetchmail.log" set syslog;
set daemon 15;
set postmaster "asaiprdf\otrs";
poll 10.20.5.102 protocol pop3;
username "otrs" password "Zxcv1234" is otrs here
smtphost localhost smtpname otrs
3. If I send emails to the otrs@asaiprdf.ad (i.e. I send three different emails as EMAIL_1, EMAIL_2, EMAIL_3), before the 90 seconds of the fetchmail and I issue the command mail, see figure 1 of attached file , It will state that there is no mail for otrs.
4. Once the 90 second lapse the fetchmail daemon will pickup the emails from the exchange server and removed them, and placed them on the otrs /var/mail/otrs.
5. If I re-issue the command mail it will display that I have 3 messages 3 new , see figure 2 of the attached file.
6. No tickets are generated on the OTRS portal - Dashboard, see figure 3.
7. if I issue the command cat /var/mail/otrs | /opt/otrs/bin/./otrs.Postmaster.pl, the command executes and one ticket is placed on the Dashboard see Figures 4 and 5, however the command only will generated one thicket only for Email_1
8. If run again the previous command, it will generated a new ticket but for the same mail Email_1. See figure 6 and 7
9. The only way I could get to generate the ticket for Email_2 is by going into the mail command on the Ubuntu box and read mail 1, so it will not be on the mailbox when the command is run again see figure 8 , 9, 10, and re-issue the cat /var/mail/otrs | /opt/otrs/bin/./otrs.Postmaster.pl, the command
If I stop the fetchmail daemon, my emails to otrs@afmsagaftrafund.org will be sitting on the exchange server, and if I run the Fetch NOW on the portal all email from the exchange will be fetched and tickets are created on the OTRS Dashboard.
Questions:
1. What is that I am doing wrong?
2. Is there a script to run the mail command, on the command line that will read the first mail and exit.
3. Am I suppose to modify the PostMaster.pl script so the script read to the end of file, then delete those mails from the box.
HELP , Please, and Thank you very much in advanced.
You do not have the required permissions to view the files attached to this post.