# Default sender Email

**URL:** <https://forums.interworx.com/t/default-sender-email/11135>\
**Category:** General Inquries\
**Created:** [September 17, 2006, 9:11am UTC](https://forums.interworx.com/t/default-sender-email/11135 "2006-09-17T09:11:21Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://forums.interworx.com/uploads/default/original/2X/4/40ab17cc34b792a0172b48ad1333b9ba9299a9a1.png) [@system](https://forums.interworx.com/u/system)\
**Post date:** [September 17, 2006, 9:11am UTC](https://forums.interworx.com/t/default-sender-email/11135/1 "2006-09-17T09:11:21Z")

</div>

Hello,

I lost my brain.

I’m pretty sure I have setup a long time ago the default email of the box. But I don’t remenber how. I thought there was a .qmail-default or a .root somewhere in Qmail or elsewhere but I don’t find this

My problem is pretty simple. All backup.pex made by cron jobs send an email to the siteworx account owner. The sender of this email is always the same and is false now.

So How could I change the default email sender for all mails sent by interworx ?

(ps : the email of the admin nodeworx is not the one used as sender)

Thanks a ton

Pascal

---

<div class="post-metadata">

**Author:** ![system](https://forums.interworx.com/uploads/default/original/2X/4/40ab17cc34b792a0172b48ad1333b9ba9299a9a1.png) [@system](https://forums.interworx.com/u/system)\
**Post date:** [September 17, 2006, 10:17am UTC](https://forums.interworx.com/t/default-sender-email/11135/2 "2006-09-17T10:17:57Z")

</div>

I believe the file you are looking for is /var/qmail/control/me

---

<div class="post-metadata">

**Author:** ![system](https://forums.interworx.com/uploads/default/original/2X/4/40ab17cc34b792a0172b48ad1333b9ba9299a9a1.png) [@system](https://forums.interworx.com/u/system)\
**Post date:** [September 17, 2006, 10:25am UTC](https://forums.interworx.com/t/default-sender-email/11135/3 "2006-09-17T10:25:36Z")

</div>

> [@IWorx-Tim;9916](#):
>
> I believe the file you are looking for is cd /var/qmail/control/me

heu…

I thought too. But I’ve checked in few boxes and in /var/qmail/control/me I have the default host (the hostname of my box), not the default email’s sender.

I’ve also checked the /var/qmail/alias/.qmail-postmaster and it is not the email’s sender used by backup.pex

Pascal

---

<div class="post-metadata">

**Author:** ![EverythingWeb](https://forums.interworx.com/letter_avatar_proxy/v4/letter/e/8baadc/32.png) [@EverythingWeb](https://forums.interworx.com/u/EverythingWeb)\
**Post date:** [September 17, 2006, 10:26am UTC](https://forums.interworx.com/t/default-sender-email/11135/4 "2006-09-17T10:26:45Z")

</div>

I also have the hostname in that file. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://forums.interworx.com/uploads/default/original/2X/4/40ab17cc34b792a0172b48ad1333b9ba9299a9a1.png) [@system](https://forums.interworx.com/u/system)\
**Post date:** [September 17, 2006, 10:28am UTC](https://forums.interworx.com/t/default-sender-email/11135/5 "2006-09-17T10:28:59Z")

</div>

I’ve also checked the /var/qmail/alias/.qmail-postmaster and it is not the email’s sender used by backup.pex

Pascal

---

<div class="post-metadata">

**Author:** ![EverythingWeb](https://forums.interworx.com/letter_avatar_proxy/v4/letter/e/8baadc/32.png) [@EverythingWeb](https://forums.interworx.com/u/EverythingWeb)\
**Post date:** [September 17, 2006, 10:37am UTC](https://forums.interworx.com/t/default-sender-email/11135/6 "2006-09-17T10:37:21Z")

</div>

Hang on, if its backup.pex, surely its coming from the email addresses which are assigned in the iworx database in the email data table?

---

<div class="post-metadata">

**Author:** ![IWorx-Socheat](https://forums.interworx.com/letter_avatar_proxy/v4/letter/i/ed655f/32.png) [@IWorx-Socheat](https://forums.interworx.com/u/IWorx-Socheat)\
**Post date:** [September 17, 2006, 10:47am UTC](https://forums.interworx.com/t/default-sender-email/11135/7 "2006-09-17T10:47:13Z")

</div>

Hi Pascal,

Which are you trying to change? The master email address of the box, or of a particular siteworx account? If you’re trying to change the master email address for the box (like emails sent to [root@box.domain.com](mailto:root@box.domain.com)), then that is the /var/qmail/alias/.qmail-postmaster file.

Otherwise, the email address used for the siteworx account login is the address that receives emails for things related to that account.

Socheat

---

<div class="post-metadata">

**Author:** ![system](https://forums.interworx.com/uploads/default/original/2X/4/40ab17cc34b792a0172b48ad1333b9ba9299a9a1.png) [@system](https://forums.interworx.com/u/system)\
**Post date:** [September 17, 2006, 10:48am UTC](https://forums.interworx.com/t/default-sender-email/11135/8 "2006-09-17T10:48:26Z")

</div>

> [@EverythingWeb;9921](#):
>
> Hang on, if its backup.pex, surely its coming from the email addresses which are assigned in the iworx database in the email data table?

OK I FOUND IT !!!

It is in the iworx database, email\_templates table

in this table there is the field “from\_email” and it is exactly the email used by backup.pex

So I’ve just to edit the SITEWORX\_BACKUP\_COMPLETE record

But, there is no way to do this directly in nodeworx ?  
(arff email templates disepear some versions ago :\ )

Thanks all

---

<div class="post-metadata">

**Author:** ![system](https://forums.interworx.com/uploads/default/original/2X/4/40ab17cc34b792a0172b48ad1333b9ba9299a9a1.png) [@system](https://forums.interworx.com/u/system)\
**Post date:** [September 17, 2006, 10:49am UTC](https://forums.interworx.com/t/default-sender-email/11135/9 "2006-09-17T10:49:42Z")

</div>

[QUOTE=IWorx-Socheat;9922]Hi Pascal,

Which are you trying to change? The master email address of the box, or of a particular siteworx account? If you’re trying to change the master email address for the box (like emails sent to [root@box.domain.com](mailto:root@box.domain.com)), then that is the /var/qmail/alias/.qmail-postmaster file.

Otherwise, the email address used for the siteworx account login is the address that receives emails for things related to that account.

Socheat[/QUOTE]

Nop Socheat 🙂 sorry but the email’s sender of the BACKUP.PEX is the one define in the database iworx, table email\_templates

Pascal

---

<div class="post-metadata">

**Author:** ![system](https://forums.interworx.com/uploads/default/original/2X/4/40ab17cc34b792a0172b48ad1333b9ba9299a9a1.png) [@system](https://forums.interworx.com/u/system)\
**Post date:** [September 17, 2006, 10:53am UTC](https://forums.interworx.com/t/default-sender-email/11135/10 "2006-09-17T10:53:57Z")

</div>

[QUOTE=IWorx-Socheat;9922]Hi Pascal,

Which are you trying to change? The master email address of the box, or of a particular siteworx account? If you’re trying to change the master email address for the box (like emails sent to [root@box.domain.com](mailto:root@box.domain.com)), then that is the /var/qmail/alias/.qmail-postmaster file.  
Socheat[/QUOTE]

None of them.

> Otherwise, the email address used for the siteworx account login is the address that receives emails for things related to that account.

Yes it is. But which sender email is used by interworx-cp ?

The email’s sender of the BACKUP.PEX is the one define in the database iworx, table email\_templates

Pascal

---

<div class="post-metadata">

**Author:** ![IWorx-Socheat](https://forums.interworx.com/letter_avatar_proxy/v4/letter/i/ed655f/32.png) [@IWorx-Socheat](https://forums.interworx.com/u/IWorx-Socheat)\
**Post date:** [September 17, 2006, 11:08am UTC](https://forums.interworx.com/t/default-sender-email/11135/11 "2006-09-17T11:08:14Z")

</div>

Ahh, I see now Pascal, I misunderstood. You wanted to change where the email is coming _from_, not where it’s going _to_. Yes, that’s the correct place to change the email address.

Yes, we removed email templates manipulation a few versions back because we were just unhappy with the interface and how it worked. While it still has not been added back in to InterWorx 3.0, one of the new features that _is_ in 3.0 will make email templates much more flexible when it does get added back in. Baby steps. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://forums.interworx.com/uploads/default/original/2X/4/40ab17cc34b792a0172b48ad1333b9ba9299a9a1.png) [@system](https://forums.interworx.com/u/system)\
**Post date:** [September 17, 2006, 11:14am UTC](https://forums.interworx.com/t/default-sender-email/11135/12 "2006-09-17T11:14:59Z")

</div>

sorry if my english is so bad :-p

> While it still has not been added back in to InterWorx 3.0, one of the new features that _is_ in 3.0 will make email templates much more flexible when it does get added back in. Baby steps.

h? h? still waiting for this v3.0

😉

Pascal
