Koozali.org: home of the SME Server

Email Disclaimer problems

Offline axessit

  • *****
  • 213
  • +0/-0
Email Disclaimer problems
« on: March 23, 2010, 11:09:30 PM »
I'm trying to get the email disclaimer setup and not quite sure of the exact proceedure. Was trying to look up Bug tracker but that seemed to add more confusion. So for starters, lets start here to see if I'm right before openeing a bug.

SME Server 7.4 and just done yum --enablerepo=smeupdates-testing update qpsmtpd (worked no errors) did post-upgrade and reboot etc.

[root@mydomain ~]# config show smtpd
smtpd=service
    Authentication=disabled
    Instances=40
    InstancesPerIP=5
    MaximumDateOffset=0
    PatternsScan=disabled
    Proxy=enabled
    TCPPort=25
    TCPProxyPort=25
    VirusScan=disabled
    access=public
    disclaimer=enabled
    status=enabled
    tnef2mime=enabled

Have created a file /service/qpsmtpd/config/disclaimer and entered the text. Restarted email services, even restarted whole machine but it doesn't seem to be adding the footer.
 
Looking at the documentation on the wiki it says there are some other switches in the bug report, but that doesn't show me any switches that i can see.
 
Email is sending ok - I send it to one of my external accounts.
 
Just to put my mind at ease, does the disclaimer get put on emails sent via pop3 client to SME server, or is this just an imap/webmail thing ?
 
 
 

Offline axessit

  • *****
  • 213
  • +0/-0
Re: Email Disclaimer problems
« Reply #1 on: March 23, 2010, 11:24:45 PM »
OK, to answer one fo my own questions, it adds the footer if i create a message via webmail, but it's not doing it via my pop3 client. At this stage i've tried MS Outlook 2003 and MS Outlook Express clients.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Email Disclaimer problems
« Reply #2 on: March 24, 2010, 12:13:15 AM »
SME Server 7.4 and just done yum --enablerepo=smeupdates-testing update qpsmtpd (worked no errors) did

why did you upgrade qpsmtpd from smeupdates-testing?

Offline axessit

  • *****
  • 213
  • +0/-0
Re: Email Disclaimer problems
« Reply #3 on: March 24, 2010, 12:22:32 AM »
Just to get the latest - saw it in one of the bug posts.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Email Disclaimer problems
« Reply #4 on: March 24, 2010, 12:27:20 AM »
axessit

You MUST configure your email clients to send mail via the sme servers smtp server rather than external ISPs smtp servers.
I assume you have disabled the smtp proxy on sme, so you would be aware of this.

You have a potentially unstable qpsmtpd package installed now, that was not required, you should revert that change. The disclaimer functionality was included in sme 7.2 or greater releases.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline axessit

  • *****
  • 213
  • +0/-0
Re: Email Disclaimer problems
« Reply #5 on: March 24, 2010, 12:36:47 AM »
SME is the mail server, not the ISP. I am sending an email from my local domain, via my M$ pop3 client, which uses the SME as it's server. I send it to my hotmail account/ISP domain account. I then check them via their webmail.

smtp proxy is enabled, not disabled. It wasn't working before the yum update either. But I will revert the change and see. As I said, works if I log into SME webmail and send to my ISP domain account.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Email Disclaimer problems
« Reply #6 on: March 24, 2010, 12:54:02 AM »
axessit

The disclaimer is added using webmail, which sends via the sme smtp server, so functionally the disclaimer is working, whatever version qpsmtpd package you have installed.

Note that test versions are potentially unstable and should only be installed on test servers or where you are prepared to take a risk and understand the consequences.

Please show us the email client settings for pop and smtp servers, do not obfuscate them.

Remember also that a disclaimer is not added for internal to internal mail.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline axessit

  • *****
  • 213
  • +0/-0
Re: Email Disclaimer problems
« Reply #7 on: March 24, 2010, 01:28:16 AM »

OK, trying to figure how to put screenshots in here but can't, so here goes with unobfuscating it.

Using Windows Mail client.

Tools->Accounts.
Select "Test Account" properties
email address: test@axessIT.co.nz
Server tab:
My Incoming Mail Server is a POP3 server
Incoming mail (POP3): postmanpat
Outgoing mail (SMTP): postmanpat
E-mail username: test
Advanced tab:
Outgoing mail (SMTP): 25
Oncoming mail (POP3): 110

Open new mail. Send to 'axessit@inspire.net.nz'
create test message, send.

Open webbrowser, go to webmail.inspire.net, log in and check message.


Quote
From:   "Test" <test@axessIT.co.nz>
 To:   <axessit@inspire.net.nz>
 Date:   Wed, 24 Mar 2010 13:22:40 +1300
 Subject:   test message
 
Any footer ?


So there's no footer.

Open http://postmanpat/webmail (my local email server)

Log in and create email to axessit@inspire.net.nz

Quote
From:   test@axessit.co.nz
 To:   axessit@inspire.net.nz
 Date:   Wed, 24 Mar 2010 13:25:41 +1300
 Subject:   test message from webmail
 


Should be footer


Attachment #1: disclaimer.txt

And there's the disclaimer attached.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Email Disclaimer problems
« Reply #8 on: March 24, 2010, 03:03:46 AM »
axessit

> Incoming mail (POP3): postmanpat
> Outgoing mail (SMTP): postmanpat

