Skip to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Change default mail address via php scripts

Featured Replies

Hi,

 

I have noticed a strange issue today.  All my mails which are send via php scripts are using my own mail id as "from address" and "Return-Path"

 

Even if the domain is sending from a different domain in the server it is using my mail id.  How come this happen?  How can I set it to something like "nobody@hostname.com" ?

When using sendmail (php's mail() function does) froxlor sets the customers Email as default (it would be the server default otherwise, you as Admin do not want that).

 

Feel free to adjust Headers when using mail() or even better, use SMTP (logged in Mail Account etc.)

  • Author
When using sendmail (php's mail() function does) froxlor sets the customers Email as default (it would be the server default otherwise, you as Admin do not want that)

 

 

 

Yes,  I want to avoid this.  How can I change it ?

Feel free to adjust Headers when using mail() or even better, use SMTP (logged in Mail Account etc.)

  • Author

Hi,

 

Feel free to adjust Headers when using mail() or even better, use SMTP (logged in Mail Account etc.)

 

 

This is the point which I am unable to.  I use most of my servers for shared hosting purpose.  I have various kinds of clients.  Some are authentic  meanwhile some are not.   If there is some spamming from these servers mails are sending out in such a way that is is being originated from my address.    This will badly affect my reputation.  I have to avoid this some how.    I wish if i can make these kind of mails sent from the server as  "nobody@hostname.com"  so that receiving side also know this mail is not sent with authentication.

 

I don't want to disable mail() in php.ini.  What are the possible work arounds for my requirement from froxlor settings. 

Then just change the customers Email Adresse to whatever you need.

  • Author

hi,

 

 

I have tried changing customers email address and saved it and tested.  Still I could see it is same as it is.   

well then wait for the cronjob to regenerate config-files or run the cronjob manually using --force

  • Author

you mean to force

 

/var/www/froxlor/scripts/froxlor_master_cronjob.php --force

  • Author

Hi,

 

Thanks for the help.  This is solved.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.