serialmail not queuing mail for domain
"Alhagie Puye" <[email protected]> Tue, 25 Mar 2003 01:49:54 -0700
| Newsgroups | gmane.mail.serialmail |
|---|---|
| Message-ID | <[email protected]> |
Hey all, I have set up qmail for a customer of mine to act as a relay mail server for Internet mail. They have an Exchange in place that has been handling both internal and internet mail for the past year or so. Everything had been working fine. Now, I want the qmail to handling internet mail for both security reasons and also plan on installing a virus scanning software on the qmail box. Btw, this box is running FreeBSD 4.7 with the latest cvs updates. The domain name for the qmail box is also the domain name that I want to queue mail for. I have read the instructions that come in /usr/local/share/doc/serialmail/AUTOTURN and set up serialmail from those steps. However, I'm getting this following error message: <snip> Hi. This is the qmail-send program at freebsd.domain.name. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. < | dot-forward .forward ./Maildir/@freebsd.domain.name>: Sorry, no mailbox here by that name. (#5.1.1) </snip> Here is the ps output from the server: <snip> freebsd# ps aux USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 2558 0.0 0.1 432 248 p0 R+ 1:40AM 0:00.00 ps aux root 0 0.0 0.0 0 0 ?? DLs Sun06AM 0:00.00 (swapper) root 1 0.0 0.0 504 184 ?? SLs Sun06AM 0:16.97 /sbin/init -- root 2 0.0 0.0 0 0 ?? DL Sun06AM 0:00.32 (pagedaemon) root 3 0.0 0.0 0 0 ?? DL Sun06AM 0:00.00 (vmdaemon) root 4 0.0 0.0 0 0 ?? DL Sun06AM 0:01.47 (bufdaemon) root 5 0.0 0.0 0 0 ?? DL Sun06AM 0:01.42 (vnlru) root 6 0.0 0.0 0 0 ?? DL Sun06AM 1:47.43 (syncer) root 7 0.0 0.1 716 464 con Is+ Sun06AM 0:00.14 sh /etc/rc autoboot root 21 0.0 0.0 212 96 ?? Is Sun06AM 0:00.00 adjkerntz -i root 65 0.0 0.1 944 660 ?? Ss Sun01PM 0:01.07 /usr/sbin/syslogd -s root 72 0.0 0.1 1052 688 ?? Is Sun01PM 0:00.00 /usr/sbin/inetd -wW root 74 0.0 0.2 996 720 ?? Is Sun01PM 0:00.88 /usr/sbin/cron root 76 0.0 0.4 2320 1796 ?? Is Sun01PM 0:03.02 /usr/sbin/sshd root 112 0.0 0.1 632 448 con I Sun01PM 0:00.01 /bin/sh /command/svscanboot root 113 0.0 0.1 716 464 con I+ Sun01PM 0:00.00 sh /etc/rc autoboot qmails 114 0.0 0.1 944 556 con I+ Sun01PM 0:00.58 qmail-send root 115 0.0 0.1 892 472 con I+ Sun01PM 0:00.05 qmail-lspawn | dot-forward .forward ./Maildir/ qmailr 116 0.0 0.1 892 528 con I+ Sun01PM 0:00.05 qmail-rspawn qmailq 117 0.0 0.1 880 432 con I+ Sun01PM 0:00.04 qmail-clean root 119 0.0 0.1 912 472 con S Sun01PM 0:10.61 svscan /service root 120 0.0 0.1 860 280 con I Sun01PM 0:00.01 readproctitle service errors: ...................................... root 122 0.0 0.1 872 404 con I Sun01PM 0:00.02 supervise dnscache root 124 0.0 0.1 872 404 con I Sun01PM 0:00.02 supervise log root 125 0.0 0.1 872 404 con S Sun01PM 4:01.86 supervise qmail-send root 126 0.0 0.1 872 404 con I Sun01PM 0:00.03 supervise log root 127 0.0 0.1 872 404 con I Sun01PM 0:00.02 supervise qmail-smtpd root 128 0.0 0.1 872 404 con I Sun01PM 0:00.02 supervise log qmaill 129 0.0 0.1 892 432 con S Sun01PM 0:30.44 /usr/local/bin/multilog t s2500000 /var/log/qmail/qmail-send qmaill 131 0.0 0.1 880 376 con S Sun01PM 0:00.02 /usr/local/bin/multilog t s2500000 /var/log/qmail/qmail-smtpd qmaild 132 0.0 0.1 916 584 con S Sun01PM 0:00.03 /usr/local/bin/tcpserver -H -R -v -p -x /etc/tcp.smtp.cdb -u 82 -g 8 test1 140 0.0 0.4 2196 1728 con S Sun01PM 0:11.32 /usr/local/bin/dnscache gdnslog 142 0.0 0.1 892 432 con S Sun01PM 0:10.24 multilog t ./main qmailr 238 0.0 0.1 916 568 con I+ 1:30AM 0:00.01 qmail-remote bc1.rexrecommends.net [email protected] root 1175 0.0 0.4 2448 2024 ?? S 1:34AM 0:00.17 sshd: apuye@ttyp0 (sshd) apuye 1200 0.0 0.2 1056 908 p0 Is 1:34AM 0:00.03 -bash (bash) root 1205 0.0 0.2 1376 992 p0 S 1:34AM 0:00.08 _su (csh) qmaild 2547 0.0 0.1 628 440 con S 1:40AM 0:00.00 sh -c \n /var/qmail/bin/qmail-smtpd\n cd /var/qmail/au qmaild 2548 0.0 0.1 884 452 con S 1:40AM 0:00.01 /var/qmail/bin/qmail-smtpd qmailq 2553 0.0 0.1 872 416 con S 1:40AM 0:00.01 bin/qmail-queue qmails 2554 0.0 0.0 0 0 con Z 1:40AM 0:00.00 (qmail-send) freebsd# </snip> /var/qmail/supervise/qmail-stmpd/run looks like: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` exec /usr/local/bin/softlimit -m 2000000 \ /usr/local/bin/tcpserver -H -R -v -p -x /etc/tcp.smtp.cdb \ -u $QMAILDUID -g $NOFILESGID 0 smtp sh -c ' /var/qmail/bin/qmail-smtpd cd /var/qmail/autoturn exec setlock -nx $TCPREMOTEIP/seriallock \ maildirsmtp $TCPREMOTEIP autoturn-$TCPREMOTEIP- $TCPREMOTEIP AutoTURN ' 2>&1 And /var/qmail/rc looks like: #!/bin/sh # Using splogger to send the log through syslog. # Using qmail-local to deliver messages to ~/Mailbox by default. exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ' | dot-forward .forward ./Maildir/ ' #qmail-start ./Maildir splogger qmail Hopefully, I have provided enough information. Anyway help is grately appreciated. I have looked around the Internet but I'm not having much luck finding help. Thanks in advance. Alhagie. Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie) _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus