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
[-- Attachment #1 --] On Mo 24 Jun (09:32:06) Mattias Björk (thrawn@linux.nu) wrote: Hoi, > I have an internal domain server serving as a cache and domain server for the internal network. > And the domain that I use only work on in my LAN. So im woundering if there are any ways of config > qmail to no deliver mail from thrawn.birch.se because that is my internal domain.I does not exist > 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=thrawn@linux.nu in my .muttrc to deliver from that mail. Because > if I you do not put that line, it tryies to deliver from thrawn@thrawn.birch.se and that do not work > 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 > and freebsd MTA don't like that. Put the following into your .muttrc: set sendmail="/var/qmail/bin/qmail-inject -fthrawn@linux.nu This will rewrite your Return-Path to thrawn@linux.nu. /mh -- Martin Hasenbein -- mh@bsd.net -- http://bsd.net UNIX, a way of life. FreeBSD, my choice of living. [-- Attachment #2 --] -----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020624110011.A19048>
