4 messages in net.sourceforge.lists.courier-usersRe: [courier-users] mysql, hosteddoma...
FromSent OnAttachments
Frederick KS HOApr 17, 2002 8:28 am 
Daniel HigginsApr 17, 2002 3:17 pm 
Lindsay HaisleyApr 17, 2002 3:38 pm 
Daniel HigginsApr 17, 2002 3:49 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] mysql, hosteddomains and a weird weird issueActions...
From:Lindsay Haisley (fmo@fmp.com)
Date:Apr 17, 2002 3:38:57 pm
List:net.sourceforge.lists.courier-users

Google is always a good source of information on stuff like this. Looking up the error message turns up a number of previous threads on courier-users. See Sam's answer to this at <http://www.ultraviolet.org/mail-archives/courier.2002/2153.html>.

Thus spake Daniel Higgins on Wed, Apr 17, 2002 at 05:11:52PM CDT

here i am once again, stumped by a problem

i just got mysql working, chained it with authpam (authpam first, authmysql second)

netc.net is listed in locals, and i can send mails to that domain whitout a problem (both mysql and system) nuvix-info.com is listed in hosteddomains once again no problem sending mail phytodata.qc.ca is listed in hosteddomains, and no matter what i try it bounces back with: <<< configuration error: mail loops back to myself (MX problem).

[root@netcom log]# testmxlookup phytodata.qc.ca Domain phytodata.qc.ca: Relay: netcom.netc.net, Priority: 10, Address: ::ffff:205.205.40.8 [ LOCAL ]

[root@netcom log]# testmxlookup nuvix-info.com Domain nuvix-info.com: Relay: netcom.netc.net, Priority: 10, Address: ::ffff:205.205.40.8 [ LOCAL ]

+-------+---------------+-------+-------------+-----+-----+----------------- -----------+---------+-----------+-------------+--------------+------------- ---+- | id | crypt | clear | name | uid | gid | home | maildir | quota | code_client | commentaires | domain_name | active | +-------+---------------+-------+-------------+-----+-----+----------------- -----------+---------+-----------+-------------+--------------+------------- ---+- | dummy | mHCZrxvMnPY4E | dummy | dummy dummy | 100 | 100 | /home/dummy%nuvix-info.com | | 10485760S | dummy | NULL | nuvix-info.com | 1 | | test | UjhsQAWhDE0UY| test | test test | 100 | 100 | /home/test%phytodata.qc.ca | | 10485760S | test | NULL | phytodata.qc.ca | 1 |

i also use a mysql_select_clause in authmysqlrc:

MYSQL_SELECT_CLAUSE select id,crypt,uid,gid,clear,home,maildir,quota,name from courier.passwd where ((id="$(local_part)" and domain_ name="$(domain)") or CONCAT(id, "%", domain_name)="$(local_part)") and active=1

all three domains are listed in esmtpacceptmailfor and i did makeacceptmailfor and makehosteddomains multiple times