Re: Host name for sendmail.

2003-07-25 Thread Constantine
Olaf Hoyer wrote:

On Fri, 25 Jul 2003, Constantine wrote:

 

Ok, you should in those cases register with a freemail-service, or any
other independent mail-provider, which gives you the possibility to:
a) Identify yourself with SMTP-Auth with his server
b) and send mails with any from: address
In the FreeBSD-handbook there is a chapter for using sendmail with
SMTP-Auth as a client, shall work then.
Olaf

 

Okay, that seems to be too complicated to do, and my idea is not to use
any third-party smtp-servers...
The provider is Earthlink DSL, and the problem I was having, is that
some mail-servers in Russia do not want to accept any mail from one of
the Earthlinks' smtp-servers (207.217.120.122).
The IP-address of my modem (the address of the FreeBSD box visible to
the internet) stays constant usually within a week or so, so I believe
there should be some more neat solutions for the problem...
   

Hi!

Well, the IP 207.217.120.122 is not in rbl Lists, as I checked it
quickly, so there must be another problem.
Do you have a copy of those messages, resp. the mailerdeamon?



When its a private IP, then it is regardless of being several minutes or
a week, because the remote system only sees the public IP of the
system...
Olaf
 

The message was

 [EMAIL PROTECTED]
   SMTP error from remote mailer after MAIL FROM:<[EMAIL PROTECTED]>:
   host rusonyx.ru [212.24.38.14]: 550 5.7.1 Mail from 207.217.120.122 refused by 
blackhole site work.drbl.rusonyx.ru
It is some Russian spam-list, and since the server we are talking about is Earthlinks' server in the US, nobody really cares about it... The web-site of drbl can be found at http://www.drbl.ofisp.org/eng/

Indeed, my private ips stay the same all the time, it is the public ip 
that changes from week to week.

Cheers,
Constantine.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Host name for sendmail.

2003-07-25 Thread Olaf Hoyer
On Fri, 25 Jul 2003, Constantine wrote:

> >Ok, you should in those cases register with a freemail-service, or any
> >other independent mail-provider, which gives you the possibility to:
> >
> >a) Identify yourself with SMTP-Auth with his server
> >b) and send mails with any from: address
> >
> >
> >In the FreeBSD-handbook there is a chapter for using sendmail with
> >SMTP-Auth as a client, shall work then.
> >
> >Olaf
> >
> Okay, that seems to be too complicated to do, and my idea is not to use
> any third-party smtp-servers...
>
> The provider is Earthlink DSL, and the problem I was having, is that
> some mail-servers in Russia do not want to accept any mail from one of
> the Earthlinks' smtp-servers (207.217.120.122).
>
> The IP-address of my modem (the address of the FreeBSD box visible to
> the internet) stays constant usually within a week or so, so I believe
> there should be some more neat solutions for the problem...
>

Hi!

Well, the IP 207.217.120.122 is not in rbl Lists, as I checked it
quickly, so there must be another problem.

Do you have a copy of those messages, resp. the mailerdeamon?



When its a private IP, then it is regardless of being several minutes or
a week, because the remote system only sees the public IP of the
system...

Olaf

-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Host name for sendmail.

2003-07-25 Thread Constantine
Olaf Hoyer wrote:

On Fri, 25 Jul 2003, Constantine wrote:

 

Olaf Hoyer wrote:

   

I also use a 4.8 box as DSL Router via PPPoE, and there is a sendmail on
it. Ok, I'd have to check whether he can relay directly, and what IP in
the HELO appears, but the box itself can identify its IP without probs.
I'm also using the tunnel interface to connect...
But I'd recommend using a smarthost. Is better and cleaner.

Olaf

 

I have a cable modem with nat, so the FreeBSD box itself does not has
any routable ip-address (the ip, that is connects the box to the
internet is 192.168.1.2). What can I do in this case?
And actually, I started up my own SMTP-server, because the one that was
provided by my ISP was in some spam-blocking programmes, so I was unable
to send some messages through it. So, as I understood, smarthost will
not work for me.
   

Uups.

