10 messages in net.sourceforge.lists.courier-sqwebmailRe: [sqwebmail] sqwebmail sendmail co...
FromSent OnAttachments
RedRed!com IT DepartmentMar 29, 2005 1:42 pm 
Sam VarshavchikMar 29, 2005 3:49 pm 
RedRed!com IT DepartmentMar 31, 2005 9:48 am 
Sam VarshavchikMar 31, 2005 1:02 pm 
RedRed!com IT DepartmentMar 31, 2005 2:55 pm 
Sam VarshavchikMar 31, 2005 4:09 pm 
RedRed!com IT DepartmentApr 1, 2005 6:40 am 
Sam VarshavchikApr 2, 2005 6:48 am 
RedRed!com IT DepartmentApr 4, 2005 8:36 am 
Sam VarshavchikApr 4, 2005 9:00 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [sqwebmail] sqwebmail sendmail configActions...
From:RedRed!com IT Department (itd@redred.com)
Date:Mar 31, 2005 2:55:05 pm
List:net.sourceforge.lists.courier-sqwebmail

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.