They are an unusual format of mail server names, perhaps that is a hostname.
What is the full mail server name eg mail.yourdomain.nz, look in the server manager Configuration details panel (forgot it's actual name at the moment).
Try using the full mail server URL
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline axessit

  • *****
  • 213
  • +0/-0
Re: Email Disclaimer problems
« Reply #9 on: March 24, 2010, 03:23:16 AM »
Might sound an unusual name, but it's a test server. 'postmanpat' is the local name of the server - it's FQN is postmanpat.axessit.co.nz. Whether I use this in the servername field or not makes no difference - I have tried this. Email is being delivered as witnessed - it's just missing the disclaimer.

I have also tried using the same account as an imap account to send, and it doesn't attach the disclaimer.

What is the relationship between qpsmtp and smtp ? Is this maybe where things are going astray ?

Here's the message header from the sent message, it appears to be showing the correct handling...
Quote
Return-Path: <test@axessIT.co.nz>
X-Original-To: axessit@inspire.net.nz
Delivered-To: axessit@inspire.net.nz
Received: from localhost (unknown [10.0.168.8])
   by mail5.inspire.net.nz (Postfix) with ESMTP id DFA9ADBAB3
   for <axessit@inspire.net.nz>; Wed, 24 Mar 2010 15:16:31 +1300 (NZDT)
Received: from mail5.inspire.net.nz ([10.0.168.5])
   by localhost (mail8.inspire.net.nz [10.0.168.8]) (amavisd-new, port 10024)
   with ESMTP id eks-VPM0K46o for <axessit@inspire.net.nz>;
   Wed, 24 Mar 2010 15:16:31 +1300 (NZDT)
Received: from axessit.co.nz (203-114-179-22.dsl.sta.inspire.net.nz [203.114.179.22])
   by mail5.inspire.net.nz (Postfix) with SMTP id 809A2DBAB7
   for <axessit@inspire.net.nz>; Wed, 24 Mar 2010 15:16:31 +1300 (NZDT)
Received: (qmail 9182 invoked by uid 453); 24 Mar 2010 02:16:29 -0000
Received: from Unknown (HELO lennie) (192.168.2.79)
    by axessit.co.nz (qpsmtpd/0.83) with SMTP; Wed, 24 Mar 2010 15:16:29 +1300
Message-ID: <0D6B2E192CFB457F9533BB8665609162@lennie>
From: "Test" <test@axessIT.co.nz>
To: <axessit@inspire.net.nz>
Subject: FQN server this time
Date: Wed, 24 Mar 2010 15:16:23 +1300
MIME-Version: 1.0
Content-Type: multipart/alternative;
   boundary="----=_NextPart_000_000D_01CACB64.F715CE50"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Windows Mail 6.0.6002.18005
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18005
X-EsetId: 0157E527C81DD5235317

Here's a header from the webmail one that works
Quote
Return-Path: <test@axessit.co.nz>
X-Original-To: axessit@inspire.net.nz
Delivered-To: axessit@inspire.net.nz
Received: from localhost (unknown [10.0.168.8])
   by mail5.inspire.net.nz (Postfix) with ESMTP id DDDA4DBAA9
   for <axessit@inspire.net.nz>; Wed, 24 Mar 2010 13:25:42 +1300 (NZDT)
Received: from mail5.inspire.net.nz ([10.0.168.5])
   by localhost (mail8.inspire.net.nz [10.0.168.8]) (amavisd-new, port 10024)
   with ESMTP id wKpAeiCaI9-E for <axessit@inspire.net.nz>;
   Wed, 24 Mar 2010 13:25:42 +1300 (NZDT)
Received: from axessit.co.nz (203-114-179-22.dsl.sta.inspire.net.nz [203.114.179.22])
   by mail5.inspire.net.nz (Postfix) with SMTP id 8674ADBA9F
   for <axessit@inspire.net.nz>; Wed, 24 Mar 2010 13:25:42 +1300 (NZDT)
Received: (qmail 5842 invoked by uid 453); 24 Mar 2010 00:25:41 -0000
Received: from 192.168.2.79 ([192.168.2.79]) by postmanpat (Horde
 Framework) with HTTP; Wed, 24 Mar 2010 13:25:41 +1300
Message-ID: <20100324132541.15427ej5q0f46ars@postmanpat>
Date: Wed, 24 Mar 2010 13:25:41 +1300
From: test@axessit.co.nz
To: axessit@inspire.net.nz
Subject: test message from webmail
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) H3 (4.3.4)
Content-type: multipart/mixed; boundary="----------=_1269390341-5839-0"
X-Qpsmtp-Disclaimer: axessit.co.nz
X-EsetId: 0157E527C81DD5235317


Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Email Disclaimer problems
« Reply #10 on: March 24, 2010, 04:22:34 AM »
axessit

> What is the relationship between qpsmtp and smtp ? Is this maybe where things are going astray ?

qpsmtpd handles all mail first, which is correct.
I notice you have installed different webmail systems, 2 of them, not sure if something was inadvertantly altered there.

> Here's a header from the webmail one that works
> Received: from 192.168.2.79 ([192.168.2.79]) by postmanpat (Horde
> Framework) with HTTP; Wed, 24 Mar 2010 13:25:41 +1300

The mail server appears to be postmanpat


> Here's the message header from the sent message, it appears to be showing the correct handling...
> Received: from Unknown (HELO lennie) (192.168.2.79)
>    by axessit.co.nz (qpsmtpd/0.83) with SMTP; Wed, 24 Mar 2010 15:16:29 +1300

The mail server appears to be axessit.co.nz which is not postmanpat.
Is that the issue ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.