Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How do I delete manually Queued mail in the Mail Spool?

"Few of the selected Emails could not be deleted because they are being resent."



This thread was automatically locked due to age.
Parents Reply Children
  • Many times rebooted.

    SFVH_SO01_SFOS 16.01.1# service awarrenmta:start -dsnosync
    200 OK
    (trying delete)

    MESSAGE Oct 31 19:07:14 [4150908672]: Starting awarrenmta-awarrenmta 1.0 with glibc: 2.19
    MESSAGE Oct 31 19:07:14 [4150908672]: Parsing config file /static/proxy/smtp/mta.conf
    MESSAGE Oct 31 19:07:14 [4150908672]: is spx enable -> 1
    MESSAGE Oct 31 19:07:14 [4150908672]: Setting Bind-address to 0.0.0.0
    MESSAGE Oct 31 19:07:14 [4150908672]: Initilizing Protocol "SMTP" port: 25
    ...................................................ERROR Oct 31 19:07:14 [4150908672]: get_name_type() getaddrinfo failed for 'netspheres.org':
    MESSAGE Oct 31 19:07:14 [4150908672]: Including "netspheres.org" in Trusted-host list
    MESSAGE Oct 31 19:07:14 [4150908672]: add_iplist('192.168.144.10/255.255.255.255'): inserting in iptree
    MESSAGE Oct 31 19:07:14 [4150908672]: add_iplist('192.168.144.11/255.255.255.255'): inserting in iptree
    MESSAGE Oct 31 19:07:14 [4150908672]: add_iplist('0.0.0.0/0.0.0.0'): inserting in iptree
    MESSAGE Oct 31 19:07:14 [4150908672]: add_iplist('::'): inserting in ip6tree
    MESSAGE Oct 31 19:07:14 [4150908672]: add_iplist('0.0.0.0/0.0.0.0'): inserting in iptree
    MESSAGE Oct 31 19:07:14 [4150908672]: add_iplist('::'): inserting in ip6tree
    ERROR Oct 31 19:07:14 [4150908672]: profile no= 1, domain = netspheres.org
    ERROR Oct 31 19:07:14 [4150908672]: profile no= 1, domain = scrshot.gallery
    ERROR Oct 31 19:07:14 [4150908672]: profile no= 1, domain = dl5.me
    ERROR Oct 31 19:07:14 [4150908672]: Found CA certificate in smtp cert configuration...
    MESSAGE Oct 31 19:07:14 [4150908672]: Trusted CA certificate directory path: '/conf/certificate/cacerts/'
    MESSAGE Oct 31 19:07:14 [4150908672]: SSL CAPTIVE Context initialized
    MESSAGE Oct 31 19:07:14 [4150908672]: New SMTP configuration. id = 0
    MESSAGE Oct 31 19:07:14 [4150908672]: SPX Registration Portal Listener set-up completed.
    MESSAGE Oct 31 19:07:14 [4150908672]: init_commtouch: ipaddress: '127.0.0.1' port: '8088'
    MESSAGE Oct 31 19:07:14 [4150908672]: init_commtouch: ipaddress: '127.0.0.1' port: '8089'
    MESSAGE Oct 31 19:07:14 [4150908672]: Initilizing Protocol "SMTPS" port: 464
    MESSAGE Oct 31 19:07:14 [4150908672]: HA Disabled..remove remote db's
    MESSAGE Oct 31 19:07:14 [4150908672]: [[[[MAIL Subscription is active.]]]]
    MESSAGE Oct 31 19:07:14 [4150908672]: calculate_max_storage_size: max storage size = 7474208768, min free size = 149484175
    MESSAGE Oct 31 19:07:14 [4150908672]: look_into_cache_storage: finished loding mails. used space = 0, mail count = 0
    ERROR Oct 31 19:07:14 [4150908672]: Mail pickup directory already exist
    MESSAGE Oct 31 19:07:14 [4150908672]: awarrenmta is running as root. This can be dangerous.Please provide valid 'User' and 'Group' in config file
    MESSAGE Oct 31 19:07:14 [4150908672]: Daemon initialization complete
    MESSAGE Oct 31 19:07:14 [3875146560]: AV Client,DNS Client, CTIPD started successfully
    ERROR Oct 31 19:07:14 [3875146560]: gr_init failed
    MESSAGE Oct 31 19:07:48 [3875146560]: process_request: tlv->type: 1 , tlv->length: 175 '0xc0000008:bounces+3rdfarti=dl5.me@dynect-mailer.net,0xc000001b:ashli-fireofwisdom=netspheres.org@henstervech.xyz,0xc0000088:azalee-fireofwisdom=netspheres.org@okust-jerst.top'
    ERROR Oct 31 19:07:48 [3875146560]: process_tlv_event(): recvfrom() blocked

    SFVH_SO01_SFOS 16.01.1# service awarrenmta:stop -dsnosync
    200 OK
    (trying delete)

    (log no change)

    Anything else? Thanks!

  • Harim,

    type the following command: service awarrenmta:debug -dsnosyn

    and check if you see the queue inside the log.

    Thanks

  • SFVH_SO01_SFOS 16.01.1# service awarrenmta:start -dsnosync
    200 OK
    SFVH_SO01_SFOS 16.01.1# service awarrenmta:debug -dsnosync
    200 OK
    (trying delete)

    (init)
    MESSAGE Oct 31 19:17:26 [4151326464]: Toggling log level to: INFO
    INFO Oct 31 19:18:15 [3874949952]: process_tlv_event(): read event
    INFO Oct 31 19:18:15 [3874949952]: process_tlv_event(): write event
    MESSAGE Oct 31 19:18:15 [3874949952]: process_request: tlv->type: 1 , tlv->length: 175 '0xc0000008:bounces+3rdfarti=dl5.me@dynect-mailer.net,0xc000001b:ashli-fireofwisdom=netspheres.org@henstervech.xyz,0xc0000088:azalee-fireofwisdom=netspheres.org@okust-jerst.top'
    INFO Oct 31 19:18:15 [3874949952]: process_tlv_event(): write event
    ERROR Oct 31 19:18:15 [3874949952]: process_tlv_event(): recvfrom() blocked

    [:'(]

  • Harim shared the connection and stopping both awarren services did not help. We were able to find the email inside other folders than /var/tslog but deleting that files did not help.

    There should be a way to stop the proper service and delete the queued mail in some way. Also you should allow Admins to delete queued mail from GUi and configure Timeout connection in case the SMTP fails to connect to remote SMTP.

    sachingurung

    varunparikh

    Can you have a look at this thread?

    Thanks