Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

(qmail) finding messages to/from invalid user

(qmail) finding messages to/from invalid user

(qmail) finding messages to/from invalid user

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close