|
I have a qmail server on the outside of my network that I
want to use as a relay for my domain. I want to grab all the email for my
domain and forward it to the REAL email server on the INSDIE of my network.
There are NO users or any information what-so-ever to do with the users located
on this qmail server. I am having trouble getting qmail-ldap
to actually perform the LDAP lookup. Here’s an example of me telneting
in an injecting a test email. It SAYS it did recipient verify, but obviously
there is no user ‘o;aishdfkj;ahsdfj;h’. 2006-01-19 14:49:18.990988500 qmail-smtpd
2243: connection from 127.0.0.1 (localhost) to
brandonrha.mb.ca 2006-01-19 14:49:18.990995500 qmail-smtpd
2243: enabled options: max msg size: 10485760 sanitycheck returnmxcheck blockrelayprobe sendercheck rcptcheck ldapsoftok rejectexecutables
smtp550disconnect 2006-01-19 14:50:17.628406500 qmail-smtpd
2243: mail from: [EMAIL PROTECTED] 2006-01-19 14:50:25.846982500 qmail-smtpd
2243: rcpt to: o;aishdfkj;ahsdfj;[EMAIL PROTECTED] 2006-01-19 14:50:25.846987500 qmail-smtpd
2243: recipient verify, recipient not in goodmailaddr 2006-01-19 14:50:28.382104500 qmail-smtpd
2243: go ahead 2006-01-19 14:50:43.466992500 qmail-smtpd
2243: message queued: 1137703843 qp
2345 size 42 bytes 2006-01-19 14:50:50.873511500 qmail-smtpd
2243: unrecognized command: 2006-01-19 14:50:53.006002500 qmail-smtpd
2243: quit, closing connection 2006-01-19 14:50:53.006156500 tcpserver:
end 2243 status 0 I have SENDERCHECK and RCPTCHECK set. I also have LDAPSOFOK
set due to having NO users or virtual users located on the system. Here is an example of the results of qmail-ldaplookup… /usr/local/src/qmail-1.03/qmail-ldaplookup -d 256 -m
[EMAIL PROTECTED] -D "CN=HIDDEN,OU=Generic
Accounts,OU=All Users,DC=brandonrha,DC=mb,DC=ca" -w NOPE Searching ldap for: (|([EMAIL PROTECTED])([EMAIL PROTECTED])) under dn: DC=brandonrha,DC=mb,DC=ca Found 1 entry: dn:
CN=Corbey\, Clayton,OU=Users,OU=All
Users,DC=brandonrha,DC=mb,DC=ca ------------------------------------------------------- objectClass: top objectClass: person objectClass: organizationalPerson objectClass: user mail:
[EMAIL PROTECTED] mail:
[EMAIL PROTECTED] userAccountControl: 512 accountExpires: active homeMTA:
CN=Microsoft MTA,CN=BRHA-EXCH1-2K,CN=Servers,CN=BRHA,CN=Administrative
Groups,CN=Manitoba Regional Health Authorities,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=brandonrha,DC=mb,DC=ca forward only
delivery via alias user alias user: alias alias user uid: 502 alias user gid: 502 alias user home:
/var/qmail/alias alias user aliasempty: |echo "Unable to deliver mail: account
incorrectly configured. (#5.3.5.UHOH)"; mail: [EMAIL PROTECTED] How can I configure qmail-ldap to do
more than bypass the check for the domain located in ‘rcpthosts’?
I want the check performed, then the email forwaded
as in the ‘smtproutes’ file. Clayton Corbey |
- User lookups are being skipped b/c all are remote internal... Corbey, Clayton
- Re: User lookups are being skipped b/c all are remote... Brian T Glenn
- RE: User lookups are being skipped b/c all are remote... Corbey, Clayton
- Re: User lookups are being skipped b/c all are re... Claudio Jeker
- RE: User lookups are being skipped b/c all are remote... Corbey, Clayton
- Re: User lookups are being skipped b/c all are re... Brian T Glenn
