Date: Sat, 13 Dec 2003 12:35:07 +0100 From: frankie-freebsd@kyblik.pieskovisko.sk To: questions@freebsd.org Subject: Re: qmail scanner from localhost Message-ID: <20031213113507.GG1768@kyblik.pieskovisko.sk> In-Reply-To: <20031213120345.V62647@gisp.dk> References: <20031213120345.V62647@gisp.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
--6BvahUXLYAruDZOj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 13, 2003 at 12:06:51PM +0100, Michael Sig Birkmose wrote: > Hi, >=20 > I just recently installed qmail + qmail scaner + clamav + fprot and it all > works fine. >=20 > However when I attempt to send myself a test email from the machine > running the services, using pine, this mail does not pass through qmail > scanner? >=20 > Here is my /etc/tcp.smtp: > bash-2.05b# cat /etc/tcp.smtp > 127.0.0.1:allow,RELAYCLIENT=3D"",QMAILQUEUE=3D"/var/qmail/bin/qmail-scann= er-queue.pl" > 192.168.1.:allow,RELAYCLIENT=3D"",QMAILQUEUE=3D"/var/qmail/bin/qmail-scan= ner-queue.pl" > 62.242.118.225:allow,RELAYCLIENT=3D"",QMAILQUEUE=3D"/var/qmail/bin/qmail-= scanner-queue.pl" > :allow,QMAILQUEUE=3D"/var/qmail/bin/qmail-scanner-queue.pl" >=20 > When I send to myself using pine i get this header in the email: >=20 > Received: from localhost (sendmail-bs@127.0.0.1) >=20 > When I get from outside I get: >=20 > Received: from email@address.dk by gisp.dk by uid 82 with > qmail-scanner-1.20 > (clamuko: 0.54. f-prot: 4.2.0/3.14.7. spamassassin: 2.60. > Clear:RC:1(127.0.0.1):. > Processed in 0.010936 secs); 13 Dec 2003 10:57:27 -0000 Pine should send mail using /usr/sbin/sendmail (which should be a link to /var/qmail/bin/sendmail), which calls /var/qmail/bin/qmail-inject, which calls /var/qmail/bin/qmail-queue, which explains the absence of qmail-scanner headers, but not the ``sendmail-bs@127.0.0.1'' part. Does the message have any qmail headers? If not, you are probably using /usr/sbin/sendmail from real sendmail (not the qmail one), which passes the mail to sendmail submission process running on the port 587/tcp. The message is then delivered by sendmail. If this is the case, you should disable sendmail by chmod 0 /usr/libexec/sendmail/sendmail and create the symlink ln -sf /var/qmail/bin/sendmail /usr/sbin/sendmail =2E Or maybe I'm wrong. (I certainly am wrong if you are not using mbox delivery to the same place, where sendmail would deliver the mail). m&f =09 --=20 What do you care what other people think? --6BvahUXLYAruDZOj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/2vlr4PY2BaN84VwRAkhBAJwLwPSxWtegjUQ3BPpbfKdQxe5vaQCgg5eF F2amsWaS/vS5LJerSTbt700= =PFjF -----END PGP SIGNATURE----- --6BvahUXLYAruDZOj--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031213113507.GG1768>
