Re: [courier-users] HELO with fully qualified domain name

2008-08-23 Thread mouss
sepeth wrote:
 Hi,
 
 When I send an email with my smtp server (Couier MTA), remote smtp
 server replies with HELO needs fully qualified hostname. The hostname
 written in /etc/hostname is ceren (it doesn't include the domain
 part). When I change the hostname to magmalinux.org or
 ceren.magmalinux.org, the remote smtp server accept my mail. But
 this document [1] says don't do that.
 
 So, how can i specify my FQDN? or Is there any way to say Courier use
 this FQDN with HELO?
 
 [1] 
 http://oreilly.com/catalog/debian/chapter/book/ch10_02.html#CH10-PGFID-460680


I use fqdn hostnames even on linux. I failed to find what this is 
supposed to break.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] HELO with fully qualified domain name

2008-08-22 Thread Bernd Wurst
Hi.

On Thursday 21 August 2008, sepeth wrote:
 When I send an email with my smtp server (Couier MTA), remote smtp
 server replies with HELO needs fully qualified hostname. The hostname
 written in /etc/hostname is ceren (it doesn't include the domain
 part). When I change the hostname to magmalinux.org or
 ceren.magmalinux.org, the remote smtp server accept my mail. But
 this document [1] says don't do that.

 So, how can i specify my FQDN? or Is there any way to say Courier use
 this FQDN with HELO?

 [1]
 http://oreilly.com/catalog/debian/chapter/book/ch10_02.html#CH10-PGFID-4606
80

Courier always uses the FQDN or what it thinks what the FQDN is.
Type hostname -f on the command line to see what the system FQDN is set to.

On a debian system, you don't need to append the domain to /etc/hostname.
Am am not a Debian admin but I have access to a debian machine with this 
config, verified this immediately. :) So there must be a way to specify the 
domain name the system lives in.


Using the other methods pointed to in this thread solves the issue for this 
courier install as long as the FQDN does not change.
I discourage from doing so because solving the symptoms is never a good idea 
if you can solve the cause.

Make your system know it's own FQDN, it'll help you for this and possibly 
future issues.

regards, Bernd

-- 
There are only two things wrong with C++:
The initial concept and the implementation.  -  Bertrand Meyer


signature.asc
Description: This is a digitally signed message part.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] HELO with fully qualified domain name

2008-08-22 Thread Frederik Dannemare
On Friday 22 August 2008 09:14, Bernd Wurst wrote:
 On a debian system, you don't need to append the domain to
 /etc/hostname. Am am not a Debian admin but I have access to a debian
 machine with this config, verified this immediately. :) So there must
 be a way to specify the domain name the system lives in.

Hi

The answer to this one probably lies in /etc/hosts where I'm guessing 
the FQDN is found.

From man 1 hostname on a Debian Etch system (and, I suppose, most 
other Linux platforms as well):

   THE FQDN
   You can’t change the FQDN (as returned by hostname --fqdn) or the 
DNS domain name (as returned by  dnsdomainname)  with  this
   command. The FQDN of the system is the name that the resolver(3) 
returns for the host name.

   Technically: The FQDN is the name gethostbyname(2) returns for 
the host name returned by gethostname(2).  The DNS domain name
   is the part after the first dot.

   Therefore it depends on the configuration (usually 
in /etc/host.conf) how you can change it. Usually (if the  hosts  file  
is
   parsed before DNS or NIS) you can change it in /etc/hosts.


Best regards,
Frederik Dannemare

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] HELO with fully qualified domain name

2008-08-21 Thread sepeth
Hi,

When I send an email with my smtp server (Couier MTA), remote smtp
server replies with HELO needs fully qualified hostname. The hostname
written in /etc/hostname is ceren (it doesn't include the domain
part). When I change the hostname to magmalinux.org or
ceren.magmalinux.org, the remote smtp server accept my mail. But
this document [1] says don't do that.

So, how can i specify my FQDN? or Is there any way to say Courier use
this FQDN with HELO?

[1] 
http://oreilly.com/catalog/debian/chapter/book/ch10_02.html#CH10-PGFID-460680

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] HELO with fully qualified domain name

2008-08-21 Thread Marcus Ilgner
Hi,

On Thu, Aug 21, 2008 at 10:56 AM, sepeth [EMAIL PROTECTED] wrote:
 Hi,

 When I send an email with my smtp server (Couier MTA), remote smtp
 server replies with HELO needs fully qualified hostname. The hostname
 written in /etc/hostname is ceren (it doesn't include the domain
 part). When I change the hostname to magmalinux.org or
 ceren.magmalinux.org, the remote smtp server accept my mail. But
 this document [1] says don't do that.

 So, how can i specify my FQDN? or Is there any way to say Courier use
 this FQDN with HELO?

 [1] 
 http://oreilly.com/catalog/debian/chapter/book/ch10_02.html#CH10-PGFID-460680


Simply write the correct HELO hostname into /etc/courier/esmtphelo (or
whereever your configuration files are located).

Best regards
Marcus

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] HELO with fully qualified domain name

2008-08-21 Thread Jerome Blion
On Thu, 21 Aug 2008 11:58:43 +0200, Marcus Ilgner
[EMAIL PROTECTED] wrote:
 Simply write the correct HELO hostname into /etc/courier/esmtphelo (or
 whereever your configuration files are located).
 
 Best regards
 Marcus

You can also set the me file with the FQDN you want to use.

HTH.
Jerome Blion.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users