Antony wrote:
> On Thu, 17 Jul 2003 at 08:39:44, ketil V. <ketil_v@c2i.net> writes
>
>> Antony wrote:
>>
>>> On Tue, 15 Jul 2003 at 22:50:16, ketil V. <ketil_v@c2i.net> writes
>>>
>>>> Sorry about the crossposting with alt.linux.redhat, but I do not
>>>> know if the problem is related to my configuration of RedHat or
>>>> my configuration of Postfix.
>>>>
>>>> The problem is that Postfix do not recieve any mail. I am able
>>>> to login and get messages, and also send messages, but unable to
>>>> recieve...
>>>>
>>>> I have put a copy of my configuration file at
>>>> http://ketil.homeunix.net:8092/postfix/main.cf,
>>>> hoping it can help.
>>>>
>>>> I am using RedHat 9, but neither the RedHat manuals or what I
>>>> have seen of Postfix manuals cover the problem.
>>>> I might have missed something, please let me know if you got a
>>>> link to the answer.
>>>>
>>>> Below is a copy of the message I get when trying to send something
>>>> to a test account.
>>>>
>>>> ********
>>>>
>>>> Reporting-MTA: dns; fep02.swip.net
>>>> Arrival-Date: Tue, 15 Jul 2003 23:25:32 +0200
>>>> Received-From-MTA: dns; c2i.net (193.217.190.197)
>>>>
>>>> Final-Recipient: RFC822; <test@ketil.homeunix.net>
>>>> Action: failed
>>>> Status: 5.1.1
>>>> Remote-MTA: dns; ketil.homeunix.net (193.217.190.197)
>>>> Diagnostic-Code: smtp; 550 <test@ketil.homeunix.net>: User unknown
>>>>
>>> Hi,
>>> Postfix seems happy with mail addressed to root@ and postmaster@. Is
>>> "test" a valid user on the system and/or have you added them to
>>> /etc/postfix/aliases (then ran "newaliases" and "postfix reload")?
>>
>>
>> root have not recieved any mail, "test" and "ketil" is valid users but
>> is not recieving any either.
>> I have added "test" and "ketil" to /etc/postfix/aliases, ran
>> "newaliases" and "postfix reload", the difference is that the mail get
>> "lost" instead of bounced.
>>
>> If it can help: I have copied all files in the /etc/postfix -
>> directory to http://ketil.homeunix.net:8092/postfix/ and made a
>> "dynamic" directory listing of the /var/spool/mail - directory at
>> http://ketil.homeunix.net:8092/postfix/mail/ so you can send emails
>> and see if they get spooled (the content size of the files increases).
>>
>> I call it "dynamic" because the listing get updated when your browser
>> reloads it.
>>
> Using telnet, sent a test to ketil@ at around 21:45, your server did
> accept it (like you said, but it's getting lost). Anything useful in
> /var/log/maillog around this time?
/var/log/maillog revealed that the default settings of
mailbox_size_limit and message_size_limit was insane. After
fixing these settings, I recieved mail from you :-)
It seemes as if the mailbox had to get some content (your
testmail) to make postfix start complaining about the
configuration error. This is probably an error in the default
settings made by whoever made the RPM package: If you look at
http://ketil.homeunix.net:8092/postfix/main.cf.default you will
see the default settings. The fix is in the end of main.cf
I put the maillog on the web as well, but removed your email
address (I hate spambots, but get scanned by them regularily)
Thanks for the help, I'll report the bug to redhat as soon as
I've finished the next line.
Ketil V