Support module is somehow not picking up emails from pop3

Request help, the support module is somehow not picking up emails from
pop mail server of gmail. The smtp/pop settings are correct and it is
sending out emails say when creating users but pulling from the pop3
servers.

Erpnext is running in https so i am doing a port forwarding for 443
other than that, the debian updates etc everything are normal and apt-
get etc are getting fetched with no issues at all. Infact when a user
is created, smtp is sending an email as well. Wonder why its not
pulling up mails.

Do we need to run some kind of cron script?


You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
To post to this group, send email to er...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/erpnext-developer-forum?hl=en.

Hi,

First, you will need to update erpnext. To do that, run the following
command after starting terminal
Assuming that you have installed erpnext in /var/www/erpnext

cd /var/www/erpnext && lib/wnf.py --pull origin master && lib/wnf.py -l

Next,
Are you using erpnext’s virtualbox image?
if yes, you can start terminal and run this command:
wget http://erpnext.com/files/scheduler_cron.txt && cat
scheduler_cron.txt | crontab -

This will setup cron for you.

If not, what is your erpnext folder path?
In erpnext’s virtualbox image, it is /var/www/erpnext

To setup cron, you need to add this line in your crontab.

  1. start terminal
  2. crontab -e
  3. write the following in the blank text editor which opens up
    */3 * * * * cd /var/www/erpnext && /usr/bin/python lib/wnf.py
    –run_scheduler >> ~/cron.log 2>&1

replace /var/www/erpnext with your erpnext folder path.

I hope this clears your issue.

We will also update this in the erpnext virualbox image. Thanks for
pointing out the issue.

Thanks,
Anand.

On Mon, Jun 18, 2012 at 3:03 PM, atlury at...@gmail.com wrote:

Request help, the support module is somehow not picking up emails from
pop mail server of gmail. The smtp/pop settings are correct and it is
sending out emails say when creating users but pulling from the pop3
servers.

Erpnext is running in https so i am doing a port forwarding for 443
other than that, the debian updates etc everything are normal and apt-
get etc are getting fetched with no issues at all. Infact when a user
is created, smtp is sending an email as well. Wonder why its not
pulling up mails.

Do we need to run some kind of cron script?


You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
To post to this group, send email to er...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/erpnext-developer-forum?hl=en.


You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
To post to this group, send email to er...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/erpnext-developer-forum?hl=en.

Hi,

In the first step, ie. update erpnext, you need to run the command using sudo:
cd /var/www/erpnext && sudo lib/wnf.py --pull origin master && sudo
lib/wnf.py -l

Thanks,
Anand.

On Mon, Jun 18, 2012 at 4:31 PM, Anand Doshi an...@iwebnotes.com wrote:

Hi,

First, you will need to update erpnext. To do that, run the following
command after starting terminal
Assuming that you have installed erpnext in /var/www/erpnext

cd /var/www/erpnext && lib/wnf.py --pull origin master && lib/wnf.py -l

Next,
Are you using erpnext’s virtualbox image?
if yes, you can start terminal and run this command:
wget http://erpnext.com/files/scheduler_cron.txt && cat
scheduler_cron.txt | crontab -

This will setup cron for you.

If not, what is your erpnext folder path?
In erpnext’s virtualbox image, it is /var/www/erpnext

To setup cron, you need to add this line in your crontab.

  1. start terminal
  2. crontab -e
  3. write the following in the blank text editor which opens up
    */3 * * * * cd /var/www/erpnext && /usr/bin/python lib/wnf.py
    –run_scheduler >> ~/cron.log 2>&1

replace /var/www/erpnext with your erpnext folder path.

I hope this clears your issue.

We will also update this in the erpnext virualbox image. Thanks for
pointing out the issue.

Thanks,
Anand.

On Mon, Jun 18, 2012 at 3:03 PM, atlury at...@gmail.com wrote:

Request help, the support module is somehow not picking up emails from
pop mail server of gmail. The smtp/pop settings are correct and it is
sending out emails say when creating users but pulling from the pop3
servers.

Erpnext is running in https so i am doing a port forwarding for 443
other than that, the debian updates etc everything are normal and apt-
get etc are getting fetched with no issues at all. Infact when a user
is created, smtp is sending an email as well. Wonder why its not
pulling up mails.

Do we need to run some kind of cron script?


You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
To post to this group, send email to er...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/erpnext-developer-forum?hl=en.


You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
To post to this group, send email to er...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/erpnext-developer-forum?hl=en.

yes it works! But “occasionally” it takes more time than scheduled to pickup emails. It works that way in the virtualbox image.


Same thing somehow doesnt pickup when we install it on a normal deb, we do start scheduler as per instructions and the scheduler runs, have to investigate further.

Thanks

On Monday, 18 June 2012 16:37:02 UTC+5:30, Anand Doshi wrote:
Hi,



In the first step, ie. update erpnext, you need to run the command using sudo:

cd /var/www/erpnext && sudo lib/wnf.py --pull origin master && sudo

lib/wnf.py -l



Thanks,

Anand.



On Mon, Jun 18, 2012 at 4:31 PM, Anand Doshi <an…@iwebnotes.com> wrote:

> Hi,

>

> First, you will need to update erpnext. To do that, run the following

> command after starting terminal

> Assuming that you have installed erpnext in /var/www/erpnext

>

> cd /var/www/erpnext && lib/wnf.py --pull origin master && lib/wnf.py -l

>

> Next,

> Are you using erpnext’s virtualbox image?

> if yes, you can start terminal and run this command:

> wget http://erpnext.com/files/scheduler_cron.txt && cat

> scheduler_cron.txt | crontab -

>

> This will setup cron for you.

>

> If not, what is your erpnext folder path?

> In erpnext’s virtualbox image, it is /var/www/erpnext

>

> To setup cron, you need to add this line in your crontab.

> 1. start terminal

> 2. crontab -e

> 3. write the following in the blank text editor which opens up

> */3 * * * * cd /var/www/erpnext && /usr/bin/python lib/wnf.py

> --run_scheduler >> ~/cron.log 2>&1

>

> replace /var/www/erpnext with your erpnext folder path.

>

> I hope this clears your issue.

>

> We will also update this in the erpnext virualbox image. Thanks for

> pointing out the issue.

>

> Thanks,

> Anand.

>

> On Mon, Jun 18, 2012 at 3:03 PM, atlury <at…@gmail.com> wrote:

>> Request help, the support module is somehow not picking up emails from

>> pop mail server of gmail. The smtp/pop settings are correct and it is

>> sending out emails say when creating users but pulling from the pop3

>> servers.

>>

>> Erpnext is running in https so i am doing a port forwarding for 443

>> other than that, the debian updates etc everything are normal and apt-

>> get etc are getting fetched with no issues at all. Infact when a user

>> is created, smtp is sending an email as well. Wonder why its not

>> pulling up mails.

>>

>> Do we need to run some kind of cron script?

>>

>> –

>> You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

>> To post to this group, send email to erpnext-developer-forum@googlegroups.com.

>> To unsubscribe from this group, send email to erpnext-developer-forum+un…@googlegroups.com.

>> For more options, visit this group at http://groups.google.com/group/erpnext-developer-forum?hl=en.

>>



You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/4MQhpLdNlFYJ.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/erpnext-developer-forum?hl=en.