Hi guys...
The last time I sent emails, I was struggling with these problem
- could send simple mails (mails without attachments) to my own account
- could not send to my own address emails with attachment as big as
51 kB,for example
- BUT could send the same email with attachment to another address
A couple hours ago I found out that a lot of emails were stuck in the queue
[EMAIL PROTECTED] qmail]# ./bin/qmail-qstat
messages in queue: 34
messages in queue but not yet preprocessed: 0
and
[EMAIL PROTECTED] qmail]# ./bin/qmail-qread
17 Apr 2007 04:08:26 GMT #1635783 2327650 <[EMAIL PROTECTED]>
local [EMAIL PROTECTED]
19 Apr 2007 23:00:01 GMT #1635094 646 <[EMAIL PROTECTED]>
local [EMAIL PROTECTED]
22 Apr 2007 21:02:03 GMT #1635095 1072 <[EMAIL PROTECTED]>
local [EMAIL PROTECTED]
22 Apr 2007 00:38:47 GMT #1635230 3877 <> local [EMAIL PROTECTED]
...etc
Then I ran some commands:
echo [EMAIL PROTECTED] > /var/qmail/alias/.qmail-root
echo [EMAIL PROTECTED] > /var/qmail/alias/.qmail-mailer-daemon
echo [EMAIL PROTECTED] > /var/qmail/alias/.qmail-postmaster
/var/qmail/bin/qmail-tcpok
svc -a /service/qmail ## qmail-send
Seconds later all the emails in the queue came into the
[EMAIL PROTECTED] maildir and now I can send email with attachment(s) to
my address. :)
I can understand why the Mailer-daemon mails go into
[EMAIL PROTECTED], but what I can not understand is
(first) why those emails for root were sent through the qmail-ldap server (I
mean, why did they sit in the queue)? Even the reports about Cron Daemon
were sent to postmaster. I know that I can prevent that happen by erase
postmaster's mail address in the ~alias/.qmail-root file, but I don't want
them sitting in the queue either. I have defined the value for
~control/queuelifetime, but it doesn't help. How can I resolve that?
(second) what did the conjunction between all those emails with my mail(
[EMAIL PROTECTED]) quota since they weren't meant for me? By the time
postmaster received them all, my quota problem was dissapeared as well.
Confusing, heh?
Any help/explanation would be appreciated. Thank you very very much.
Best regards,
sato