On Mon, Oct 04, 2004 at 09:44:47AM +0530, Nikhil Joshi wrote:
> Hi!
> I am trying to send a mail from a script like
>
> cat /tmp/mymail.txt | sendmail
I believe you should be doing a:
cat /tmp/mymail.txt | sendmail -t
> where sendmail is the sendmail interface provided by Postfix.
> mymail.txt contains a valid From: field which is like [EMAIL PROTECTED]
> However when I see the mailq, the sender field says:
> "[EMAIL PROTECTED]"
>
> I tried the sendmail -bs switch but it gives following message:
>
> 220 localhost.localdomain ESMTP Postfix
> 221 Error: I can break rules, too. Goodbye.
>
> How do I override the [EMAIL PROTECTED] ?
Look at the $mydomain, $myhost and $myorigin in main.cf
Its been quiet a while since I've seen a Postfix main.cf, but, I
remember the options to be somthing like the above.
HTH,
Nosfertu
--
KDE == (see GayDE) Kool Desktop Environment - Make X Window look like winbloze...
What a fucking great idea! The developers of this have a mental sickness, please
avoid this product -> see GNOME.
-- Jakes on #Debian
===================
|| Signify v1.07 ||
===================
* http://www.debian.org/ *
--
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers