Hi, I have the following system (among others) in locals:
smtp.spl.harvard.edu According to the docs, then, mail to [EMAIL PROTECTED] should work, right? It should go to the local USER. Our users are "ldaponly" and in the LDAP directory I enter alternateMailAddress-es for several locals, which works fine (so if I added [EMAIL PROTECTED] to every user, it would work). But I can't do it for every local, we have over 600. I'm almost certainly missing something important, so if anyone has ideas please share. For security reasons I can't show my entire qmail-showctl, sorry! I've attached an edited version. Ted
qmail home directory: /var/qmail. user-ext delimiter: -. paternalism (in decimal): 2. silent concurrency limit: 500. subdirectory split: 23. user ids: 33021, 33022, 33023, 0, 33024, 33025, 33026, 33027. group ids: 21, 22. me: My name is mail.bwh.harvard.edu ldapserver: My ldap server is EDITED badmailfrom: [EMAIL PROTECTED] not accepted in MAIL FROM. @gacompanies.com not accepted in MAIL FROM. [EMAIL PROTECTED] not accepted in MAIL FROM. @swreg.org not accepted in MAIL FROM. @computeradmin.org not accepted in MAIL FROM. @rarsoft.be not accepted in MAIL FROM. badmailfrom-unknown: (Default.) Any MAIL FROM from hosts without PTR is allowed. badrcptto: (Default.) Any RCPT TO is allowed. bouncefrom: (Default.) Bounce user name is MAILER-DAEMON. bouncehost: (Default.) Bounce host name is mail.bwh.harvard.edu. bouncemaxbytes: (Default.) Bounce data limit is 0 bytes. concurrencylocal: (Default.) Local concurrency is 10. concurrencyremote: (Default.) Remote concurrency is 20. custombouncetext: (Default.) No custombouncetext. databytes: (Default.) SMTP DATA limit is 0 bytes. defaultdomain: (Default.) Default domain name is mail.bwh.harvard.edu. defaulthost: (Default.) Default host name is mail.bwh.harvard.edu. dirmaker: (Default.) Program to create homedirs not defined. doublebouncehost: (Default.) 2B recipient host: mail.bwh.harvard.edu. doublebounceto: (Default.) 2B recipient user: postmaster. envnoathost: (Default.) Presumed domain name is mail.bwh.harvard.edu. goodmailaddr: (Default.) No good mail addresses. helohost: (Default.) SMTP client HELO host name is mail.bwh.harvard.edu. idhost: (Default.) Message-ID host name is mail.bwh.harvard.edu. localiphost: (Default.) Local IP address becomes mail.bwh.harvard.edu. locals: Messages for bwh.harvard.edu are delivered locally. Messages for BWH.HARVARD.EDU are delivered locally. Messages for mail.bwh.harvard.edu are delivered locally. Messages for maildrop.bwh.harvard.edu are delivered locally. Messages for mailread.bwh.harvard.edu are delivered locally. Messages for smtp.bwh.harvard.edu are delivered locally. Messages for smtp.spl.harvard.edu are delivered locally. [REST EDITED] me: My name is mail.bwh.harvard.edu. outgoingip: (Default.) Bind qmail-remote to 0.0.0.0. pbscachesize: (Default.) PBS cachesize is 1048576 bytes. pbsenv: (Default.) No environment variables will be passed. pbsip: (Default.) Bind PBS daemon to 0.0.0.0. pbsport: (Default.) PBS deamon listens on port 2821. pbssecret: (Default.) PBS shared secret is undefined! Uh-oh. pbsservers: (Default.) No PBS servers. pbstimeout: (Default.) PBS entries will be valid for 600 seconds. percenthack: (Default.) The percent hack is not allowed. plusdomain: (Default.) Plus domain name is mail.bwh.harvard.edu. qmqpcip: (Default.) Bind qmail-qmqpc to 0.0.0.0. qmqpservers: (Default.) No QMQP servers. queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds. quotawarning: (Default.) No quotawarning. rbllist: RBL to check: sbl.spamhaus.org addheader any See http://www.spamhaus.org/SBL. RBL to check: relays.ordb.org addheader any See http://www.ordb.org/faq/. RBL to check: list.dsbl.org addheader any See http://dsbl.org/main. RBL to check: bl.spamcop.net addheader any See http://spamcop.net/. RBL to check: relays.ordb.org addheader any See http://ordb.org. rcpthosts: SMTP clients may send messages to recipients at bwh.harvard.edu. SMTP clients may send messages to recipients at BWH.HARVARD.EDU. SMTP clients may send messages to recipients at mail.bwh.harvard.edu. SMTP clients may send messages to recipients at lists.bwh.harvard.edu. SMTP clients may send messages to recipients at maildrop.bwh.harvard.edu. SMTP clients may send messages to recipients at smtp.bwh.harvard.edu. SMTP clients may send messages to recipients at smtp.spl.harvard.edu. [REST EDITED] morercpthosts: (Default.) No effect. morercpthosts.cdb: (Default.) No effect. smtpgreeting: (Default.) SMTP greeting: 220 mail.bwh.harvard.edu. smtproutes: (Default.) No artificial SMTP routes. timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds. timeoutremote: (Default.) SMTP client data timeout is 1200 seconds. timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds. virtualdomains: Virtual domain: lists.bwh.harvard.edu:mailman Now the qmail-ldap specific files: ldapbasedn: LDAP basedn: dc=bwh.harvard,dc=edu. ldapserver: EDITED ldaplogin: (Default.) LDAP login: NULL. ldappassword: (Default.) LDAP password: NULL. ldaptimeout: (Default.) LDAP server timeout is 30 seconds. ldapuid: (Default.) Default UID is not defined. ldapgid: (Default.) Default GID is not defined. ldapobjectclass: (Default.) The objectclass to limit ldap filter is not defined. ldapmessagestore: Prefix for non absolute paths is /var/qmail/maildirs. ldapdefaultdotmode: (Default.) Default dot mode for ldap users is ldaponly. defaultquotasize: (Default.) Mailbox size quota is 0 bytes (0 is unlimited). defaultquotacount: (Default.) Mailbox count quota is 0 messages (0 is unlimited). ldaplocaldelivery: Local passwd lookup is 0 (1 = on, 0 = off). ldaprebind: (Default.) Ldap rebinding is 0 (1 = on, 0 = off). ldapcluster: (Default.) Clustering is 0 (1 = on, 0 = off). ldapclusterhosts: (Default.) Messages for me are not redirected. defaultdelivery: I have no idea what this file does. cert.pem: I have no idea what this file does. qmail-smtpd.rules: I have no idea what this file does. qmail-qmqpd.rules: I have no idea what this file does. qmail-pop3d.rules: I have no idea what this file does. qmail-imapd.rules: I have no idea what this file does. Makefile: I have no idea what this file does. locals.cdb: I have no idea what this file does. rcpthosts.cdb: I have no idea what this file does. qmail-smtpd.cdb: I have no idea what this file does. qmail-qmqpd.cdb: I have no idea what this file does. qmail-pop3d.cdb: I have no idea what this file does. qmail-imapd.cdb: I have no idea what this file does. rewrite: I have no idea what this file does. make-local-host-names: I have no idea what this file does. signatures: I have no idea what this file does. smtp.pem: I have no idea what this file does. cert.pem.bak: I have no idea what this file does.
