Re: [exim] sending e-mail through a directnic server

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Heiko Schlittermann
Data:  
Para: exim-users
Assunto: Re: [exim] sending e-mail through a directnic server
Hi,

Gary Dale via Exim-users <exim-users@???> (Mi 27 Nov 2019 10:21:18 CST):
> mail from: sendmail@???
> 250 OK
> rcpt to: sendmail@???
> 250 Accepted
> data
> 354 Enter message, ending with "." on a line by itself
> from: sendmail@???
> to: gary@???, garydale@???
> Date: 26 Nov 2019 20:59:00 -0500
> subject: test message from s_client with 2 recipients
> another test message - with a date possibly.
> .
> 250 OK id=1iZmbP-005vB9-E0
> DONE
>
> The mail doesn't get to either "to:" address but does show up in the "rcpt
> to:" inbox.


Yes, it is exactly as mail is supposed to work. The SMTP RCPT TO is the
address, the mail system will deliver the message to (call it the
"envelope"). The To: line is part of the message, a mail system should
not care about the message (to a limited extend).

> From the above, I gather that I have the correct names, ports and
> credentials. However I'm not able to send mail. It just sits in my server's
> mailq.


I do not understand. Above you stated, the mail shows up in the rcpt
to's inbox (the envelope recipient's inbox). No you're telling us, that
it sits in the queue. I'm lost.

> Here's my update-exim4.conf.conf file.
>
> dc_eximconfig_configtype='smarthost'
> dc_other_hostnames='molar.rossland.dental'
> dc_local_interfaces='127.0.0.1 ; ::1'
> dc_readhost=''
> dc_relay_domains=''
> dc_minimaldns='false'
> dc_relay_nets=''
> dc_smarthost='mail.rossland.dental::465'
> CFILEMODE='644'
> dc_use_split_config='false'
> dc_hide_mailname='false'
> dc_mailname_in_oh='true'
> dc_localdelivery='mail_spool'


I'm not sure, if Exim is meanwhile able to use SMTPS (TLS-on-connect) as
a client. As a server, it does, but as a client?

Ah, the spec tells me, it does. There is a SMTP transport option
"protocol", it may be set to "smtps".

So, you'll need to fiddle with your configuration (or with the Debian
provided config files) to use the "protocol" option. Or - try if
molar.rossland.dental allow submission on port 587.

    Best regards
    Heiko Schlittermann
--
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: F69376CE -
 ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -