Change the Welcome message email user

Discussion in 'General' started by flyingscubakev, Dec 14, 2011.

  1. flyingscubakev

    flyingscubakev HowtoForge Supporter

    Hi, I've been able to add some more information to the welcome message that gets sent to new email users. What I'd like to know is if there is a way to change the "From" portion. I went into the welcome_email_en.txt file and changed the details on the "From:" line, but when the uses views the welcome email it has additional info "om@servername.domainname:{details that I changed in the welcome form}.

    Where is the "om@servername.domainname" part coming from and can I omit that so that the end user only sees the part that I changed in the welcome.txt file?

    Kevin
     
  2. till

    till Super Moderator

    The welcome message can be changed in the files in /usr/local/ispconfig/server/conf/mail/

    There was a bug in 3.0.4,so you should upfate to 3.0.4.1
     
  3. abintipl

    abintipl New Member

    Same Error

    Dear Sir,

    I am on latest version on ISPConfig 3.0.4.1 on Debian Sequeeze

    I have not changed Welcome ,message but on creation of new account, an email recd from ""om@servername.domainname""

    Please advice

    Thanks & regards,

    Abin
     
  4. till

    till Super Moderator

    The from email address is set in the email message file. It has to be the first line of the file and has this format:

    From: ISPConfig <postmaster@localhost.localdomain>
     
  5. flyingscubakev

    flyingscubakev HowtoForge Supporter

    Hey Till,
    I am on 3.0.4.1, and I have changed the welcome_email_en.txt file
    from
    "From: ISPConfig <postmaster@localhost.localdomain>"
    to
    "From: Webmail Admin <support@mydomain.com>".

    Now when I create a new user the mail shows up from
    "om@myservername.mydomainname:Webmail Admin <support@mydomain.com>".
    What I'd like to do is remove the "om@myservername.mydomainname:" part.

    Kevin
     
  6. till

    till Super Moderator

    It might be that the php interpreter on your server appends the second email address automatically. Please take alook into the generated email message which is sent to the mailbox and post the complete email headers incl. the from line.
     
  7. flyingscubakev

    flyingscubakev HowtoForge Supporter

    Hope this is what you are looking for:

    Code:
    Return-Path: <root@mail2.eeebase.com>
    Delivered-To: denis@chill-axe.com
    Received: from localhost (unknown [127.0.0.1])
    	by mail2.eeebase.com (Postfix) with ESMTP id 49A33E2A93
    	for <denis@chill-axe.com>; Wed, 14 Dec 2011 16:31:25 +0000 (UTC)
    X-Virus-Scanned: amavisd-new at site
    Received: from mail2.eeebase.com ([127.0.0.1])
    	by localhost (linux-jfp8.site [127.0.0.1]) (amavisd-new, port 10024)
    	with ESMTP id ZIZSqC6BqwN2 for <denis@chill-axe.com>;
    	Wed, 14 Dec 2011 10:31:01 -0600 (CST)
    Received: by mail2.eeebase.com (Postfix, from userid 0)
    	id 99680E363B; Wed, 14 Dec 2011 10:31:01 -0600 (CST)
    To: denis@chill-axe.com
    Subject: =?utf-8?B?V2VsY29tZSB0byB5b3VyIG5ldyBlbWFpbCBhY2NvdW50Lg==?=
    X-PHP-Originating-Script: 5003:mail_plugin.inc.php
    MIME-Version: 1.0
    Content-type: text/plain; charset=utf-8
    Content-Transfer-Encoding: 8bit
    From: om@mail2.eeebase.com:Webmail Admin <support@inlett.com>
    Reply-To: om@mail2.eeebase.com:Webmail Admin <support@inlett.com>
    Message-Id: <20111214163101.99680E363B@mail2.eeebase.com>
     

Share This Page