Hello,
I have a problem with my postfix+mysql+maildrop (probably caused by
maildrop) Today i found an undelivered message in mailq from root to
bin! Just i tested what's happend when i try to send a message manually
from root to bin and maildrop refuse to deliver it.
[root@dinu biiiiin]# mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
03EC820A69 316 Mon Nov 18 17:37:25 ro...@test.ro
(temporary failure. Command output: /usr/local/maildrop/bin/maildrop:
Invalid user specified. )
bi...@test.ro
-- 0 Kbytes in 1 Request.
[root@dinu biiiiin]#
And in my syslog appear:
Nov 18 17:37:45 dinu postfix/cleanup[5838]: 03EC820A69:
message-id=<2002...@ns1.test.ro>
Nov 18 17:37:46 dinu postfix/qmgr[5666]: 03EC820A69:
from=<ro...@test.ro>, size=316, nrcpt=1 (queue active)
Nov 18 17:37:46 dinu maildrop[5845]: Invalid user specified.
Nov 18 17:37:47 dinu postfix/pipe[5844]: 03EC820A69: to=<bi...@test.ro>,
relay=maildrop, delay=21, status=deferred (temporary failure. Command
output: /usr/local/maildrop/bin/maildrop: Invalid user specified. )
Nov 18 17:37:48 dinu postfix/smtpd[5837]: disconnect from dinu[127.0.0.1]
The problem is this message remain in mailq and is not returned to the
sender. If i use transport=virtual, all messages like this are returned
to sender informing that is not a system account wtih this email address
on this server.
This is a problem, because someone can write a wrong email address and
NEVER will be informed that the mail can't be delivered succesfully!
Can somebody tell me how can i instruct postfix (or maildrop) to return
an email to sender informing that : no such mailbox here with that name,
and also not to put this email in mailq?
Another question: how can i erase forever undelivered messages from mailq?
Any help will be appreciated!
Regards,
Alex