Hi Matthias,

First: sorry for a mistake in my last mail, the 'egrep' command should
have been executed on '/var/qmail/users/assign', but somthing went wrong
with copy/paste.

On Wed, 16 Jul 2003 21:09:57 +0200 Matthias F. Brandstetter wrote:

>> Jep, both domains have their home dirs under /home/vpopmail.
>> I added these two domains with ~vpopmail/bin/vadddomain. It should
>> add all necessary entries into all necessary config files,
>> shouldn't it?
> Update: I tried to delete my orig. domain (mx2.ebox.at) from vpopmails 
> DB, now I get the following error when sending a mail to 
> =====================================================================
>    ----- The following addresses had permanent fatal errors -----
>     (reason: 553 sorry, that domain isn't in my list of allowed 
> rcpthosts (#5.7.1))
> =====================================================================
> But: I *have* it in my rcpthosts file:
> =====================================================================
> [EMAIL PROTECTED]:/var/qmail/control# cat rcpthosts
> mailtest.reinprecht.at
> =====================================================================

I first thought I might have one or two ideas on what goes wrong, but
thinking about them I ended up with: "this is nonsense".

So it's debugging time. You have set up / done something _REALLY_
wicked. I don't know what yet, but it must be something from "the outer
limit" :-)
Therefore your have to do _real_ debugging right know:

- figure qmail-smtpd PID (i.e.: figure the PID of 'tcpserver' or 'inetd'
  process that is bound to port 25)
- attach 'strace' (I'm assuming you're running Linux; if you're on *BSD
  use 'truss') to this process:

  strace -tf -o /tmp/qmail-smtpd.log -s 4096 -p $PID_of_QMAIL_SMTPD

- send a mail to '[EMAIL PROTECTED]'
- after the mail has bounces kill the 'strace'.
- post the file '/tmp/qmail-smtpd.log', compress before attaching it to
  a mail, send via PM if passwords might occur in the file (e.g. due to
  SMTP-AUTH used).
  Of course you can have a look at the file yourself and if your think
  you figured the cause of your problem you can drop a note about this
  in the message with attached file and present your theory, for us
  being able to confirm or decline. But _PLEASE_: don't alter the
  content of the file. Don't strip something out, don't anonymize.

> Do I have to insert this domain into another config file as well, so 
> that qmail accepts it?

'rcpthosts' should be enough for the first "acceptance", the error
message you presented indicates the domain ain't found there.
If it were and only "delivery" would fail the error you get back would
be a different one.

Reply via email to