Well, ok, you get a private IP.
Ok, AOL users get this too, for surfing only its ok, but for anything
else its debateable.
The question is, why was the mailserver of your ISP rejected?
Was it on any blacklists, and why?
When the Mailserver of an ISP is for a longer period, or repeatedly, on
some rbl lists, this is a sign of very poor service.
In that case, I'd change my provider...
Ok, you should in those cases register with a freemail-service, or any
other independent mail-provider, which gives you the possibility to:
a) Identify yourself with SMTP-Auth with his server
b) and send mails with any from: address
In the FreeBSD-handbook there is a chapter for using sendmail with
SMTP-Auth as a client, shall work then.
Olaf

Okay, that seems to be too complicated to do, and my idea is not to use 
any third-party smtp-servers...

The provider is Earthlink DSL, and the problem I was having, is that 
some mail-servers in Russia do not want to accept any mail from one of 
the Earthlinks' smtp-servers (207.217.120.122).

The IP-address of my modem (the address of the FreeBSD box visible to 
the internet) stays constant usually within a week or so, so I believe 
there should be some more neat solutions for the problem...

Cheers,
Constantine.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Host name for sendmail.

2003-07-25 Thread Olaf Hoyer
On Fri, 25 Jul 2003, Constantine wrote:

> Olaf Hoyer wrote:
>
> >I also use a 4.8 box as DSL Router via PPPoE, and there is a sendmail on
> >it. Ok, I'd have to check whether he can relay directly, and what IP in
> >the HELO appears, but the box itself can identify its IP without probs.
> >I'm also using the tunnel interface to connect...
> >
> >But I'd recommend using a smarthost. Is better and cleaner.
> >
> >Olaf
> >
> I have a cable modem with nat, so the FreeBSD box itself does not has
> any routable ip-address (the ip, that is connects the box to the
> internet is 192.168.1.2). What can I do in this case?
>
> And actually, I started up my own SMTP-server, because the one that was
> provided by my ISP was in some spam-blocking programmes, so I was unable
> to send some messages through it. So, as I understood, smarthost will
> not work for me.

Uups.

Well, ok, you get a private IP.
Ok, AOL users get this too, for surfing only its ok, but for anything
else its debateable.

The question is, why was the mailserver of your ISP rejected?
Was it on any blacklists, and why?

When the Mailserver of an ISP is for a longer period, or repeatedly, on
some rbl lists, this is a sign of very poor service.
In that case, I'd change my provider...

Ok, you should in those cases register with a freemail-service, or any
other independent mail-provider, which gives you the possibility to:

a) Identify yourself with SMTP-Auth with his server
b) and send mails with any from: address


In the FreeBSD-handbook there is a chapter for using sendmail with
SMTP-Auth as a client, shall work then.

Olaf

-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Host name for sendmail.

2003-07-25 Thread Constantine
Olaf Hoyer wrote:

On Fri, 25 Jul 2003, Constantine wrote:

 

Olaf Hoyer wrote:

   

On Fri, 25 Jul 2003, Constantine wrote:

Hi!

Well, do the following:

in /etc/hosts, enter your domain name.

then, edit the file: /etc/mail/service.switch (or the corresponding file
location defined in sendmail.cf) with the values :
files dns
to make sendmail first look in /etc/hosts and then try to resolve via
DNS.
Alternatively, in sendmail.cf there is the option to specify the own
host name in case sendmail cannot determine it automagically.
BTW: sendmail wants some FQDN, like cnts.local or something. Missing
dots are iritating to sendmail.
HTH
Olaf


 

Well, thank you. And the other problem I got, is that when I tried to
use my sendmail to send the previous message to this FreeBSD.org postal
list, I got these errors in my maillog:
Jul 24 17:18:11 cnst sm-mta[1101]: h6OImYZI000711:
to=<[EMAIL PROTECTED]>, delay=02:29:36, xdelay=00:00:11,
mailer=esmtp, pri=510414, relay=mx1.freebsd.org. [216.136.204.125],
dsn=4.2.0, stat=Deferred: 450 : Helo command rejected: Host not found
   

Hi!

Well, thats clear: Your box comes with the fake FQDN of cnst in the HELO
command, which cannot be resolved by the remote host, in this case
mx1.freebsd.org, so it rejects the mail.
(Basic SPAM protection)
Solutions:

