Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

See where emails start from with sendmail PHP

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
ang3lx
Posts: 12
Joined: Sun Nov 02, 2014 12:20 am

See where emails start from with sendmail PHP
  • Quote

Post by ang3lx » Mon Jun 15, 2015 10:17 pm

Hello,
I noticed that emails sent trough PHP sendmail haven't -f set.
So if I've an user on my vesta with some domain. Ex.:

server name: myserver.com
username: user1
and user1 have domains
domain1.tld
domain2.tld
domain3.tld

into /var/log/exim4/mainlog I will see all mail send from
[email protected]

instead I think that is useful to force something as [email protected], [email protected], etc... (one for each domain)

so if a wordpress being hacked on domain1.tld, trough logs we can see from where start mailbombing
it seems a working solution to put

Code: Select all

php_admin_value sendmail_path "/usr/sbin/sendmail [email protected] -t -i" 
into vhost of each domain, but is not an elegant method.

Someone has an idea?

thanks and sorry for my english
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password