Re: mutt + reply-to

2007-11-03 Thread Stuart Henderson
On 2007/11/02 18:48, Sean Darby wrote:
 Thank you very much for the info! I appreciate it a lot.
 
 I've now updated my /etc/mail/trusted-users file with my [EMAIL PROTECTED]
 address (which is what I currently have in my from: field in my muttrc).
 
 Regarding the link you provided (on cvs.openbsd.org...)
 
 How would I use that?

cd /usr/share/sendmail/cf, copy submit.mc to another file (e.g.
openbsd-submit.mc) and add these lines:

define(`confCT_FILE', `-o MAIL_SETTINGS_DIR`'trusted-users')dnl
FEATURE(`use_ct_file')dnl

type 'make openbsd-submit.cf' and copy the resulting file to
/etc/mail/sendmail.cf

next upgrade, submit.cf will get overwritten so you'll need to
copy it across again.



Re: mutt + reply-to

2007-11-03 Thread Stuart Henderson
On 2007/11/03 11:01, Antoine Jacoutot wrote:
 On Sat, 3 Nov 2007, Stuart Henderson wrote:
 type 'make openbsd-submit.cf' and copy the resulting file to
 /etc/mail/sendmail.cf

 Shouldn't it be /etc/mail/submit.cf

Yes, oops!



Re: mutt + reply-to

2007-11-03 Thread Antoine Jacoutot

On Sat, 3 Nov 2007, Stuart Henderson wrote:

type 'make openbsd-submit.cf' and copy the resulting file to
/etc/mail/sendmail.cf


Shouldn't it be /etc/mail/submit.cf

--
Antoine



Re: mutt + reply-to

2007-11-03 Thread Sean Darby
Thank you! :^)

So would I do this:

1. cd /etc/mail/
2. cp submit.cf openbsd-submit.cf
3. ...add this to openbsd-submit.cf:

define(`confCT_FILE', `-o MAIL_SETTINGS_DIR`'trusted-users')dnl
FEATURE(`use_ct_file')dnl

4. make openbsd-submit.cf (while in /etc/mail/)
5. cp openbsd-submit.cf sendmail.cf (while in /etc/mail/)

(6. ...redo the steps when I upgrade to OpenBSD 4.2.)

I hope I'm not leaving anything out.



Re: mutt + reply-to

2007-11-03 Thread Stuart Henderson
On 2007/11/03 05:59, Sean Darby wrote:
 1. cd /etc/mail/

You are confused between /etc/mail (dir holding config files
used by sendmail) and /usr/share/sendmail/cf (dir holding files
used to *build* these config files).

cd /usr/share/sendmail/cf
copy submit.mc to openbsd-submit.mc and add these lines:

define(`confCT_FILE', `-o MAIL_SETTINGS_DIR`'trusted-users')dnl
FEATURE(`use_ct_file')dnl

type 'make openbsd-submit.cf' and copy the resulting file to
/etc/mail/submit.cf (not sendmail.cf as I originally wrote; typo,
sorry and thanks ajacoutot for pointing it out).



Re: mutt + reply-to

2007-11-03 Thread Ingo Schwarze
Hi Sean,

 I realize this isn't directly OpenBSD-related, though believe I came
 across a message in misc a while back

That was me (on ports@, not misc@).

 that discussed including a reply-to field in mutt.

Er, well, mutt is able to set the Reply-To: all right.
It is trivial to set arbitrary headers in mutt when composing mail.
The point was making it _ask_ for the Reply-To:,
just like it is always asking you for the Subject:
and like it can be configured to ask for the Cc:.

Anyway, your question seems to be related to sendmail rather
than mutt, and sthen@  Co. appear to have answered it.  :)

Yours,
  Ingo



Re: mutt + reply-to

2007-11-03 Thread Sean Darby
 I went ahead and made a backup of /etc/mail/submit.cf and copied it into
 (replacing) /etc/mail/submit.cf.

 Correction: I copied the newly created openbsd-submit.cf into/replacing
 /etc/mail/submit.cf.



Re: mutt + reply-to

2007-11-03 Thread Sean Darby
Hi,

Thank you for correcting me.

I did as you noted, placed those lines in openbsd-submit.mc (at the bottom).

Here's the 'make' step, from /usr/share/sendmail/cf/, it had an error:

$ sudo make openbsd-submit.cf
rm -f openbsd-submit.cf
( cd /usr/share/sendmail/cf  /usr/bin/m4
/usr/share/sendmail/cf/../m4/cf.m4 op enbsd-submit.mc 
/usr/share/sendmail/cf/openbsd-submit.cf )
*** ERROR: FEATURE() should be before MAILER()
echo ### openbsd-submit.mc ### openbsd-submit.cf
sed -e 's/^/# /' /usr/share/sendmail/cf/openbsd-submit.mc 
openbsd-submit.cf
chmod 444 openbsd-submit.cf
$ ls openbsd-submit.
openbsd-submit.cf openbsd-submit.mc

Perhaps the error was because there wasn't an openbsd-submit.cf to 'rm' in
the first place? I'm not sure.

Either way, it created it still, from the 'ls'.

I went ahead and made a backup of /etc/mail/submit.cf and copied it into
(replacing) /etc/mail/submit.cf.

Should I be concerned about that error that popped up on the 'make' command
above?



On 11/3/07, Stuart Henderson [EMAIL PROTECTED] wrote:

 On 2007/11/03 05:59, Sean Darby wrote:
  1. cd /etc/mail/

 You are confused between /etc/mail (dir holding config files
 used by sendmail) and /usr/share/sendmail/cf (dir holding files
 used to *build* these config files).

 cd /usr/share/sendmail/cf
 copy submit.mc to openbsd-submit.mc and add these lines:

 define(`confCT_FILE', `-o MAIL_SETTINGS_DIR`'trusted-users')dnl
 FEATURE(`use_ct_file')dnl

 type 'make openbsd-submit.cf' and copy the resulting file to
 /etc/mail/submit.cf (not sendmail.cf as I originally wrote; typo,
 sorry and thanks ajacoutot for pointing it out).




-- 
Phone: 217.766.1312



Re: mutt + reply-to

2007-11-02 Thread Stuart Henderson
On 2007/11/02 17:38, Sean Darby wrote:
  I checked the full headers and found:
  X-Authentication-Warning: (myhostname): sean set
  sender to (alternateaddress) using -f

this can be fixed with something like
http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=4951
(and add yourself to /etc/mail/trusted-users)

  My guess is due to that warning other accounts block
  or spamify the email upon delivery, not really sure.

Divining spam filtering at large sites is a black art.



Re: mutt + reply-to

2007-11-02 Thread Okan Demirmen
On Fri 2007.11.02 at 22:50 +, Stuart Henderson wrote:
 On 2007/11/02 17:38, Sean Darby wrote:
   I checked the full headers and found:
   X-Authentication-Warning: (myhostname): sean set
   sender to (alternateaddress) using -f
 
 this can be fixed with something like
 http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=4951
 (and add yourself to /etc/mail/trusted-users)

or use the relatively new smtp_url variable (mutt 1.5.15+)



Re: mutt + reply-to

2007-11-02 Thread Sean Darby
Hi Stuart,

Thank you very much for the info! I appreciate it a lot.

I've now updated my /etc/mail/trusted-users file with my [EMAIL PROTECTED]
address (which is what I currently have in my from: field in my muttrc).

Regarding the link you provided (on cvs.openbsd.org...)

How would I use that?

(Sorry, I'm not a computer guru and that page was a little confusing for
me.)

Thanks!

Sean


On 11/2/07, Stuart Henderson [EMAIL PROTECTED] wrote:

 On 2007/11/02 17:38, Sean Darby wrote:
   I checked the full headers and found:
   X-Authentication-Warning: (myhostname): sean set
   sender to (alternateaddress) using -f

 this can be fixed with something like
 http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=4951
 (and add yourself to /etc/mail/trusted-users)

   My guess is due to that warning other accounts block
   or spamify the email upon delivery, not really sure.

 Divining spam filtering at large sites is a black art.



Re: mutt + reply-to

2007-11-02 Thread Sean Darby
Hi Okan,

Thank you for the info - very much appreciated.

I'm still running OpenBSD 4.1, my mutt is at 1.4.2.2i (2006-07-14).

Is there a way to get mutt 1.5.15+ while still on 4.1?

(Hopefully without messing with any current emails/settings or 4.1settings.)

I'm not a pro with computers but always open to reading up on necessary
things.

What can I find out about that
smtp_url variable? (How to use it or similar.)

Thank you very much!

Sean


On 11/2/07, Okan Demirmen [EMAIL PROTECTED] wrote:

 On Fri 2007.11.02 at 22:50 +, Stuart Henderson wrote:
  On 2007/11/02 17:38, Sean Darby wrote:
I checked the full headers and found:
X-Authentication-Warning: (myhostname): sean set
sender to (alternateaddress) using -f
 
  this can be fixed with something like
  http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=4951
  (and add yourself to /etc/mail/trusted-users)

 or use the relatively new smtp_url variable (mutt 1.5.15+)



Re: mutt + reply-to

2007-11-02 Thread Darren Spruell
On Nov 2, 2007 4:48 PM, Sean Darby [EMAIL PROTECTED] wrote:
 Hi Stuart,

 Thank you very much for the info! I appreciate it a lot.

 I've now updated my /etc/mail/trusted-users file with my [EMAIL PROTECTED]
 address (which is what I currently have in my from: field in my muttrc).

er, no.

/usr/share/sendmail/README:
  names of users that will be ``trusted'', that is, able to
  set their envelope from address using -f without generating
  a warning message.

In other words, you list your local Unix user in the file, not an email address.

DS



Re: mutt + reply-to

2007-11-02 Thread Sean Darby
 er, no.

 /usr/share/sendmail/README:
   names of users that will be ``trusted'', that is, able to
   set their envelope from address using -f without generating
   a warning message.

 In other words, you list your local Unix user in the file, not an email
 address.

 DS


Okay. My local unix username is sean... I'll remove the email address and
plug sean in place of it.
Thanks for correcting me on that.



Re: mutt + reply-to

2007-11-02 Thread Okan Demirmen
On Fri 2007.11.02 at 18:53 -0500, Sean Darby wrote:
 I'm still running OpenBSD 4.1, my mutt is at 1.4.2.2i (2006-07-14).
 
 Is there a way to get mutt 1.5.15+ while still on 4.1?

well, not officially...it is in 4.2 however :)

 What can I find out about that
 smtp_url variable? (How to use it or similar.)

really simple, but it's in the manpage, once you have mutt 1.5.15 or
higher.