- The box gets the hostname corresponding to the IP that is
assigned at dialup.
So, if you get 1.2.3.4 as IP, which resolves to:
1-2-3-4.dial.provider.com   you would take care that this appears in the
HELO message.
- you use your providers MTA as smarthost.
In sendmail.cf it shall be the DS macro, IIRC.
Is the better way, because Dial-up-IP-ranges are often blocked due to
spammers and often misconfigured MTA...


I also use a 4.8 box as DSL Router via PPPoE, and there is a sendmail on
it. Ok, I'd have to check whether he can relay directly, and what IP in
the HELO appears, but the box itself can identify its IP without probs.
I'm also using the tunnel interface to connect...
But I'd recommend using a smarthost. Is better and cleaner.

Olaf

I have a cable modem with nat, so the FreeBSD box itself does not has 
any routable ip-address (the ip, that is connects the box to the 
internet is 192.168.1.2). What can I do in this case?

And actually, I started up my own SMTP-server, because the one that was 
provided by my ISP was in some spam-blocking programmes, so I was unable 
to send some messages through it. So, as I understood, smarthost will 
not work for me.

Cheers,
Constantine.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Host name for sendmail.]

2003-07-25 Thread Steve Devine


Quite often this happens because you dont have a valid hostname that maps
to  a ip address. This is a problem when you are using a dsl or cable
modem with Dynamis ips. I suggest you look into a Dynamic dns service. I
use dyndns.org for a free hostname / dns service. They run on the Freebsd
platform.
/sd
> On Fri, 25 Jul 2003, Constantine wrote:
>
>> Hello,
>>
>> I have a FreeBSD 4.8 box, I run it for my local small home network  I
use it as a router. My DSL-modem has a NAT feature, and FreeBSD does
not have any routable ip-address, only the modem does.
>>
>> My sendmail always complains about the domain name every time I start
my FreeBSD, and the system is hanging for 2 minutes, until the sendmail
finally starts. What I want to do, is to keep my own sendmail (I use it
as my smtp-server), but I do not want the system to wait 2 minutes
until the sendmail starts. What can I do?
>>
>
>
> Hi!
>
> Well, do the following:
>
> in /etc/hosts, enter your domain name.
>
> then, edit the file: /etc/mail/service.switch (or the corresponding file
location defined in sendmail.cf) with the values :
> files dns
>
> to make sendmail first look in /etc/hosts and then try to resolve via DNS.
>
> Alternatively, in sendmail.cf there is the option to specify the own
host name in case sendmail cannot determine it automagically.
>
> BTW: sendmail wants some FQDN, like cnts.local or something. Missing
dots are iritating to sendmail.
>
> HTH
> Olaf
>
> --
> Olaf Hoyer[EMAIL PROTECTED]
> Fuerchterliche Erlebniss geben zu raten,
> ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
> (Nietzsche, Jenseits von Gut und Boese)
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Host name for sendmail.

2003-07-25 Thread Olaf Hoyer
On Fri, 25 Jul 2003, Constantine wrote:

> Hello,
>
> I have a FreeBSD 4.8 box, I run it for my local small home network  I
> use it as a router. My DSL-modem has a NAT feature, and FreeBSD does not
> have any routable ip-address, only the modem does.
>
> My sendmail always complains about the domain name every time I start my
> FreeBSD, and the system is hanging for 2 minutes, until the sendmail
> finally starts. What I want to do, is to keep my own sendmail (I use it
> as my smtp-server), but I do not want the system to wait 2 minutes until
> the sendmail starts. What can I do?
>


Hi!

Well, do the following:

in /etc/hosts, enter your domain name.

then, edit the file: /etc/mail/service.switch (or the corresponding file
location defined in sendmail.cf) with the values :
files dns

to make sendmail first look in /etc/hosts and then try to resolve via
DNS.

Alternatively, in sendmail.cf there is the option to specify the own
host name in case sendmail cannot determine it automagically.

BTW: sendmail wants some FQDN, like cnts.local or something. Missing
dots are iritating to sendmail.

HTH
Olaf

-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"