Forum Moderators: bakedjake
1) the return path listed on received emails is ****x@mydomain.com, where '****x' is my account name for the host. I would like to change the return path to 'yyyy@mydomain.com'
2) I am getting bounce messages such as the following:
****
Your mail has been blocked because your mailserver sent mail to us
using a suspicious HELO string.
HELO is an SMTP command with which one mailserver identifies itself to
another when starting an SMTP session to deliver mail.
Some spammers, in order to forge headers, issue forged HELOs that
match the IPs and / or domains of our system, and those of other
freemail providers, such as -
>HELO email.com
>HELO operamail-com.mr.outblaze.com
>HELO 205.158.62.24
>HELO yahoo.com
>HELO SGSScstsgs.excite.com
Your mailserver sent us mail with HELO ^snip.*\.com$
Legitimate, non spam mail will generally not have such a HELO string -
it comes with a quite different HELO - typically the host name /
domain name of the sending mailserver.
1) the return path listed on received emails is ****x@mydomain.com, where '****x' is my account name for the host. I would like to change the return path to 'yyyy@mydomain.com'
-fname Sets the name of the ``from'' person (i.e., the envelope sender of the mail). This address may also be used in the From: header if that header is missing during initial submission. The envelope sender address is used as the recipient for delivery status notifications and may also appear in a Return-Path: header. -f should only be used by ``trusted'' users (normally root, daemon, and network) or if the person you are trying to become is the same as the person you are. Otherwise, an X-Authentication-Warning header will be added to the message.
2) I am getting bounce messages such as the following:****
Your mail has been blocked because your mailserver sent mail to us using a suspicious HELO string.
...
Your mailserver sent us mail with HELO ^snip.*\.com$
Also of note is the "$" at the end of the string. Have a look at /etc/mail/sendmail.cf (or wherever yours is), and look for the following lines:
# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
#Dj$w.Foo.COM
Does yours maybe look like:
#Djw.Foo.COM$
I just noticed, as well... is that "^snip.*\.com$" close to your actual HELO? as in, your server does a HELO with: "^hostname.domainname.*\.com$"? It might just be a fancy way of replacing your domainname with "example.com", but I'm trying to cover all angles. ;)
Also, is this bounce message *ALL* the time, or only particular hosts?
-MM
In responding to an inquiry sent on Monday, today, the postmaster at Outblaze suggested that if I tried again in two hours, everything would be okay. I did, and the mail didn't bounce.
So, now I'm left with only the "Return-Path" problem.
My official domain name has this:
# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
Djwinninginvesting.com
The problem is not with the domain name, it's with who at my domain is sending the mail.
I want it to say the Return-Path is "somethingelse@example.com" Instead, it's saying "sinething@example.com"
"something" is my account name at my host.
[edited by: Woz at 1:26 am (utc) on Feb. 26, 2004]
[edit reason] examplified URLs [/edit]
For the outgoing email, how is it being sent? Is it an application that's sending it for you? If so, there must be a "tunable" somewhere where you can set the return-path or the "from" headers.
Otherwise, find out how it's sending mail, and hack it to change the from: or return-path. (check the sendmail -fuser@domain.com).
-MM
Or, if it's the "Lite" version, you could edit the source (subscrible.pl), and possibly add your own headers in there. I'd do a search for all the "From:" fields, and try adding the "Return-Path:" field in there as well.
I'm not sure at what parts you'd have to add that field to, but probably the most important one would be near the line that reads
"######### Here is where we did the addition ###################" HTH,
-MM
Been there, done that. They say they're not doing it, which makes sense because they have no knowledge of the "return-path" address that appears in sent emails.
But, I was looking through the code for the "Lite" version, and the first variable,
$mailprog = '/usr/bin/sendmail';
Could be replaced with
$mailprog = '/usr/bin/sendmail -f your@email.com';
Replace the "your@email.com" with the email address you'd like to show.
That will change the "Return-Path" output of sendmail (I tried changing my sendmail.cf, so that it would change it all the time, but it didn't work for me.
This is all depending on whether you have access to the code or not. I would imagine, though, that that $mailprog variable is tuneable, in case you had another MTA on your system.
Try it out!
-MM