-   Slackware (
-   -   sendmail and I (

carlitoco 04-24-2013 04:28 AM

sendmail and I
I've a full installation of Slackware and try to configure my sendmail.

If I write a testmail to my gmail account, I see the sender is my router like this:

shanzha is right in the /etc/hosts.
But if I change, in the next testmail the sender is not changed.

I want

carlitoco 04-24-2013 04:50 AM

Ok I changed with netconfig
/etc/hosts into: mydomain

the testmail sender is now

whats happened in my router with the mail ?

Richard Cranium 04-24-2013 10:46 AM

You aren't going to get a lot of help unless you provide more details. Such as what sendmail configuration changes you've already made and if you have successfully configured sendmail on other systems before.

volkerdi 04-24-2013 03:13 PM


Ok I changed with netconfig
/etc/hosts into: mydomain

the testmail sender is now
Well, first of all, that's not correct /etc/hosts syntax above having "mydomain" as the host name as well as "shanzha"[]. But none of that should really matter for configuring sendmail for outgoing mail anyway. If I understand correctly, you want to be able to set the domain that is applied to outgoing mail. To do that, you need to use the masquerade macro in the "local info" section of your /etc/mail/


# who I masquerade as (null for no masquerading) (see also $=M)

carlitoco 04-25-2013 09:24 AM

Okay thank you so far.

In my opinion it's urgent to configure tls-sasl authentication.
My "red wire" to build a self-signed cert.


bash-4.2$ tree
|-- cacert.pem
|-- certs
|-- crl
|-- index.txt
|-- index.txt.attr
|-- index.txt.old
|-- newcert.pem
|-- newcerts
|  `-- 01.pem
|-- newreq.pem
|-- openssl.cnf
|-- openssl.cnf~
|-- private
|  `-- cakey.pem
|-- serial
|-- serial.old
`-- tmp.pem

4 directories, 13 files

in the it's different named
CA.cert.pem = ? cacert.pem
smtp.cert.pem = ? 01.pem
smtp.key.pem = ? cakey.pem

Is this right ?

carlitoco 04-26-2013 05:05 AM

Hey I started my rc.sendmail and rc.saslauth deamons but don't see the imap service at port 143

I configured my sendmail like this and build the certs.

As firewall, I checked the open ports with and without, I use Alien Bobs generator

Why I don't see the service, the last time I set up sendmail's been too long.

Richard Cranium 04-26-2013 08:49 PM

sendmail is not imap

If you want imap, you should start imapd.

All times are GMT -5. The time now is 09:39 AM.