kmail

Discussion in 'NZ Computing' started by Shane, Apr 21, 2005.

  1. Shane

    Shane Guest

    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
    Shane, Apr 21, 2005
    #1
    1. Advertising

  2. 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
    The Other Guy, Apr 21, 2005
    #2
    1. Advertising

  3. Shane

    AD. Guest

    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
    AD., Apr 21, 2005
    #3
  4. Shane

    Shane Guest

    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, Apr 22, 2005
    #4
  5. Shane

    Shane Guest

    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
    Shane, Apr 22, 2005
    #5
  6. Shane

    AD. Guest

    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
    AD., Apr 22, 2005
    #6
  7. Shane

    Shane Guest

    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
    Shane, Apr 22, 2005
    #7
  8. Shane

    AD. Guest

    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
    AD., Apr 22, 2005
    #8
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Al. C
    Replies:
    0
    Views:
    450
    Al. C
    Feb 18, 2005
  2. nick

    kmail

    nick, Mar 2, 2004, in forum: NZ Computing
    Replies:
    2
    Views:
    389
    Bruce Sinclair
    Mar 2, 2004
  3. Alfred

    KMail - Links

    Alfred, Jun 6, 2010, in forum: Computer Support
    Replies:
    2
    Views:
    634
    Parko
    Jun 7, 2010
Loading...

Share This Page