
p.pisati at oltrelinux
Sep 4, 2009, 8:58 AM
Post #1 of 9
(2253 views)
Permalink
|
Dear qmailers, i'm trying to setup a simple virtual domain (as outlined in http://cr.yp.to/qmail/faq/incominghost.html#virtual), but for some reason, it doesn't work: root [at] famp:/var/qmail# cat control/virtualdomains progetti.pear.it:progetti root [at] famp:/var/qmail# cat control/rcpthosts famp5.pear.lan progetti.pear.it root [at] famp:/var/qmail# svc -t /var/service/qmail-send/ root [at] famp:/var/qmail# svc -t /var/service/qmail-smtpd/ root [at] famp:/var/qmail# svstat /var/service/* /var/service/qmail-send: up (pid 58190) 7 seconds /var/service/qmail-smtpd: up (pid 58202) 3 seconds root [at] famp:/var/qmail# grep progetti /etc/passwd progetti:*:1004:1004:User &:/usr/local/www/vhosts/clockingit/httpdocs:/sbin/nologin root [at] famp:/var/qmail# ls -la /usr/local/www/vhosts/clockingit/httpdocs/.qmail* -rw-r--r-- 1 root www 13 Sep 4 15:45 /usr/local/www/vhosts/clockingit/httpdocs/.qmail -rw-r--r-- 1 root www 13 Sep 4 17:32 /usr/local/www/vhosts/clockingit/httpdocs/.qmail-default -rw-r--r-- 1 root www 13 Sep 4 17:37 /usr/local/www/vhosts/clockingit/httpdocs/.qmail-infa root [at] famp:/var/qmail# cat /usr/local/www/vhosts/clockingit/httpdocs/.qmail-default /tmp/mboxami root [at] famp:/var/qmail# cat /usr/local/www/vhosts/clockingit/httpdocs/.qmail-infa /tmp/mboxami root [at] famp:/var/qmail# ls -la /tmp/mboxami -rwxrwxrwx 1 root wheel 0 Sep 4 17:48 /tmp/mboxami root [at] famp:/var/qmail# ./bin/qmail-showctl qmail home directory: /var/qmail. user-ext delimiter: -. paternalism (in decimal): 2. silent concurrency limit: 120. subdirectory split: 23. user ids: 81, 82, 83, 0, 84, 85, 86, 87. group ids: 81, 82. badmailfrom: (Default.) Any MAIL FROM is allowed. bouncefrom: (Default.) Bounce user name is MAILER-DAEMON. bouncehost: (Default.) Bounce host name is famp5.pear.lan. concurrencylocal: (Default.) Local concurrency is 10. concurrencyremote: (Default.) Remote concurrency is 20. databytes: (Default.) SMTP DATA limit is 0 bytes. defaultdomain: Default domain name is pear.lan. defaulthost: (Default.) Default host name is famp5.pear.lan. doublebouncehost: (Default.) 2B recipient host: famp5.pear.lan. doublebounceto: (Default.) 2B recipient user: postmaster. envnoathost: (Default.) Presumed domain name is famp5.pear.lan. helohost: (Default.) SMTP client HELO host name is famp5.pear.lan. idhost: (Default.) Message-ID host name is famp5.pear.lan. localiphost: (Default.) Local IP address becomes famp5.pear.lan. locals: Messages for famp5.pear.lan are delivered locally. me: My name is famp5.pear.lan. percenthack: (Default.) The percent hack is not allowed. plusdomain: Plus domain name is pear.lan. qmqpservers: (Default.) No QMQP servers. queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds. rcpthosts: SMTP clients may send messages to recipients at famp5.pear.lan. SMTP clients may send messages to recipients at progetti.pear.it. morercpthosts: (Default.) No effect. morercpthosts.cdb: (Default.) No effect. smtpgreeting: (Default.) SMTP greeting: 220 famp5.pear.lan. smtproutes: SMTP route: :172.16.XXX.XXX 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: progetti.pear.it:progetti from my box: piso [at] ferre:~$ telnet 172.162.162.2 25 Trying 172.162.162.2... Connected to 172.162.162.2. Escape character is '^]'. 220 famp5.pear.lan ESMTP helo localhost 250 famp5.pear.lan mail from: piso [at] pear 250 ok rcpt to: infa [at] progetti 250 ok data 354 go ahead ggg . 250 ok 1252079469 qp 58331 while qmail-send log file says: @400000004aa137773497573c info msg 53110449: bytes 190 from <piso [at] pear> qp 58331 uid 82 @400000004aa1377734e10e54 starting delivery 3: msg 53110449 to local progetti-infa [at] progetti @400000004aa1377734e37b6c status: local 1/10 remote 0/20 @400000004aa1377735bf6c1c delivery 3: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ @400000004aa1377735cdcbcc status: local 0/10 remote 0/20 @400000004aa13777367c631c bounce msg 53110449 qp 58334 @400000004aa137773680c434 end msg 53110449 any idea?
|