[BlueOnyx:03501] Re: misconfigured vsite DNS- 220 banner and mail from: issue

Brian M toomanyhandles at gmail.com
Sun Feb 7 08:11:48 -05 2010


On Fri, Feb 5, 2010 at 10:22 PM, Brian M <toomanyhandles at gmail.com> wrote:

>
> I find:
> [root at www ~]# cat /etc/hosts
> # /etc/hosts
> # Auto-generated file.  Keep your customizations at the bottom of this
> file.
> 127.0.0.1        localhost localhost.localdomain
> 192.168.0.84        www.example.org www-eth0.example.org www-eth0
> #END of auto-generated code.  Customize beneath this line.
> ### Begin - Nuonce hosts Fix
> 192.168.0.85    onyx.example.org
> ###  End  - Nuonce hosts Fix
>
> And I'm not sure what this will do/ or if it is the cause for the from:
> address on each vsite being incorrect, and including user at host.domain.org.
>
> I will test a bit; what do others have currently re the #fix section?  I
> can see this affecting the 220 banner but I'm still not sure about the from:
> address including the extra hostname.
>
>
So, here must have been something wedged somewhere that was incorrect.  I
can indeed control the 220 banner from the hosts file, so that was
fine/easy- thanks!

Something still was wedged someplace though as the from: format of all the
users was from:user at host.domain.com <from%3Auser at host.domain.com> which was
causing troubles.  I looked at the sendmail.cf files, grepped all over for
content, but it never resolved unti l went back into the config for that
site and resaved each page- and now the
from:user at domain.com<from%3Auser at domain.com>is in place ofr outgoing
email.

So the first site I created- all works well.  The seond and subsequent sites
though (I created a completely new one to test, as I had seen issues on both
BQ and SB when working with sites that had been deleted and recreated a few
times) Squirrelmail can't send their outbound emails, and this seems to be
another site config/ apache issue:

Server replied: 65 Can't execute command '/usr/sbin/sendmail -i -t
-fusername at localhost'.
shows in squirrelmail, and the reason is apache has forced that localhost.
For an attempt or testuser to send an email from the 2nd vsite, where
www.domain.org is the host.domain of the box itself (and not that of the
vsite)(is that the way it should be showing?):

Feb 7 07:52:11 www sendmail[29903]: o17CqBpl029903: Authentication-Warning:
www.domain.org: apache set sender to testuser at localhost using -f
Feb 7 07:52:11 www sendmail[29903]: o17CqBpl029903: from=testuser at localhost,
size=531, class=0, nrcpts=1, msgid=<
50640.192.168.0.1.1265547131.squirrel at host.domain.org>,
relay=apache at localhost
Feb 7 07:52:11 www sendmail[29903]: STARTTLS=client, relay=[127.0.0.1],
version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Feb 7 07:52:11 www sendmail[29906]: STARTTLS=server, relay=localhost
[127.0.0.1], version=TLSv1/SSLv3, verify=NO, cipher=DHE-RSA-AES256-SHA,
bits=256/256
Feb 7 07:52:11 www sendmail[29903]: o17CqBpl029903: to=auser at comcast.net,
ctladdr=testuser at localhost (507/503), delay=00:00:00, xdelay=00:00:00,
mailer=relay, pri=30531, relay=[127.0.0.1] [127.0.0.1], dsn=5.6.0, stat=Data
format error
Feb 7 07:52:11 www sendmail[29903]: o17CqBpl029903: o17CqBpm029903: DSN:
Data format error
Feb 7 07:52:11 www sendmail[29906]: o17CqBFb029906: ... No such user here
Feb 7 07:52:11 www sendmail[29903]: o17CqBpm029903: to=testuser at localhost,
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31555, relay=[127.0.0.1],
dsn=5.3.0, stat=User unknown

Any thoughts as to where to look?  All sites are on the same virtual IP.

Thank you-

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20100207/878733fb/attachment.html>


More information about the Blueonyx mailing list