I need help with smail. I tried following the advice given below to
another
Debian user. It got me close, but not quite there.
My ISP account is [EMAIL PROTECTED]
My Debian account (home pc) is [EMAIL PROTECTED]
My full name is (Russell Cook).
Here is the result of my attempt to send mail from my home machine
to my office machine.
< test message follows>
To: Russell D. [EMAIL PROTECTED]@WOSF
Cc:
Bcc:
From: "russcook" <[EMAIL PROTECTED]>
Subject: test message
Create Date: Monday, September 28, 1998 8:09 PM
Send Date: Wednesday, December 31, 1969 7:00 PM
Attach:
Certify: N
-------------------------------------------------------------------------
This is a test message from [EMAIL PROTECTED] after reconfiguring smail.
<End test message>
In the file /etc/smail/maps/from I put my Debian account names in the left
column,
and my Icon.net account name in the right hand column. Did I do this
correctly,
or backwards? For example,
/etc/smail/maps/from
russ [EMAIL PROTECTED] (Russell Cook)
If someone would like to see my config files, I'd be happy to post them.
I'm not at my
home machine right now.
Is there a web site where I can read smail docs and FAQs? The documentation
on my
machine is in "info" format or some such, and I don't know how to format it
for reading.
Also, I use fetchmail and Pine to read my mail. Fetchmail connects, and
retrieves my mail -
I have verbose set, so I know it connects and transfers messages, and I
have the keep option
active. However, no messages are saved on my machine.
/var/spool/mail/russ is a zero length
file. The mail does not seem to be in my home directory either. Can
anyone suggest things
to check?
This is a long post. I hope someone can help.
Thanks,
Russ
Russell Cook, Engineering Branch
WSR-88D Operational Support Facility
(405)366-6520 x4237
[EMAIL PROTECTED], [EMAIL PROTECTED]
----------
> From: Martin Bialasinski <[EMAIL PROTECTED]>
> To: Debian Userslist <[email protected]>
> Subject: Re: wrong From: and/or Return-Path:
> Date: Sunday, September 27, 1998 10:53 AM
>
>
> >> "HMG" == Horacio Menezo Ganau <[EMAIL PROTECTED]> writes:
>
> [Headerrewriting with smail]
>
> HMG> Please, send any answers to "[EMAIL PROTECTED]" since I don't
think a
> HMG> reply to this message will work (in fact, if I try to make a reply
to any of
>
> Well, I send it to the list. Shouldn't be a problem, right?
>
> Try this (I got it from someone else some time ago):
>
> -----[/etc/smail/routers]-----
> smart_host:
> driver=smarthost, transport=smtp-remap;
> path=your.providers.smtp.host
>
> - -----[/etc/smail/transports]-----
>
> [...]
>
> smtp-remap:
> driver=tcpsmtp, max_addrs=100, -max_chars, inet,
> remove_header="From",
> insert_header="From:
${lookup:from:lsearch{maps/[EMAIL PROTECTED] ($from:
$fullname)}}",
> remove_header="Message-ID",
> insert_header="Message-ID: <[EMAIL PROTECTED]>",
> insert_header="Sender:
${lookup:from:lsearch{maps/[EMAIL PROTECTED] ($from:
$fullname)}}";
> use_bind, defer_no_connect, -local_mx_okay, defnames
>
> - -----[/etc/smail/maps/from]-----
> root [EMAIL PROTECTED] (root)
> martinb [EMAIL PROTECTED] (Martin Bialasinski)
> robot [EMAIL PROTECTED] (Testuser)
> - -----[end]-----
>
> So, smail will use the address on the right for the user on the
> left. If the user is not found in the file, the default address in the
> transports file will be used.
>
> HTH,
> Martin
>
>
> --
> Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] <
/dev/null