Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2002 11:00:11 +0200
From:      Martin Hasenbein <mh-freebsd-questions@free.bsd.net>
To:        =?iso-8859-1?Q?Mattias_Bj=F6rk?= <thrawn@linux.nu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: qmail and domain problems
Message-ID:  <20020624110011.A19048@free.bsd.net>
In-Reply-To: <3d16caf652e5b7.13532844@not right>; from thrawn@linux.nu on Mo , Jun 24, 2002 at 09:32:06am %2B0200
References:  <3d16caf652e5b7.13532844@not right>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020624110011.A19048>