Tertsi
12-18-2007, 05:46 AM
I have these lines in sendmail.mc and I've compiled the sendmail.cf with them:
LOCAL_DOMAIN(`freesexdoor.com')dnl
MASQUERADE_AS(`freesexdoor.com')dnl
FEATURE(masquerade_envelope)dnl
MASQUERADE_DOMAIN(localhost)dnl
MASQUERADE_DOMAIN(localhost.localdomain)dnl
I have the users daemon, freesexd and root in the trusted_users file. I have restarted sendmail (using service sendmail restart). I have the domains: server.freesexdoor.com, freesexdoor.com and mail.freesexdoor.com in the sendmail's local_hosts file.
In Apache 2's httpd.conf, I have this: php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f freesexd [at} freesexdoor.com'
Yet when I sent an e-mail with php to advertising [at} freesexdoor.com, I got these headers in the e-mail, which don't look good to a spam filter:
Received: from localhost.localdomain (IS-3293 [127.0.0.1])
by localhost.localdomain (8.13.8/8.13.8) with ESMTP id
Received: (from daemon@localhost)
by localhost.localdomain (8.13.8/8.13.8/Submit) id
Message-Id: <200712180935.lBI9ZrRs005480@localhost.localdomain>
Additionally hotmail rejects my e-mails and it is obvious why. (My OpenSPF record is fine btw and on my former server I was able to send e-mails with it fine.)
Naturally I want something like "freesexdoor.com" to replace "localhost.localdomain" in those header lines. So how can I get this working?
The OS is CentOS 5 by the way.
LOCAL_DOMAIN(`freesexdoor.com')dnl
MASQUERADE_AS(`freesexdoor.com')dnl
FEATURE(masquerade_envelope)dnl
MASQUERADE_DOMAIN(localhost)dnl
MASQUERADE_DOMAIN(localhost.localdomain)dnl
I have the users daemon, freesexd and root in the trusted_users file. I have restarted sendmail (using service sendmail restart). I have the domains: server.freesexdoor.com, freesexdoor.com and mail.freesexdoor.com in the sendmail's local_hosts file.
In Apache 2's httpd.conf, I have this: php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f freesexd [at} freesexdoor.com'
Yet when I sent an e-mail with php to advertising [at} freesexdoor.com, I got these headers in the e-mail, which don't look good to a spam filter:
Received: from localhost.localdomain (IS-3293 [127.0.0.1])
by localhost.localdomain (8.13.8/8.13.8) with ESMTP id
Received: (from daemon@localhost)
by localhost.localdomain (8.13.8/8.13.8/Submit) id
Message-Id: <200712180935.lBI9ZrRs005480@localhost.localdomain>
Additionally hotmail rejects my e-mails and it is obvious why. (My OpenSPF record is fine btw and on my former server I was able to send e-mails with it fine.)
Naturally I want something like "freesexdoor.com" to replace "localhost.localdomain" in those header lines. So how can I get this working?
The OS is CentOS 5 by the way.
