Professional Web Applications Themes

How to get send-pr/porttools working when on a cable (dsl) provider link - FreeBSD

Hi all, Just migrated all my stuff to a new machine and having troubles sending any mail to the freebsd lists and inparticular with send-pr. I have a cable modem connected to my gateway which connects to a gbit switch through which the other pcs connect. The cable provider uses dhcp. I get my IP ok and my hostname (sent through dhclient also, otherwise logging on doesn't work) is dbsch1.nb.home.nl. I have set up pf to do nat and filtering. It's not a firewall problem. I'm having problems getting sendmail (from my desktp -- a client behind the gateway) to ...

  1. #1

    Default How to get send-pr/porttools working when on a cable (dsl) provider link

    Hi all,

    Just migrated all my stuff to a new machine and having troubles sending any
    mail to the freebsd lists and inparticular with send-pr. I have a cable modem
    connected to my gateway which connects to a gbit switch through which the
    other pcs connect. The cable provider uses dhcp. I get my IP ok and my
    hostname (sent through dhclient also, otherwise logging on doesn't work) is
    dbsch1.nb.home.nl. I have set up pf to do nat and filtering.
    It's not a firewall problem.

    I'm having problems getting sendmail (from my desktp -- a client behind the
    gateway) to be eligible to send mail to the freebsd servers, particularly
    send-pr.

    I already set my isp's smtp as smart relay in freensd.mc and did make, but now
    my FQDN hostname is not considered cosher (helo)... its desktop.homenet, a
    local name.

    How do I solve this?

    (also...contrast this inconvenience with every non-subscribed spammer being
    able to spam us if she has a colo set up properly...)


    Thanks very much,

    Dan
    Danny Guest

  2. #2

    Default Fwd: How to get send-pr/porttools working when on a cable (dsl) provider link

    That's host cp464173-a.dbsch1.nb.home.nl minus "danny" -- sorry, mis-paste :)


    ---------- Forwarded Message ----------

    Return-Path: <org>
    Delivered-To: com
    Received: (qmail 40439 invoked from network); 28 Mar 2005 03:00:44 -0000
    Received: from slime.mail.vuurwerk.net (62.250.3.103)
    by in1.mail.vuurwerk.net with SMTP; 28 Mar 2005 03:00:44 -0000
    Received: (qmail 11744 invoked by uid 85); 28 Mar 2005 03:00:44 -0000
    Received: (vexira-qq 11736-D87B52E8 invoked from network) 28 Mar 2005 05:00:44
    +0200
    Received: from as-1.mail.vuurwerk.net (62.250.3.90)
    by slime.mail.vuurwerk.net with SMTP; 28 Mar 2005 03:00:44 -0000
    Received: from mx2.freebsd.org ([216.136.204.119])
    by as-1.mail.vuurwerk.net with esmtp (Exim 4.43 (FreeBSD))
    id 1DFkUe-000AGX-BW
    for com; Mon, 28 Mar 2005 05:00:44 +0200
    Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18])
    by mx2.freebsd.org (Postfix) with ESMTP
    id 77D36563FE; Mon, 28 Mar 2005 03:00:30 +0000 (GMT)
    (envelope-from org)
    Received: from hub.freebsd.org (localhost [127.0.0.1])
    by hub.freebsd.org (Postfix) with ESMTP
    id 38ED516A4D4; Mon, 28 Mar 2005 03:00:29 +0000 (GMT)
    Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
    by hub.freebsd.org (Postfix) with ESMTP
    id 2932616A4CE; Mon, 28 Mar 2005 03:00:25 +0000 (GMT)
    Received: from smtpq1.home.nl (smtpq1.home.nl [213.51.128.196])
    by mx1.FreeBSD.org (Postfix) with ESMTP
    id 2916F43D39; Mon, 28 Mar 2005 03:00:24 +0000 (GMT)
    (envelope-from com)
    Received: from [213.51.128.135] (port=49465 helo=smtp4.home.nl)
    by smtpq1.home.nl with esmtp (Exim 4.30)
    id 1DFkUI-0001KS-LU; Mon, 28 Mar 2005 05:00:22 +0200
    Received: from cp464173-a.dbsch1.nb.home.nl ([84.27.215.228]:57289
    helo=desktop.homenet) by smtp4.home.nl with esmtp (Exim 4.30)
    id 1DFkUH-0006my-4v; Mon, 28 Mar 2005 05:00:21 +0200
    Delivered-To: org
    From: Danny Pansters <com>
    To: org,
    org
    Date: Mon, 28 Mar 2005 05:00:15 +0200
    User-Agent: KMail/1.8
    MIME-Version: 1.0
    Content-Type: text/plain;
    cht="us-ascii"
    Content-Transfer-Encoding: 7bit
    Content-Disposition: inline
    Message-Id: <com>
    X-AtHome-MailScanner-Information: Please contact nl for more
    information
    X-AtHome-MailScanner: Found to be clean
    Subject: How to get send-pr/porttools working when on a cable (dsl) provider
    link
    X-BeenThere: org
    X-Mailman-Version: 2.1.1
    Precedence: list
    List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
    List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
    <mailto:org?subject=unsubscribe>
    List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports>
    List-Post: <mailto:org>
    List-Help: <mailto:org?subject=help>
    List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
    <mailto:org?subject=subscribe>
    Sender: org
    Errors-To: org
    X-Versatel-Spam-DNSBL: NO
    X-Versatel-Spam-DNSBL-Info: Mail filtered by Versatel DNSBL system
    X-AntiVirus: checked by Vexira MailArmor (version: 2.0.2-2; VAE: 6.30.0.2;
    VDF: 6.30.0.50; host: slime.mail.vuurwerk.net)
    Status: R
    X-Status: NC
    X-KMail-EncryptionState:
    X-KMail-SignatureState:
    X-KMail-MDN-Sent:
    Hi all,

    Just migrated all my stuff to a new machine and having troubles sending any
    mail to the freebsd lists and inparticular with send-pr. I have a cable modem
    connected to my gateway which connects to a gbit switch through which the
    other pcs connect. The cable provider uses dhcp. I get my IP ok and my
    hostname (sent through dhclient also, otherwise logging on doesn't work) is
    dbsch1.nb.home.nl. I have set up pf to do nat and filtering.
    It's not a firewall problem.

    I'm having problems getting sendmail (from my desktp -- a client behind the
    gateway) to be eligible to send mail to the freebsd servers, particularly
    send-pr.

    I already set my isp's smtp as smart relay in freensd.mc and did make, but
    now my FQDN hostname is not considered cosher (helo)... its desktop.homenet,
    a local name.

    How do I solve this?

    (also...contrast this inconvenience with every non-subscribed spammer being
    able to spam us if she has a colo set up properly...)


    Thanks very much,

    Dan

    -------------------------------------------------------
    Danny Guest

  3. #3

    Default Re: How to get send-pr/porttools working when on a cable (dsl) provider link

    On Mon, 28 Mar 2005 05:00:15 +0200
    Danny Pansters <com> wrote:
     

    I'll leave the sendmail answers to those who really understand it.

    As an alternative, sendmail configurations could be avoided by using
    ports/sysutils/gtk-send-pr especially if this is your only need
    for sendmail. Gtk-send-pr will deliver mail to any SMTP server.

    Just a thought..

    Randy



    --
    Randy Guest

  4. #4

    Default Re: How to get send-pr/porttools working when on a cable (dsl)provider link

    Danny Pansters a écrit : 

    You might want to use ssmtp. Since you're using your ISP's smtp
    server to send mail, there should be no problem if you don't
    have a FQDN hostname.

    --
    Florent Thoumie
    org
    Florent Guest

  5. #5

    Default Re: How to get send-pr/porttools working when on a cable (dsl)provider link -- Thanks

    On Monday 28 March 2005 17:25, you wrote: 
    > >
    > > You might want to use ssmtp. Since you're using your ISP's smtp
    > > server to send mail, there should be no problem if you don't
    > > have a FQDN hostname.[/ref]
    >
    > A very simple and complicated HOWTO :)
    > http://www.cultdeadsheep.org/~clement/FreeBSD/send-pr+ssmtp.txt
    >
    > clem[/ref]

    This is an excellent solution, much better than what I did before. I was
    actually editing the sendmail .cf file to change my FQDN and address. Messy.

    I can simply use my regular email address ricin.com (at a hosting provider)
    too now. Both send-pr and porttools need a slight modification to also take
    the preferred email adress from .ssmtprc. To have the right <from> and be
    also recognised as maintainer by porttools something like this will do:

    --- cmd_submit.orig Tue Mar 29 00:10:35 2005
    +++ cmd_submit Tue Mar 29 00:36:17 2005
    -70,6 +70,11
    COMMITTER="no"
    RUN_PORTLINT="yes"

    +# Set EMAIL to what's in ~/.ssmtprc if it exists
    +if [ -f ${HOME}/.ssmtprc ]; then
    + EMAIL="`cat ${HOME}/.ssmtprc`"
    +fi
    +
    # P command line arguments
    ARGS=`/usr/bin/getopt hm:d:s:p:cL $*`
    if [ $? != 0 ]


    Thanks a lot, sane solution with little effort, just the way I like it :)

    Dan
    Danny Guest

  6. #6

    Default Re: How to get send-pr/porttools working when on a cable (dsl)provider link -- Thanks

    One more remark (for the archives):

    if using mailwrapper, change /etc/mail/mailer.conf to
    have /usr/local/sbin/ssmtp as the sendmail (and other) program.
    Then restart /etc/rc.d/sendmail

    Dan

    On Tuesday 29 March 2005 00:56, Danny Pansters wrote: 
    > >
    > > A very simple and complicated HOWTO :)
    > > http://www.cultdeadsheep.org/~clement/FreeBSD/send-pr+ssmtp.txt
    > >
    > > clem[/ref]
    >
    > This is an excellent solution, much better than what I did before. I was
    > actually editing the sendmail .cf file to change my FQDN and address.
    > Messy.
    >
    > I can simply use my regular email address ricin.com (at a hosting
    > provider) too now. Both send-pr and porttools need a slight modification to
    > also take the preferred email adress from .ssmtprc. To have the right
    > <from> and be also recognised as maintainer by porttools something like
    > this will do:
    >
    > --- cmd_submit.orig Tue Mar 29 00:10:35 2005
    > +++ cmd_submit Tue Mar 29 00:36:17 2005
    > -70,6 +70,11
    > COMMITTER="no"
    > RUN_PORTLINT="yes"
    >
    > +# Set EMAIL to what's in ~/.ssmtprc if it exists
    > +if [ -f ${HOME}/.ssmtprc ]; then
    > + EMAIL="`cat ${HOME}/.ssmtprc`"
    > +fi
    > +
    > # P command line arguments
    > ARGS=`/usr/bin/getopt hm:d:s:p:cL $*`
    > if [ $? != 0 ]
    >
    >
    > Thanks a lot, sane solution with little effort, just the way I like it :)
    >
    > Dan
    > _______________________________________________
    > org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    > To unsubscribe, send any mail to
    > "org"[/ref]
    Danny Guest

Similar Threads

  1. Send for Review Link does not work
    By achlan78 in forum Macromedia Contribute Connection Administrtion
    Replies: 1
    Last Post: September 11th, 11:51 PM
  2. External Link - Send for review problem
    By Smacklau in forum Macromedia Contribute General Discussion
    Replies: 1
    Last Post: May 11th, 06:54 PM
  3. send coded variables with a link?
    By BadOmen in forum PHP Development
    Replies: 5
    Last Post: December 30th, 04:10 AM
  4. Button Link to send you to form on an SSL site
    By Gil in forum Macromedia Dreamweaver
    Replies: 0
    Last Post: July 17th, 04:31 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139