> -----Original Message-----
> From: Ingmar Hupp [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, January 13, 2000 3:43 PM
> To: [EMAIL PROTECTED]
> Subject: Strange malfuntion when using ifconfig alias on FreeBSD
>
> Hi,
>
> I'm experiencing strange problems with qmail on my FreeBSD box when trying
> to use IP aliases. qmail sends broken envelope-froms while aliasing is
> active.
>
> this is the state of the only NIC in my system:
>
> de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> inet 194.145.150.99 netmask 0xfffffff0 broadcast 194.145.150.111
>
> Just a single adress on a single interface. qmail works fine. Then i add
> an
> IP alias:
>
> de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> inet 194.145.150.99 netmask 0xfffffff0 broadcast 194.145.150.111
> inet 194.145.150.97 netmask 0xffffffff broadcast 194.145.150.97
>
Hmmm.... this looks correct. Do you have IP routing enabled on the
machine ? Is the netmask correct ?
> After this, qmail breaks the envelope-from, which looks like this
> (tcpdump'ed > = received; < = sent):
>
> >220 lily.zomby.net ESMTP[CR]
> <HELO mail.zomby.net[CR]
> >250 lily.zomby.net[CR]
> ...everything ok so far. But now:
> <MAIL
> FROM:<[\00][\00][\00][\00][\00][\00][\00][\00][\00][\00][\00][\00][\00][\0
> 0][\00][\00][\00][\00][\00][\00][\00]>[CR]
> >250 ok[CR]
> ...normal SMTP blabla continues
>
> I think i've also seen strange control chars instead of this null-string
> sometimes. It works perfect again if I remove the IP alias. It doesn't
> matter wheter qmail is running or not while adding/removing the alias. So
> how can I fix this? I didn't find anything about this in the mailing list
> archive, but I can't believe I'm the only person using qmail on FreeBSD
> with
> IP aliases. Or is FreeBSD broken here? I'd appreciate your help.
>
> qmail version is 1.03 (FreeBSD ports one)
> FreeBSD taurus.zomby.net 3.4-RC FreeBSD 3.4-RC #1
>
>
I have the exact same versions running on my system (not from ports)
(machine with 2 IP's).. Heck ! this machine has 2 NIC Cards too !
What type of NIC do you have ? Are you running on TCP Server or
Inetd ?