Mail related issues
Andrew Mathews
andrew_mathews
Mon May 17 11:50:47 PDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Swapana Ghosh wrote:
| Hi
|
| i am facing one problem recently...My server is
| cobalt-raq4r. we have created the users through the
| cobalt GUI and *sendmail* is running as MTA . Now in
| case of the mails. The problem is as follows:
|
| - When one user is sending mail from any address
| to one of
| our domain the messages are showing in the
| /var/log/maillog as follows:
| ______________________________________________________
| Aug 8 09:21:11 server sendmail[1712]:
| h78GLBP01712: from=<maleman at ixpres.com>,
| size=752, class=0, nrcpts=1,
| msgid=<001a01c35dc9$64b32ea0$a000a8c0 at meowmix>, pro
| to=ESMTP, daemon=MTA, relay=artemis.ixpres.com
| [216.240.160.204]
|
| Aug 8 09:21:12 server sendmail[1713]: h78GLBP01712:
| to=<user at www.domain.org>,
| delay=00:00:01, xdelay=00:00:01, mailer=local,
| pri=30266, dsn=2.0.0, stat=Sent
Since you see it processing through syslog as such, before any header
rewrite, then that's how the user is sending it. They need to send it to
user at domain.com rather than user at www.domain.com. The from= in syslog is
shown only for sender records.
~ _____________________________________________________
|
| When i am checking the mail, the mail is showing in my
| mailbox as follows:
| ________________________________________
| Date: Fri, 8 Aug 2003 09:23:25 -0700
| From: Michael A <maleman at ixpres.com>
| To: user at www.domain.org
| Subject: Contact Information
| ________________________________________
|
| I don't want that the "To" will be assigned as
| [user at www.domain.org]
You can use the virtusertable and genericstable functions of sendmail to
readdress the messages if needed. See:
http://www.sendmail.org/virtual-hosting.html
Make sure your DNS records are correct first, as any errors will make
the rest of your efforts irrelevant.
| It is not happening for all the users - somtimes i am
| seeing that though the maillog
| is showing <user at www.domain.org> but the mail is
| coming in my inbox as
Did you rebuild your sendmail.cf with FEATURE(always_add_domain)?
This will always add a domain in conjunction with the MASQUERADE_AS
flag. Could be you defined one but not the other. What's in your
/etc/mail/local-host-names?
|
| [user at domain.org]. For few cases , i am seeing this
| type of behavior....
Please post a syslog record with the matching message header, as well as
the ruleset 93 sendmail.cf when you are able.
| If anybody can point me out why it is behaving this
| type of - it will be really
| helpful...
|
| Thanks in advance.
| -Swapna
|
- --
Andrew Mathews
- ---------------------------------------------------------------------
~ 7:36pm up 26 days, 23:21, 11 users, load average: 5.08, 5.08, 4.95
- ---------------------------------------------------------------------
A prohibitionist is the sort of man one wouldn't care to drink with
- -- even if he drank.
-- H.L. Mencken
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org
iD8DBQE/NFUfidHQ0m/kEssRAkrZAJ48qomhSJEM4DCXroQQU3KdRmfmrgCcDx7I
Qt7bhOVjmNDbTdR4rzzTbsw=
=9UXQ
-----END PGP SIGNATURE-----
More information about the Linux-users
mailing list