From: Sheldon J. - A. <sh...@lo...> - 2005-06-06 18:35:22
|
I'm having trouble sending mail to my new helios-qmail installation. I'm running FreeBSD 5.4-STABLE on a DUAL XEON 3.2G server with the following packages installed. bash v-2.05b.007 bincimap v-1.2.12 daemontools v-0.76_10 libxml2 v-2.6.19 mysql-client v-4.0.24 mysql-server v-4.0.24 perl v-5.8.6 qmHandle v-1.2.0 qmail-qfilter v-2.0 ucspi-ssl v-0.68 ucspi-tcp v0.88 libSPF v1.0.0-p3 PHP 5.0.4 (cli) (built: Jun 4 2005 20:41:12) Everything is working great except I get the below error on every email I send to domain.net OR vdomain.net. <snip from logs> status: local 0/10 remote 1/20 delivery 1: failure: Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_= isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/ status: local 0/10 remote 0/20 bounce msg 94268 qp 90527 end msg 94268 new msg 94270 <end snip> [sqlserver config] mail_root /var/qmail/mail default_user qmailsql default_group nofiles rcpthosts_from_db yes localpop server.domain.net domain_separators @% check_host yes host_postmaster pos...@se... autohomedir /var/qmail/bin/sqlcreatehomedir connectionstring user=3Dqmail password=3Dsecret dbname=3Dqmail popconnectionstring user=3Dqmailadmin password=3Dsecret dbname=3Dqmail connection_timeout 5 query_timeout 5 dbtable users dotqmailtable dotqmails antispoof_table antispoof antivir_table antivir antispam_table antispam notify_table notify forwards_table forwards login_field login virt_host_field host passwd_field password home_field home uid_field uid gid_field gid quota_field quota enabled_field enabled startdate_field startdate stopdate_field stopdate use_dotqmail_field use_dotqmail lastlogin_field lastlogin lastlogin_ip_field lastlogin_ip dotqmail_field dotqmail extension_field extension settings_field settings mode_field mode jabber_id_field jabber_id jabber_pwd_field jabber_pwd jabber_to_field jabber_to [SQL] server # mysql -u qmail -psecret qmail -e "select login, host, password, u= id, gid, home from users;" +------------+---------------------+-----------+------+------+------------= ------------------------------------+ | login | host | password | uid | gid | home | +------------+---------------------+-----------+------+------+------------= ------------------------------------+ | alias | server.domain.net | NULL | 1006 | 1002 | /var/qmail/= mail/server.domain.net | | postmaster | server.domain.net | testpass | 1006 | 1002 | /var/qmail/= mail/server.domain.net/postmaster | | alias | vdomain.net | NULL | 1006 | 1002 | /var/qmail/= mail/vdomain.net | | sheldon | vdomain.net | test12345 | 1006 | 1002 | /var/qmail/= mail/vdomain.net/sheldon | +------------+---------------------+-----------+------+------+------------= ------------------------------------+ server # mysql -u qmail -psecret qmail -e "select * FROM dotqmails;" +-------+--------------+------------+--------------------------------+ | login | host | extension | dotqmail | +-------+--------------+------------+--------------------------------+ | alias | vdomain.net | postmaster | pos...@se... | +-------+--------------+------------+--------------------------------+ [CDB] 127.:allow,RBLSMTPD=3D"",RELAYCLIENT=3D"",NOSPP=3D"",QMAILQUEUE=3D"bin/qmai= l-queue" :allow,SPF=3D"1",MAXBOUNCERCPTS=3D"1",HSCANNER=3D"" [PERMS] drwxr-xr-x 2 root qmail 512 Jun 6 12:16 . drwxr-xr-x 15 root qmail 512 Jun 6 11:44 .. -rw-r--r-- 1 root wheel 7 Jun 6 11:44 bouncemaxbytes -rw-r--r-- 1 root wheel 48 Jun 6 11:44 defaultdelivery -rw-r--r-- 1 root wheel 839 Jun 6 11:44 imapconfig -rw-r--r-- 1 root wheel 2388 Jun 6 11:44 imapconfig-binc -rw-r--r-- 1 root wheel 20 Jun 6 11:44 me -rw-r--r-- 1 root wheel 891 Jun 6 11:44 pop3config lrwxr-xr-x 1 root qmail 28 Jun 6 11:44 qmailconfig -> /var/qmai= l/control/sqlserver -rw-r--r-- 1 root wheel 286 Jun 6 11:44 queue -rw-r--r-- 1 root wheel 1625 Jun 6 11:44 scanner -rw-r--r-- 1 root wheel 732 Jun 6 11:44 smtp-tcprules -rw-r--r-- 1 root qmail 2197 Jun 6 12:16 smtp-tcprules.cdb -rw-r--r-- 1 root wheel 1512 Jun 6 11:45 smtpconfig -rw-r--r-- 1 root wheel 3245 Jun 6 11:44 smtpplugins -r--r----- 1 qmails nofiles 7199 Jun 6 11:44 sqlserver [PASSWD] alias:*:1002:1002:User &:/var/qmail/alias:/nonexistent qmaild:*:1003:1002:User &:/var/qmail:/nonexistent qmaill:*:1004:1002:User &:/var/qmail:/nonexistent qmailp:*:1005:1002:User &:/var/qmail:/nonexistent qmailsql:*:1006:1002:User &:/var/qmail/mail:/nonexistent qmailq:*:1007:1003:User &:/var/qmail:/nonexistent qmailr:*:1008:1003:User &:/var/qmail:/nonexistent qmails:*:1009:1003:User &:/var/qmail:/nonexistent [GROUP] nofiles:*:1002: qmail:*:1003: Things I've tried. (*) install | reinstalled | read docs | googled | etc.. (*) hacked c code to print out every domain in the database when qmail-send is startes up. To verify that it is reading the domains from the database. it prints domain.net and vdomain.net --=20 --Sheldon ------------------------------------------------------ Sheldon Jones UNIX is sexy! who | grep -i blonde | date; cd ~; unzip; touch; strip; finger; mount; \ gasp; yes; uptime; umount; sleep ------------------------------------------------------ |