On Tue, Dec 30, 2014 at 10:22:12PM +0100, Ulrich Grassberger wrote:
> Hello,
> 

Hello,


> i started with BASIC as a kid in the early eighties and installed OpenBSD
> 5.6 on a laptop for me and my mother. Windows is elegant for many uses but
> limited (by money). I am trying to use $ mail with a dial-up internet
> connection, trying to connect with POP3 and SMTP to my and my mother's mail
> accounts at remote servers. The people at [email protected] could not help
> me.
> 
> Users can send and receive mail locally.
> 
> Out of the box four instances of smtpd were running, but after installing
> Thunderbird, seven instances are. Why?
>

I'm not sure I understand what you're saying:

$ ps auxwww |grep smtpd
root      3813  0.0  0.0  1812  2104 ??  Is    23Dec14    0:00.13 smtpd: [priv] 
(smtpd)
_smtpd    1399  0.0  0.0  1544  1852 ??  I     23Dec14    0:00.00 smtpd: 
klondike (smtpd)
_smtpq   12972  0.0  0.0  2160  2792 ??  I     23Dec14    0:03.21 smtpd: queue 
(smtpd)
_smtpd   14756  0.0  0.0  1800  2224 ??  I     23Dec14    0:00.29 smtpd: 
control (smtpd)
_smtpd    2977  0.0  0.0  1832  2444 ??  I     23Dec14    0:00.51 smtpd: lookup 
(smtpd)
_smtpd   31401  0.0  0.0  1484  1984 ??  I     23Dec14    0:00.33 smtpd: 
scheduler (smtpd)
_smtpd    9364  0.0  0.0  1832  2956 ??  I     23Dec14    0:00.66 smtpd: pony 
express (smtpd)
$ 

There are seven processes, and they are all created at startup, there is
never only four.


> In order to be able to use $ mail for sending mail to my remote mail accout,
> i did this:
> 
> # touch /etc/mail/secrets
> # chmod 640 /etc/mail/secrets
> # chown root:_smtpd /etc/mail/secrets
> # echo "label [email protected]:password" > /etc/mail/secrets
> # makemap /etc/mail/secrets
>
> *smtpd.conf*:
> 
> listen on lo0
> table aliases db:/etc/mail/aliases.db
> table secrets db:/etc/mail/secrets.db
> accept for local alias <aliases> deliver to mbox
> accept for any relay via tls+auth://[email protected]@smtp.versatel.de \
                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is not correct, above you have declared:

    label [email protected]:password

note that your key is "label", so the line should read:

    accept for any relay via tls+auth://[email protected]
                                        ^^^^^

>       auth <secrets>
> 
> 
> When I do $ mail -s test [email protected], then the mail is not
> delivered:
> 
> 554 MX does not exist
> received: from localhost
> from: Ulrich Grassberger ([email protected])
> 
> (I do not know how to insert text from the terminal into Thunderbird in
> Unix.)
> 
> I figure i need masquerading in order to change [email protected] to
> [email protected], but smtpd does not have that yet. Does anyone have an
> idea how to approach my goal?
> 

you can setup an /etc/mail/mailname file, or change the machine hostname
to versanet.de, both should work

-- 
Gilles Chehade

https://www.poolp.org                                          @poolpOrg

-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to