Forum Moderators: bakedjake

Message Too Old, No Replies

Where to Find Email Expert

Email Configuration Expert

         

harrydom

12:36 am on Feb 24, 2004 (gmt 0)

10+ Year Member



Does anyone know where to go to find an e-mail expert? I need someone to fix my mail configuration files.

I hope I'm not violating any rules by asking this.

DaveAtIFG

12:54 am on Feb 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Some of our members may be able to help but give them a hint! ;) What platform (*nix or Windows) and email program (or server) are you trying to configure?

harrydom

2:23 am on Feb 24, 2004 (gmt 0)

10+ Year Member



It's sendmail on linux. I"m using "Subscribe Me" to mail to two mailing lists. I have at least two problems, that I think are configuration issues, and are not related to the mailing program:

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.

MattyMoose

11:28 pm on Feb 25, 2004 (gmt 0)

10+ Year Member




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'

If your app is using sendmail API, or sendmail from the command-line, I think you need to set "-f". This is from the manpage for sendmail:

-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$


Did your HELO have the proper syntax: "hostname.domainname.tld"? Or did it only have the hostname, or only the domainname, and does the hostname resolve to an IP address?

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

harrydom

12:18 am on Feb 26, 2004 (gmt 0)

10+ Year Member



It appears that the "helo" problem was due to a problem at mail.com or Outblaze.

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]

MattyMoose

1:09 am on Feb 26, 2004 (gmt 0)

10+ Year Member



The sendmail.cf settings were in regards to the HELO problem...

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

harrydom

5:27 am on Feb 26, 2004 (gmt 0)

10+ Year Member



The mailing application is "Subscribe Me" You can specify the "from" but that is different than the Return-Path, which you cannot set.

MattyMoose

7:38 pm on Feb 29, 2004 (gmt 0)

10+ Year Member



I just a quick look for the "Subscribe Me" software, and it seems to be a commercial application. If you've purchased the software, surely there's some support that's involved as well... I'm sure you'd be able to convince them to help you with this problem.

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

harrydom

9:04 pm on Feb 29, 2004 (gmt 0)

10+ Year Member



>>purchased the software, surely there's some support that's involved as well... I'm sure you'd be able to convince them to help you with this problem. <<

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.

MattyMoose

9:32 pm on Feb 29, 2004 (gmt 0)

10+ Year Member



What does the purchased version look like? Is it pre-compiled code? If not, you may be able to do the same thing as I suggested for the "Lite" version.

I have a bit of a hack/kludge floating around in my head that may solve this, but I have to solidify it first before I meniton anything... ;)

-MM

MattyMoose

9:51 pm on Feb 29, 2004 (gmt 0)

10+ Year Member



I just tried out my hack, and it didn't seem to do what I wanted it to do... Too bad...

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