import logging
from lamson.routing import route, route_like, stateless
from config.settings import queue
from lamson import view


@route("(address)@(host)", address=".+")
@stateless
@nolocking
def START(message, address=None, host=None):
    queue.push(message)


import logging
from lamson.routing import route, stateless, nolocking
from config.settings import accepted_queue
from lamson import view


@route("(address)@(host)", address=".+")
@stateless
@nolocking
def START(message, address=None, host=None):
    accepted_queue.push(message)


Make the IN service actually deliver mail to the accepted queue
Make the IN service actually deliver mail to the accepted queue

  import logging
- from lamson.routing import route, route_like, stateless
+ from lamson.routing import route, stateless, nolocking
- from config.settings import queue
+ from config.settings import accepted_queue
  from lamson import view
  
  
  @route("(address)@(host)", address=".+")
  @stateless
  @nolocking
  def START(message, address=None, host=None):
-     queue.push(message)
+     accepted_queue.push(message)
  
  
Make the IN service actually deliver mail to the accepted queue
## Code Before:
import logging
from lamson.routing import route, route_like, stateless
from config.settings import queue
from lamson import view


@route("(address)@(host)", address=".+")
@stateless
@nolocking
def START(message, address=None, host=None):
    queue.push(message)


## Instruction:
Make the IN service actually deliver mail to the accepted queue
## Code After:
import logging
from lamson.routing import route, stateless, nolocking
from config.settings import accepted_queue
from lamson import view


@route("(address)@(host)", address=".+")
@stateless
@nolocking
def START(message, address=None, host=None):
    accepted_queue.push(message)

