/var/spool/mqueue Editing Sendmail Headers questions
Hi I want to use mutt - but sendmail keeps adding headers like example below. Then I get nasty mails from my isp, No such Host and such. I could probably /var/spool/mqueueedit mail headers, edit out the bad refs in the headers, but am not sure what sendmail will do if I remove something that may confuse sendmails processing of the headers . See example - V4 T994800808 K0 N0 P34055 I3/69/343739 Fbdn $_root@localhost Sroot Aroot@basslake.org RPNFD:muse@seh.de H?P?Return-Path: <.g> H??Received: (from root@localhost) by basslake.org (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) id f6ALXRF01226 for muse@seh.de; Tue, 10 Jul 2001 17:33:28 -0400 H?F?From: root <root> H?x?Full-Name: root H??Date: Tue, 10 Jul 2001 17:33:27 -0400 H??To: muse@seh.de H??Subject: Re: What does this mean - asoundlib.h - warnings ?? H??Message-ID: <20010710173327.A573@xtalwind.net> H??Mail-Followup-To: basslake@xtalwind.net, muse@seh.de H??References: <01070914322200.00943@basslake> H??Mime-Version: 1.0 H??Content-Type: text/plain; charset=us-ascii H??Content-Disposition: inline H??User-Agent: Mutt/1.2.5i H??In-Reply-To: <01070914322200.00943@basslake> Basically - I think I need to edit out all references to 'root' and 'localhost' Then replace them with basslake@xtalwind.net so that the mail dosn't look like it came from their 'root' account. any thoughts or advice for this ? thanks John W Mislan
* basslake;
Hi I want to use mutt - but sendmail keeps adding headers like example below. Then I get nasty mails from my isp, No such Host and such. in your .muttrc set from=whatever@youwant.com
also login as a normal user to be on the safe side -- Togan Muftuoglu
Hi Togan! On Wed, 11 Jul 2001, Togan Muftuoglu wrote:
* basslake;
on 10 Jul, 2001 wrote: Hi I want to use mutt - but sendmail keeps adding headers like example below. Then I get nasty mails from my isp, No such Host and such. in your .muttrc set from=whatever@youwant.com
also login as a normal user to be on the safe side
-- Togan Muftuoglu
Well That is exactly what I have in muttrc from=basslake@xtalwind.net The problem comes from sendmail showing root , or other invalid users in my mail headers. Since I am writing this in Mutt, Read the full headers of this email, and you should see . Also, I agree about not using root, but there has been so much configuring necessary lately - I have suse70 - with quite a few updates that were required for me to do things that I need. Now I have all my [SLE] mails owned by root, and havn't had time to transfer everything to my user. But I am definately trying to break the root habit. cheers John W Mislan
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
* root
Well That is exactly what I have in muttrc
from=basslake@xtalwind.net
The problem comes from sendmail showing root , or other invalid users in my mail headers. Since I am writing this in Mutt, Read the full headers of this email, and you should see .
You should try:
my_hdr From: This Is My Name
Hi Mads! On Tue, 10 Jul 2001, Mads Martin Jørgensen wrote:
* root
[Jul 10. 2001 16:46]: Well That is exactly what I have in muttrc
from=basslake@xtalwind.net
The problem comes from sendmail showing root , or other invalid users in my mail headers. Since I am writing this in Mutt, Read the full headers of this email, and you should see .
You should try:
my_hdr From: This Is My Name
-- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogic, with just a little bit more effort." -- A. P. J.
I do have that set. Here is excerpt of that part of my .muttrc file.
#
# Extra headers that I would like added to all my outgoing mail messages.
# Attention: !!! No comments in the (un)my_hdr lines !!!
#
unmy_hdr *
# remove all extra headers first.
my_hdr From:
root wrote:
Hi Togan!
On Wed, 11 Jul 2001, Togan Muftuoglu wrote:
* basslake;
on 10 Jul, 2001 wrote: Hi I want to use mutt - but sendmail keeps adding headers like example below. Then I get nasty mails from my isp, No such Host and such. in your .muttrc set from=whatever@youwant.com
also login as a normal user to be on the safe side
-- Togan Muftuoglu
Well That is exactly what I have in muttrc
from=basslake@xtalwind.net
The problem comes from sendmail showing root , or other invalid users in my mail headers. Since I am writing this in Mutt, Read the full headers of this email, and you should see .
Also, I agree about not using root, but there has been so much configuring necessary lately - I have suse70 - with quite a few updates that were required for me to do things that I need. Now I have all my [SLE] mails owned by root, and havn't had time to transfer everything to my user. But I am definately trying to break the root habit.
cheers John W Mislan
Hi John, looking at the mail headers did me no good, I think they are replaced by the list server. Do you use the machanism of /etc/mail/userdb ? usertable and all the lot that I've got going, but usually mixe up hopelessly when I try to explain it? It will "replace" your sending addresses on sending mail. There is an article about "offline smtp" or so on the sdn that explains a bit more and better what I am reffereing to. Juergen -- =========================================== __ _ Juergen Braukmann juergen.braukmann@gmx.de| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ / ===========================================_\_v __/_/_//_/\_,_/ /_/\_\
Hi Juergen! Ahh Haa - Looks like I have gotten the jammy fixed - thanks Madds - and thanks for other replys. Madds brough to my attention my_hdr lines in .muttrc file - see my last post. I will be back later with a bit more detailed explaination eg. my sendmail, and mutt tweakery for this problem. I now have to get dental work done bummer ; - ` be back - about 4 hours !! John W Mislan On Wed, 11 Jul 2001, Juergen Braukmann wrote:
root wrote:
Hi Togan!
On Wed, 11 Jul 2001, Togan Muftuoglu wrote:
* basslake;
on 10 Jul, 2001 wrote: Hi I want to use mutt - but sendmail keeps adding headers like example below. Then I get nasty mails from my isp, No such Host and such. in your .muttrc set from=whatever@youwant.com
also login as a normal user to be on the safe side
-- Togan Muftuoglu
Well That is exactly what I have in muttrc
from=basslake@xtalwind.net
The problem comes from sendmail showing root , or other invalid users in my mail headers. Since I am writing this in Mutt, Read the full headers of this email, and you should see .
Also, I agree about not using root, but there has been so much configuring necessary lately - I have suse70 - with quite a few updates that were required for me to do things that I need. Now I have all my [SLE] mails owned by root, and havn't had time to transfer everything to my user. But I am definately trying to break the root habit.
cheers John W Mislan
Hi John,
looking at the mail headers did me no good, I think they are replaced by the list server. Do you use the machanism of /etc/mail/userdb ? usertable and all the lot that I've got going, but usually mixe up hopelessly when I try to explain it?
It will "replace" your sending addresses on sending mail. There is an article about "offline smtp" or so on the sdn that explains a bit more and better what I am reffereing to.
Juergen
-- =========================================== __ _ Juergen Braukmann juergen.braukmann@gmx.de| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ / ===========================================_\_v __/_/_//_/\_,_/ /_/\_\
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
Hi All! On Wed, 11 Jul 2001, John W Mislan wrote:
Hi Juergen!
Ahh Haa - Looks like I have gotten the jammy fixed - thanks Madds - and thanks for other replys.
Madds brough to my attention my_hdr lines in .muttrc file - see my last post.
I will be back later with a bit more detailed explaination eg. my sendmail, and mutt tweakery for this problem.
I now have to get dental work done bummer ; - ` be back - about 4 hours !!
John W Mislan
Sorry that I did not get back to this until today. I was able to use, (via - yast), the standard,'SuSE' sendmail options, and set what I needed. eg. /etc/rc.config.d/sendmail.rc.config SENDMAIL_SMARTHOST="smtp.xtalwind.net" SENDMAIL_LOCALHOST="" sendmail already knows my machine localhost SENDMAIL_RELAY="" I don't need this SENDMAIL_ARGS="-bd -om" run in mail-queue mode - I need to do sendmail -q to send the mails saved in the sendmail queue. - I can change this later if I want. SENDMAIL_EXPENSIVE="yes" don't try to dial out for all emails. SENDMAIL_NOCANONIFY="yes" dont lookup all dns for mail domains. SENDMAIL_GENERICS_DOMAIN="xtalwind.net" make my isp known to the /etc/mail/genericstable and allow editing. SENDMAIL_NODNS="" I did not resort to this on my setup. SENDMAIL_DIALUP="yes" # This also sets some entries to avoid dialups. You can read the annotations for all these, and other settings, in /etc/sendmail.rc - Now in Mutt, I have to edit my From: root@xtalwind.net to make it From: John W Mislan even though I have the 'my_hdr option set in .muttrc That is now working , and does not get changed to root@ or johnwm@ by sendmail. I do have, root@localhost basslake@xtalwind.net set in /etc/genericstable which seems to have help to keep sendmail from altering my mutt output headers incorrectly. Also , I have no special aliases set in /etc/aliases . And also, no other, settings in, /etc/mail are set to anything different than the default that was set by yast. This was for MY system setup, simple - 'end-user/workstation - with dial-out-to ISP. Your mileage may vary. Cheers John W Mislan
On Wed, 11 Jul 2001, Juergen Braukmann wrote:
root wrote:
Hi Togan!
On Wed, 11 Jul 2001, Togan Muftuoglu wrote:
* basslake;
on 10 Jul, 2001 wrote: Hi I want to use mutt - but sendmail keeps adding headers like example below. Then I get nasty mails from my isp, No such Host and such. in your .muttrc set from=whatever@youwant.com
also login as a normal user to be on the safe side
-- Togan Muftuoglu
Well That is exactly what I have in muttrc
from=basslake@xtalwind.net
The problem comes from sendmail showing root , or other invalid users in my mail headers. Since I am writing this in Mutt, Read the full headers of this email, and you should see .
Also, I agree about not using root, but there has been so much configuring necessary lately - I have suse70 - with quite a few updates that were required for me to do things that I need. Now I have all my [SLE] mails owned by root, and havn't had time to transfer everything to my user. But I am definately trying to break the root habit.
cheers John W Mislan
Hi John,
looking at the mail headers did me no good, I think they are replaced by the list server. Do you use the machanism of /etc/mail/userdb ? usertable and all the lot that I've got going, but usually mixe up hopelessly when I try to explain it?
It will "replace" your sending addresses on sending mail. There is an article about "offline smtp" or so on the sdn that explains a bit more and better what I am reffereing to.
Juergen
-- =========================================== __ _ Juergen Braukmann juergen.braukmann@gmx.de| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ / ===========================================_\_v __/_/_//_/\_,_/ /_/\_\
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
basslake wrote:
Hi I want to use mutt - but sendmail keeps adding headers like example below. Then I get nasty mails from my isp, No such Host and such.
I could probably /var/spool/mqueueedit mail headers, edit out the bad refs in the headers, but am not sure what sendmail will do if I remove something that may confuse sendmails processing of the headers .
See example - Aroot@basslake.org H?x?Full-Name: root
Basically - I think I need to edit out all references to 'root' and 'localhost'
Then replace them with basslake@xtalwind.net
Try adding: root@localhost basslake@xtalwind.net to /etc/mail/genericstable, run SuSEconfig, then rcsendmail restart. Better though to not run your machine as root for normal use, and put instead your username@localhost basslake@xtalwind.net in the genericstable file to "translate" the local address into the correct address. HTH -- Joe & Sesil Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: www.mydestiny.net/~joe_morris "All I have seen teaches me to trust the Creator for all I have not seen." --Ralph Waldo Emerson
On Tue, Jul 10, 2001 at 06:07:01PM -0400 or thereabouts, basslake wrote:
Hi I want to use mutt - but sendmail keeps adding headers like example below. Then I get nasty mails from my isp, No such Host and such.
also it is a good idea when using Mutt to set your .muttrc file to add this: set envelope_from=yes -- Best regards, Gary Today's thought: It is easier to get forgiveness than permission.
participants (8)
-
basslake
-
Gary
-
Joe & Sesil Morris
-
John W Mislan
-
Juergen Braukmann
-
Mads Martin Jørgensen
-
root
-
Togan Muftuoglu