This is what I got from the tee command that you sent me:
From: ssm...@ncsgraphics.com
To: sar...@rvtechsolutions.com
Reply-To: itd...@redred.com
Subject: test email
Date: Thu, 31 Mar 2005 16:44:49 -0600
Mime-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format=flowed
Content-Transfer-Encoding: 7bit
test email
It shows that the correct To: address is being sent but somehow the
rvtechsolutions.com domain is being substituted with email2.redred.com
(the hostname of the server). In the compose message window of
Sqwebmail, after I sent the message above, I got this error:
/home/ssmith/dead.letter... Saved message in /home/ssmith/dead.letter
In the maillog, it states that sar...@email2.redred.com is an unknown
user. Why would it show sar...@email2.redred.com instead of
sar...@rvtechsolutions.com. My virtusertable file has the following line
corresponding to the above email address.
@rvtechsolutions.com sarahv
When I send mail through Outlook Express or Netscape it goes through
just fine. But when I send through Sqwebmail I get the above results.
I'm lost.
Sean
Sam Varshavchik wrote:
RedRed!com IT Department writes:
Then maybe someone can point me in the right direction because this is
very strange. I opened the sendit.sh file and ran the same command that
is in there from the command line and it worked, but when I send a
message through sqwebmail it comes back as user unknown. Obviously there
is something different between running the command from the shell prompt
and sending the message through sqwebmail but how do I find out? Thanks
for your help.
Looking at the actual bounce message should be your first step,
because it will contain all the information you need to troubleshoot
this problem.
If you're getting a 'user unknown' right off the bat, when you submit
the message, instead of a bounce, then temporary substitute the
following command into sendit.sh:
tee /tmp/msg | /usr/sbin/sendmail $DSN -f "$1"
A copy of the message generated by sqwebmail, as it is, will now be
stored in /tmp/msg. You can use it to hunt for more clues.