Re: Strange mail behaviour
On Mon, 24 Jun 2002, andrej hocevar wrote: > sendmail -f "[EMAIL PROTECTED]" -F foo root gives: Hi, you are using sendmail with the -f option and root is allowed to send mail with another sender name without any X-Authority warnings ... the -F option specifies the full name ... and if you are wondering about the To: undisclosed-recipients (it is set because of "action to take if there are no recipients in the message O NoRecipientAction=add-to-undisclosed" in your sendmail.cf file) you should also wonder about a missing Subject line, so try simply this: sendmail -f [EMAIL PROTECTED] -F foo root To: root Subject: test test . Oliver -- ... don't touch the bang-bang fruit -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Strange mail behaviour
On Mon, Jun 24, 2002 at 10:29:33PM -0100, andrej hocevar wrote: | Lately I've been playing a little with sending mail to myself | (great fun, that!:)). I'm using postfix and it works perfectly. | I've found out that if I send mail using "sendmail -f foo -F bar | root" to rewrite headers there's an effect I didn't plan: Here a | sample header. | | sendmail -f "[EMAIL PROTECTED]" -F foo root gives: | | >From [EMAIL PROTECTED] Mon Jun 24 22:27:43 2002 | Date: Mon, 24 Jun 2002 22:27:42 -0100 (GMT+1) | From: [EMAIL PROTECTED] (foo) | To: undisclosed-recipients:; | | | What's that doing there? It is a way of indicating "Bcc". I guess postfix adds that if you don't have a To: header already. (it's finishing the message for you so that it is a legal messgae) (FYI, the Outhouse does it wrong, and will always get rejected by exim's RFC(2)822 syntax checks if you enable them) -D -- The teaching of the wise is a fountain of life, turning a man from the snares of death. Proverbs 13:14 http://dman.ddts.net/~dman/ pgpdSPecKImMu.pgp Description: PGP signature
Re: Strange mail behaviour
> man sendmail and check the -F option: > > -F full_name > Set the sender full name. This is used only with > messages that have no From: message header. Oops... That make sno sense! It says From:, not To: Sorry! Anyway, I can reproduce it here. Not sure why it happens. J. -- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Strange mail behaviour
> sendmail -f "[EMAIL PROTECTED]" -F foo root gives: > > >From [EMAIL PROTECTED] Mon Jun 24 22:27:43 2002 > Date: Mon, 24 Jun 2002 22:27:42 -0100 (GMT+1) > From: [EMAIL PROTECTED] (foo) > To: undisclosed-recipients:; > > > What's that doing there? man sendmail and check the -F option: -F full_name Set the sender full name. This is used only with messages that have no From: message header. J. -- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]