Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

(qmail) finding messages to/from invalid user

Status
Not open for further replies.

l0stnewb

Technical User
Apr 8, 2010
1
0
0
CA
I set up a web form that emailed the contents of the form submission. The form used the same "to" and "from" addresses. Accidentally, the server was configured to try and locally deliver the mail for that domain however the mailbox was not set up.

Is there any way of recovering any of form-submission emails that were mis-directed - i.e. is there a "badmail" queue somewhere? The handler dirs are empty and I'm pretty sure I checked all the /var/qmail/queue sub-directories.

Running qmail with Plesk 8.3 at 1&1.

Logs for the delivery attemptof one of the "lost" messages:

Apr 8 12:41:40 u15300242 qmail: 1270744900.485080 starting delivery 710: msg 134287760 to local 20-user@domain.com
Apr 8 12:41:40 u15300242 qmail: 1270744900.485197 status: local 1/10 remote 0/20
Apr 8 12:41:40 server qmail: 1270744900.485197 status: local 1/10 remote 0/20
Apr 8 12:41:40 server qmail-local-handlers[2316]: Handlers Filter before-local for qmail started ...
Apr 8 12:41:40 server qmail-local-handlers[2316]: from=anonymous@mydomain.com
Apr 8 12:41:40 server qmail-local-handlers[2316]: to=user@domain.com
Apr 8 12:41:40 server qmail-local-handlers[2316]: cannot reinject message to 'user@domain.com'
Apr 8 12:41:40 server qmail: 1270744900.734388 delivery 710: failure: This_address_no_longer_accepts_mail./
Apr 8 12:41:40 server qmail: 1270744900.862374 status: local 0/10 remote 0/20
Apr 8 12:41:40 server qmail-queue-handlers[2319]: Handlers Filter before-queue for qmail started ...
Apr 8 12:41:40 server qmail-queue-handlers[2319]: from=
Apr 8 12:41:40 server qmail-queue-handlers[2319]: to=anonymous@mydomain.com
Apr 8 12:41:40 server qmail-queue-handlers[2319]: hook_dir = '/var/qmail//handlers/before-queue'
Apr 8 12:41:40 server qmail-queue-handlers[2319]: recipient[3] = 'anonymous@mydomain.com'
Apr 8 12:41:40 server qmail-queue-handlers[2319]: handlers dir = '/var/qmail//handlers/before-queue/recipient/anonymous@mydomain.com'
Apr 8 12:41:40 server qmail-queue-handlers[2319]: starter: submitter[2320] exited normally
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top