From owner-freebsd-questions Mon Jun 24 2: 1:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from free.bsd.net (free.bsd.net [213.221.117.2]) by hub.freebsd.org (Postfix) with SMTP id 1741537B404 for ; Mon, 24 Jun 2002 02:00:16 -0700 (PDT) Received: (qmail 20536 invoked by uid 100); 24 Jun 2002 09:00:11 -0000 X-BSD-Qmail-VirusScan: scanned by Sophos Anti-Virus v3.58 FILE NOT INFECTED: [1024909211.20530-0.free.bsd.net] FILE NOT INFECTED: [1024909211.20530-1.free.bsd.net] Mail-Followup-To: freebsd-questions@freebsd.org, thrawn@linux.nu Date: Mon, 24 Jun 2002 11:00:11 +0200 From: Martin Hasenbein To: =?iso-8859-1?Q?Mattias_Bj=F6rk?= Cc: freebsd-questions@freebsd.org Subject: Re: qmail and domain problems Message-ID: <20020624110011.A19048@free.bsd.net> Reply-To: Martin Hasenbein References: <3d16caf652e5b7.13532844@not right> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3d16caf652e5b7.13532844@not right>; from thrawn@linux.nu on Mo , Jun 24, 2002 at 09:32:06am +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mo 24 Jun (09:32:06) Mattias Bj=F6rk (thrawn@linux.nu) wrote: Hoi, > I have an internal domain server serving as a cache and domain server for= the internal network.=20 > And the domain that I use only work on in my LAN. So im woundering if the= re are any ways of config=20 > qmail to no deliver mail from thrawn.birch.se because that is my internal= domain.I does not exist=20 > on the outside of my lan. Put linux.nu (or whatever the existing domains is) into /var/qmail/control/= me This is the name, that qmail uses in SMTP sessions, e.g. HELO ... > Im using mutt as my MUA,and set from=3Dthrawn@linux.nu in my .muttrc to d= eliver from that mail. Because=20 > if I you do not put that line, it tryies to deliver from thrawn@thrawn.bi= rch.se and that do not work=20 > at all. But this do not help if i want to send an email to this list or = freebsd-stable@freebsd.org. > Bacause my MTA is trying to send my mail from thrawn@thrawn.birch.se with= the email of thrawn@linux.nu=20 > and freebsd MTA don't like that. Put the following into your .muttrc: set sendmail=3D"/var/qmail/bin/qmail-inject -fthrawn@linux.nu This will rewrite your Return-Path to thrawn@linux.nu. /mh --=20 Martin Hasenbein -- mh@bsd.net -- http://bsd.net UNIX, a way of life. FreeBSD, my choice of living. --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: Weitere Infos: siehe http://www.gnupg.org iD8DBQE9Ft+bqLL0BvqAa6ERAkdWAJ43ZSuR2xYwjQC8TkFSQW/8EYYNoQCgglCQ /mIeushTjtrKkhWTUwdUbPo= =rMbx -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message