| View previous topic :: View next topic |
| Author |
Message |
bretz
Joined: 18 Sep 2003 Posts: 3
|
Posted: Thu Sep 18, 2003 9:04 am Post subject: catch-all problem, recipient addres not allowed |
|
|
Hi Vorras,
I am trying to configure my QMAIL installation to acept all incoming email (catch-all email account).
When I send email to random_name@mydomain.com I receive a bounce message saying:
<<< 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
is this a Qmail configuration problem?
Thanks for you patience
Dan |
|
| Back to top |
|
 |
haris Site Admin
Joined: 22 Aug 2002 Posts: 40
|
Posted: Thu Sep 18, 2003 9:45 am Post subject: |
|
|
Dan,
Looks like you have included your domain in the rcpthosts file. This can be found in the qmail control directory typically under /var/qmail/control/
You will need to edit that file and add one line with you domain. Also check your locals file (same directory) which should also contain a line with your domain name.
After you have your domain name in both the rcpthosts and locals files, run the following command:
qmailctl reload
This will tell qmail-send to reread the locals file (not necessary if your domain name is already in the locals file).
Let me know if this helps.
Thanks,
Haris |
|
| Back to top |
|
 |
bretz
Joined: 18 Sep 2003 Posts: 3
|
Posted: Thu Sep 18, 2003 10:47 pm Post subject: |
|
|
I did this and email is not delivered. It bounces all email back even if I send it to root. How do I set it up so that all email is delivered to the Mailer?
Thanks!
Dan |
|
| Back to top |
|
 |
haris Site Admin
Joined: 22 Aug 2002 Posts: 40
|
Posted: Thu Sep 18, 2003 11:07 pm Post subject: |
|
|
Dan,
You will need to set up the following files in your alias directory. Do a cd ~alias and look for the following files:
.qmail-postmaster
.qmail-mailer-daemon
.qmail-default
The first two can be blank (you can make them point to another user if you want, see INSTALL.alias in you qmail source directory).
If they do not exist do:
touch .qmail-postmaster
chmod 644 .qmail-postmaster
touch .qmail-mailer-daemon
chmod 644 .qmail-mailer-daemon
The third file .qmail-default should contain one line with the following content:
| /path/to/vorras_mailer/dispatch.py $EXT@$HOST
Let me know if this helps.
Thanks
Haris |
|
| Back to top |
|
 |
bretz
Joined: 18 Sep 2003 Posts: 3
|
Posted: Fri Sep 19, 2003 2:04 am Post subject: |
|
|
Haris,
Emails are not bounced now but they seem to get lost somewhere. They are certainly not delivered to users' mailboxes. Might that be a problem with the dispatcher? |
|
| Back to top |
|
 |
haris Site Admin
Joined: 22 Aug 2002 Posts: 40
|
Posted: Fri Sep 19, 2003 2:36 am Post subject: |
|
|
Can you check the error in the qmail log file. You can send me the file if you like.
The log file could be located in /var/log/qmail/ or /var/log/.
Please also make sure the Python interpreter in the first line of the dispatcher points to the correct location on your system.
Thanks
Haris |
|
| Back to top |
|
 |
bretz
Joined: 18 Sep 2003 Posts: 3
|
Posted: Fri Sep 19, 2003 8:04 am Post subject: |
|
|
Ok yes the Python interpreter was pointing to the wrong path.
Muchas gracias!
Dan |
|
| Back to top |
|
 |
|