Ask a Question related to Linux / Unix Administration, Design and Development.
-
Chris Moore #1
sendmail subject problem but with a twist
I have to use sendmail to send a file via command line. I use sendmail
because the user account that sends it must be a registered user on
the company's email system. My test box has different usernames
(ptv1100 is the username on the test box and I must enter using that
ID) and company policy is that I use [email]joeblow@thiscompany.com[/email] to send
mail (ie spoof an address). Anything else is rejected by the mail
server. Adding joeblow to the test server is not an option either. I
can send the file in question by doing the following:
/usr/sbin/sendmail [email]-fjoeblow@thiscompany.com[/email]
[email]anotherperson@thiscompany.com[/email] < filename.xml
but I can't get a subject entered on the line. Anybody else solve
this?
Chris
Chris Moore Guest
-
Subject: Problem Extending ObjectDataSource and ObjectDataSourceVi
I have an extended version for both those classes. MyObjectDataSource overrides the GetView(string) method to return the custum view. The problem... -
Subject: Smart Navigation problem with mulitline TextBox
I have a problem using a mulitline TextBox in .NET 1.1 with SmartNavigation. The text wrapping doesn't work correctly. If I click into the textarea... -
Problem with Email address Hyper subject-
Hello In my website , I created an email address hyperlink- First thing it ask is the mailto in wich i place my email address. Than it ask for the... -
php <-> sendmail problem
In article <Xns93C38982CD719MrSaintgmxde@62.153.159.134>, MrSaint <MrSaint@gmx.de> wrote: Have you checked php.ini? -
rpm -i sendmail problem
Hello, I did a simple upgading of sendmail, but weirdly enough, it seems the pkg has not been replace successfully? # rpm -ivh... -
Barry Margolin #2
Re: sendmail subject problem but with a twist
In article <9e60fb9e.0406161449.4f1e316d@posting.google.com >,
[email]cmoore@linuxmail.org[/email] (Chris Moore) wrote:
Sendmail expects the message header to be included in the standard> I have to use sendmail to send a file via command line. I use sendmail
> because the user account that sends it must be a registered user on
> the company's email system. My test box has different usernames
> (ptv1100 is the username on the test box and I must enter using that
> ID) and company policy is that I use [email]joeblow@thiscompany.com[/email] to send
> mail (ie spoof an address). Anything else is rejected by the mail
> server. Adding joeblow to the test server is not an option either. I
> can send the file in question by doing the following:
> /usr/sbin/sendmail [email]-fjoeblow@thiscompany.com[/email]
> [email]anotherperson@thiscompany.com[/email] < filename.xml
>
> but I can't get a subject entered on the line. Anybody else solve
> this?
> Chris
input. if you want a subject line, you have to feed it:
cat - filename.xml <<EOS | sendmail -t
From: [email]joeblow@thiscompany.com[/email]
To: [email]anotherperson@thiscompany.com[/email]
Subject: This is the subject
EOS
--
Barry Margolin, [email]barmar@alum.mit.edu[/email]
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
Barry Margolin Guest



Reply With Quote

