Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   NZ Computing (http://www.velocityreviews.com/forums/f47-nz-computing.html)
-   -   kmail (http://www.velocityreviews.com/forums/t574979-kmail.html)

Shane 04-21-2005 10:07 PM

kmail
 
Ive asked around but I thought I better ask the locals to ;-)
My kmail
$kmail --version
Qt: 3.3.3
KDE: 3.3.2
KMail: 1.7.2

for the life of me I cant get it to send EHLO {HOSTNAME} to anything
other then localhost
ie to localhost it sends EHLO {HOSTNAME}
to anything else (including localhosts RFC 1918 addy) it just sends
EHLO
this is a problem with my postfix setup, as postfix is demanding ehlo
{hostname}
501 Syntax: EHLO hostname
this prob _only_ exists on kmail (mozilla mail handles it saweet)
but kmail is my *favourite*
AFAICT my options are now..
reconfig postfix to not demand hostname
or
setup iptables on this box to redirect anything meant for 127.0.0.1 25 to
the other box (ugly hack time)
TIA

--

Hardware, n.: The parts of a computer system that can be kicked


The Other Guy 04-21-2005 10:40 PM

Re: kmail
 
Shane wrote:
> Ive asked around but I thought I better ask the locals to ;-)
> My kmail
> $kmail --version
> Qt: 3.3.3
> KDE: 3.3.2
> KMail: 1.7.2
>
> for the life of me I cant get it to send EHLO {HOSTNAME} to anything
> other then localhost
> ie to localhost it sends EHLO {HOSTNAME}
> to anything else (including localhosts RFC 1918 addy) it just sends
> EHLO
> this is a problem with my postfix setup, as postfix is demanding ehlo
> {hostname}
> 501 Syntax: EHLO hostname
> this prob _only_ exists on kmail (mozilla mail handles it saweet)
> but kmail is my *favourite*
> AFAICT my options are now..
> reconfig postfix to not demand hostname
> or
> setup iptables on this box to redirect anything meant for 127.0.0.1 25 to
> the other box (ugly hack time)


Postfix is quite correct to insist on the domain portion of HELO/EHLO
being present. I wouldn't change this behaviour.

According to this page http://bugs.kde.org/show_bug.cgi?id=93544, there
is a setting to send custom hostnames that apparently sends just
"ehlo\r\n". If you have this enabled, try turning it off.

The Other Guy

AD. 04-21-2005 10:59 PM

Re: kmail
 
On Fri, 22 Apr 2005 10:07:17 +1200, Shane wrote:

> AFAICT my options are now..
> reconfig postfix to not demand hostname or
> setup iptables on this box to redirect anything meant for 127.0.0.1 25 to
> the other box (ugly hack time)


3rd option?

Tell Kmail to use your local sendmail equivalent (the client utility not
the server daemon) to send mail on to your postfix server?

--
Cheers
Anton


Shane 04-21-2005 11:49 PM

Re: kmail
 
On Fri, 22 Apr 2005 10:40:48 +1200, The Other Guy wrote:

> According to this page http://bugs.kde.org/show_bug.cgi?id=93544, there
> is a setting to send custom hostnames that apparently sends just
> "ehlo\r\n". If you have this enabled, try turning it off.
>
> The Other Guy


Ive seen that guys post a few times (its repeated on a few lists google
has thrown at me)
but for the life of me I cant find a resolution
or how to enable the resolution you have mentioned

--

Hardware, n.: The parts of a computer system that can be kicked


Shane 04-21-2005 11:49 PM

Re: kmail
 
On Fri, 22 Apr 2005 10:59:31 +1200, AD. wrote:

> On Fri, 22 Apr 2005 10:07:17 +1200, Shane wrote:
>
>> AFAICT my options are now..
>> reconfig postfix to not demand hostname or
>> setup iptables on this box to redirect anything meant for 127.0.0.1 25 to
>> the other box (ugly hack time)

>
> 3rd option?
>
> Tell Kmail to use your local sendmail equivalent (the client utility not
> the server daemon) to send mail on to your postfix server?

er... thats complex, Id have no idea how to implement that
--

Hardware, n.: The parts of a computer system that can be kicked


AD. 04-22-2005 03:55 AM

Re: kmail
 
On Fri, 22 Apr 2005 11:49:59 +1200, Shane wrote:

>> Tell Kmail to use your local sendmail equivalent (the client utility not
>> the server daemon) to send mail on to your postfix server?

> er... thats complex, Id have no idea how to implement that


Not really. Kmail lets you choose between SMTP or Sendmail for outgoing
mail.

As pretty much every Linux distro includes an MTA, you likely have the
sendmail utility already installed.

Eg postfix has a sendmail command for sending mail (it is designed to
take the same command line arguments as the original one from Sendmail
themselves). Exim does as well. Chances are that if your distro set up
asked you any questions about email and smarthosts etc you already have it
configured properly.

The sendmail command is how traditional unix software sent mail without
having to know anything about mail transport protocols (eg SMTP or UUCP),
and pretty much every unix machine will have one. Even if the local MTA
isn't listening for incoming connections, you will still be able to use
its sendmail command.

--
Cheers
Anton


Shane 04-22-2005 04:06 AM

Re: kmail
 
On Fri, 22 Apr 2005 15:55:20 +1200, AD. wrote:

> On Fri, 22 Apr 2005 11:49:59 +1200, Shane wrote:
>
>>> Tell Kmail to use your local sendmail equivalent (the client utility not
>>> the server daemon) to send mail on to your postfix server?

>> er... thats complex, Id have no idea how to implement that

>
> Not really. Kmail lets you choose between SMTP or Sendmail for outgoing
> mail.
>
> As pretty much every Linux distro includes an MTA, you likely have the
> sendmail utility already installed.
>
> Eg postfix has a sendmail command for sending mail (it is designed to
> take the same command line arguments as the original one from Sendmail
> themselves). Exim does as well. Chances are that if your distro set up
> asked you any questions about email and smarthosts etc you already have it
> configured properly.
>
> The sendmail command is how traditional unix software sent mail without
> having to know anything about mail transport protocols (eg SMTP or UUCP),
> and pretty much every unix machine will have one. Even if the local MTA
> isn't listening for incoming connections, you will still be able to use
> its sendmail command.


er cool
that worked
now... why the frig werent you on the other lists/ freenode chans that I
hassled for help :-)
thanks :-)
--

Hardware, n.: The parts of a computer system that can be kicked


AD. 04-22-2005 04:45 AM

Re: kmail
 
On Fri, 22 Apr 2005 16:06:19 +1200, Shane wrote:

> er cool
> that worked
> now... why the frig werent you on the other lists/ freenode chans that I
> hassled for help :-)
> thanks :-)


No worries, glad I could help :)

--
Cheers
Anton



All times are GMT. The time now is 01:03 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.