Setting reply-to: for mailx in .mailrc

Ask a Question related to Sun Solaris, Design and Development.

  1. #1

    Default Re: Setting reply-to: for mailx in .mailrc

    On Thu, 24 Jul 2003 19:15:33 -0700, Susan Mathews
    <smathews@socrates.berkeley.edu> wrote:
    > Using mailx you can set the "reply-to:" using -r, e.g.:
    > mailx -s "subject" -r othermailaddress@machine toperson@machine < filein
    >
    > But I'd like to set it for all the email going out of my account (so I
    > can not receive mail on that account). I can do this in the .pinerc. On
    > other unices you can set a REPLYTO environment variable which mailx will
    > read. This doesn't seem to work on SunOS 5.8. Any ideas on what I could
    > put in the .mailrc to set the "reply-to:" mail header?
    > Susan Mathews UC Berkeley
    >
    If your using sendmail for your MTA, check the genericstable feature out.

    --
    Barton Fisk

    Using M2, Opera's revolutionary e-mail client: [url]http://www.opera.com/m2/[/url]

    Barton Fisk Guest

  2. Similar Questions and Discussions

    1. reply
      What kind of problems ? Please explain with error messages, etc. Would be nice also to give some details of your system (Operating System) Ray
    2. pls do reply
      How do i get the process id into a variable ? can any one help $pid = qx(ps -f|grep srvtst26); print "Server Started : $pid \n
    3. do not reply
      Don't tell me what to do! "Dave Slater" <elninia@nospam.adelphia.net> wrote in message news:uIXXa.9708$jg.2578237@news1.news.adelphia.net...
    4. Sending SMTP mail via mailx
      I am confused on how mailx actually sends mail via SMTP ... and receive the actual mail on Mozilla on windows2000. 1) What confuses me is that I...
    5. Solaris 8: cpu overload when using mailx for checkpoint firewallalerting
      Hi all, I am using Checkpoint NG FP1, on Solaris 8. I configured alerts using mailx on dropped packets. However, when there is a ``rush'' of...
  3. #2

    Default Re: Setting reply-to: for mailx in .mailrc

    In article [email]F7B03590@socrates.berkeley.edu[/email], Susan Mathews <smathews@socrates.berkeley.edu> writes:
    >Using mailx you can set the "reply-to:" using -r, e.g.:
    >mailx -s "subject" -r othermailaddress@machine toperson@machine < filein
    >
    >But I'd like to set it for all the email going out of my account (so I
    >can not receive mail on that account). I can do this in the .pinerc. On
    >other unices you can set a REPLYTO environment variable which mailx will
    >read. This doesn't seem to work on SunOS 5.8. Any ideas on what I could
    >put in the .mailrc to set the "reply-to:" mail header?
    > Susan Mathews UC Berkeley
    >
    I do it this way:

    in a script called MySendmail:
    (echo "From: othermailaddress@machine" ; cat ) | /usr/lib/sendmail $@

    in ~/.mailrc
    set sendmail=<path>/MySendmail


    ---
    \|/
    o o
    ___________________oOO_(_)_OOo____________________ __________________
    Florian Stiassny [email]Florian.Stiassny@motorola.com[/email]


    Florian Stiassny Guest

Posting Permissions

  • You may not post new threads
  • You may 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