Invalid From: Header

Bernhard Reiter bernhard at intevation.de
Tue Dec 7 17:31:31 CET 2004


Hi Hamish,


On Tuesday 07 December 2004 17:07, Hamish wrote:
> I have installed 20041201-full successfully on SuSE 9.1, LDAP address
> book working fine and we can send and receive mail - I have updated clam
> and sa-learned some spam and it works well!

Nice!

> We have one problem though, unfortunately outlook 2003 is staying (i am
> working on them, but at the moment "No Correspondance Will Be Entered
> Into (TM)") and here is where it gets interesting:
>
> I send to myself on my kolab account through OL2003, it is received fine,
> I reply to the mail and it is bounced:
> <mish at kolabdomain.com>: service unavailable. Command output: Invalid
> From: header.
> Mish [mailto:mish at kolabdomain.com] does not match envelope
> mish at kolabdomain.com

It probably is that you are trying the send emails with 
the following from line:
  From: Mish <mailto:mish at kolabdomain.com>

The "mailto:" part looks fishy, can you check your outlook
email account settings? Also check the From: lines if you can
so see what is actually send.

Background:
kolabfilter.php checks that envelop and from: lines are matching 
when the result comes from kolabdomain.com.

>
> Here are the postfix logs for the offending transaction: (i have changed
> addresses)
> Dec 07 16:01:58 post <info> postfix/smtpd[8408]: connect from
> itsuper.internal.network[192.168.31.58]
> Dec 07 16:01:58 post <info> postfix/smtpd[8408]: 347F34516:
> client=itsuper.internal.network[192.168.31.58]
> Dec 07 16:01:58 post <info> postfix/cleanup[8410]: 347F34516:
> message-id=<!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAHWTgGMX/sEWidQ5p
>+LP6t8KAAAAQAAAAPnVoDRFvzkGYrU4eCYqh/gEAAAAA at kolabdomain.com> Dec 07
> 16:01:58 post <info> postfix/qmgr[5707]: 347F34516:
> from=<mish at kolabdomain.com>, size=1153, nrcpt=1 (queue active)
> Dec 07 16:01:58 post <info> postfix/smtpd[8414]: connect from
> localhost[127.0.0.1]
> Dec 07 16:01:58 post <info> postfix/smtpd[8414]: A05C7451A:
> client=itsuper.internal.network[192.168.31.58]
> Dec 07 16:01:58 post <info> postfix/cleanup[8415]: A05C7451A:
> message-id=<!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAHWTgGMX/sEWidQ5p
>+LP6t8KAAAAQAAAAPnVoDRFvzkGYrU4eCYqh/gEAAAAA at kolabdomain.com> Dec 07
> 16:01:58 post <info> postfix/smtpd[8414]: disconnect from
> localhost[127.0.0.1]
> Dec 07 16:01:58 post <info> postfix/qmgr[5707]: A05C7451A:
> from=<mish at kolabdomain.com>, size=1611, nrcpt=1 (queue active)
> Dec 07 16:01:58 post <info> postfix/smtp[8411]: 347F34516:
> to=<mish at kolabdomain.com>, relay=127.0.0.1[127.0.0.1], delay=0,
> status=sent (250 2.6.0 Ok, id=05227-04, from MTA: 250 Ok: queued as
> A05C7451A)
> Dec 07 16:01:58 post <info> postfix/qmgr[5707]: 347F34516: removed
> Dec 07 16:01:58 post <info> postfix/pipe[8416]: A05C7451A:
> to=<mish at kolabdomain.com>, relay=kolabfilter, delay=0, status=bounced
> (service unavailable. Command output: Invalid From: header. Mish
> [mailto:mish at kolabdomain.com]  does not match envelope
> mish at kolabdomain.com )

You might see more in
/kolab/var/resmgr/resmgr.log

> Of course, with any other mail client it goes through fine, but outlook
> seems to know better. I think it is because of the "Name
> [mailto:name at domain]" bit, but no idea how to let this through.
>
> Does anyone have any ideas (bearing in mind that changing clients is not
> an option)?

We are still refining kolabfilter.php, but you can switch it off, if you do
not want the protection or want to allow broken client configurations.
Check
/kolab/etc/resmgr/resmgr.conf

Regards,
	Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2145 bytes
Desc: signature
URL: <http://lists.kolab.org/pipermail/users/attachments/20041207/17b15afc/attachment.p7s>


More information about the users mailing list