Discussion:
[SOGo] sendmail using external smtp with multiple users
a***@aftintelligence.com
2015-06-13 08:53:07 UTC
Permalink
Hello,

I am currently setting up a Sogo groupware server, and I am having some issues
with the smtp server.
I opted to use our website host's imap and smtp server with Sogo.
I am able to receive emails however when I follow tutorials to setup sendmail
with and external smtp server, I find that once the email is sent, the
information used to identify sogo for the smtp server is used as the sender
for the email. It makes sense.

My question is how to I configure sendmail to send using the id of the actual
person writing the email? Or is there a setting within the sogo configuration
files that sets the sender id to the user writing the email rather that the
smtp user name?

Ps: our service providers smtp login information is an email.

Thank you for any assistance you may provide.

Alexander
--
***@sogo.nu
https://inverse.ca/sogo/lists
Christian M. Jensen
2015-06-13 11:01:10 UTC
Permalink
Hi Alexander

my suggestion is to allow SOGo to connect to the outgoing smtp by settings

SOGoSMTPAuthenticationType = PLAIN; // only supports plain
SOGoSMTPServer = "IP.OF.SMTP.SERVER";

this way you don't have to use sendmail on your local server, the
settings can be set global and for each domain

Regards
Christian Jensen
Post by a***@aftintelligence.com
Hello,
I am currently setting up a Sogo groupware server, and I am having some issues
with the smtp server.
I opted to use our website host's imap and smtp server with Sogo.
I am able to receive emails however when I follow tutorials to setup sendmail
with and external smtp server, I find that once the email is sent, the
information used to identify sogo for the smtp server is used as the sender
for the email. It makes sense.
My question is how to I configure sendmail to send using the id of the actual
person writing the email? Or is there a setting within the sogo configuration
files that sets the sender id to the user writing the email rather that the
smtp user name?
Ps: our service providers smtp login information is an email.
Thank you for any assistance you may provide.
Alexander
Alexander Emessiri
2015-06-13 12:52:29 UTC
Permalink
<html><head></head><body bgcolor="#FFFFFF" text="#000000" style="background-color: rgb(255, 255, 255); line-height: initial;"> <div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">Hello Christian,</div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><br></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">Thank you for your reply.</div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align: initial;"><br></span></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align: initial;">Well I did try that, but for some reason my service providers smtp server did not allow the connection. ‎Will try again for test reasons.&nbsp;</span></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align: initial;"><br></span></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align: initial;">But the bigger concern is security. Ssl doesn't seem to be supported, and communicating email and password in plain seems dangerous.&nbsp;</span></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align: initial;">Unless I am missing something.&nbsp;</span></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align: initial;"><br></span></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align: initial;">I did not specify, the service provider's smtp server is a remote server.&nbsp;</span></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align: initial;"><br></span></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align: initial;">Am I founded in my concerns ?&nbsp;</span></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align: initial;"><br></span></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align: initial;">Kind regards, &nbsp;</span></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align: initial;"><br></span></div> <div style="font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">Advanced&nbsp;Functional&nbsp;Technology&nbsp;</div> <table width="100%" style="background-color:white;border-spacing:0px;"> <tbody><tr><td colspan="2" style="font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);"> <div style="border-style: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0in 0in; font-family: Tahoma, 'BB Alpha Sans', 'Slate Pro'; font-size: 10pt;"> <div><b>From: </b>Christian M. Jensen</div><div><b>Sent: </b>Saturday 13 June 2015 13:02</div><div><b>To: </b>***@sogo.nu</div><div><b>Reply To: </b>***@sogo.nu</div><div><b>Subject: </b>Re: [SOGo] sendmail using external smtp with multiple users</div></div></td></tr></tbody></table><div style="border-style: solid none none; border-top-color: rgb(186, 188, 209); border-top-width: 1pt; font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);"></div>‎<br><div id="_originalContent" style="background-color: rgb(255, 255, 255);">

<meta content="text/html; charset=windows-1252" http-equiv="Content-Type">


Hi Alexander<br>
<br>
my suggestion is to allow SOGo to connect to the outgoing smtp by
settings<br>
<br>
<small>&nbsp;&nbsp;&nbsp; </small>SOGoSMTPAuthenticationType = PLAIN; // only
supports plain <br>
&nbsp;&nbsp;&nbsp; SOGoSMTPServer = "IP.OF.SMTP.SERVER";<br>
<br>
this way you don't have to use sendmail on your local server, the
settings can be set global and for each domain<br>
<br>
Regards<br>
Christian Jensen<br>
<br>
<br>
<div class="moz-cite-prefix">On 13-06-2015 10:53,
<a class="moz-txt-link-abbreviated" href="mailto:***@aftintelligence.com">***@aftintelligence.com</a> wrote:<br>
</div>
<blockquote cite="mid:***@sogo.nu" type="cite">
<pre wrap="">Hello,

I am currently setting up a Sogo groupware server, and I am having some issues
with the smtp server.
I opted to use our website host's imap and smtp server with Sogo.
I am able to receive emails however when I follow tutorials to setup sendmail
with and external smtp server, I find that once the email is sent, the
information used to identify sogo for the smtp server is used as the sender
for the email. It makes sense.

My question is how to I configure sendmail to send using the id of the actual
person writing the email? Or is there a setting within the sogo configuration
files that sets the sender id to the user writing the email rather that the
smtp user name?

Ps: our service providers smtp login information is an email.

Thank you for any assistance you may provide.

Alexander
</pre>
</blockquote>
<br>


<br><!--end of _originalContent --></div></body></html>
Christian M. Jensen
2015-06-13 15:28:50 UTC
Permalink
hi

you are right the missing ssl/tls is usually a no go now a days, an
other way is to use 'stunnel' for the comunication between your server
and your service provider.

Regards
Christian Jensen
Post by Alexander Emessiri
Hello Christian,
Thank you for your reply.
Well I did try that, but for some reason my service providers smtp
server did not allow the connection. ‎Will try again for test reasons.
But the bigger concern is security. Ssl doesn't seem to be supported,
and communicating email and password in plain seems dangerous.
Unless I am missing something.
I did not specify, the service provider's smtp server is a remote server.
Am I founded in my concerns ?
Kind regards,
Advanced Functional Technology
*From: *Christian M. Jensen
*Sent: *Saturday 13 June 2015 13:02
*Subject: *Re: [SOGo] sendmail using external smtp with multiple users
‎
Hi Alexander
my suggestion is to allow SOGo to connect to the outgoing smtp by settings
SOGoSMTPAuthenticationType = PLAIN; // only supports plain
SOGoSMTPServer = "IP.OF.SMTP.SERVER";
this way you don't have to use sendmail on your local server, the
settings can be set global and for each domain
Regards
Christian Jensen
Post by a***@aftintelligence.com
Hello,
I am currently setting up a Sogo groupware server, and I am having some issues
with the smtp server.
I opted to use our website host's imap and smtp server with Sogo.
I am able to receive emails however when I follow tutorials to setup sendmail
with and external smtp server, I find that once the email is sent, the
information used to identify sogo for the smtp server is used as the sender
for the email. It makes sense.
My question is how to I configure sendmail to send using the id of the actual
person writing the email? Or is there a setting within the sogo configuration
files that sets the sender id to the user writing the email rather that the
smtp user name?
Ps: our service providers smtp login information is an email.
Thank you for any assistance you may provide.
Alexander
Alexander Emessiri
2015-06-15 11:51:10 UTC
Permalink
<html><head></head><body bgcolor="#FFFFFF" text="#000000" style="background-color: rgb(255, 255, 255); line-height: initial;"> <div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">Hi Christian,</div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><br></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">I see. Is that how you configured your system?&nbsp;</div> <div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><br style="display:initial"></div> <div style="font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">Advanced&nbsp;Functional&nbsp;Technology&nbsp;</div> <table width="100%" style="background-color:white;border-spacing:0px;"> <tbody><tr><td colspan="2" style="font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);"> <div style="border-style: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0in 0in; font-family: Tahoma, 'BB Alpha Sans', 'Slate Pro'; font-size: 10pt;"> <div><b>From: </b>Christian M. Jensen</div><div><b>Sent: </b>Sunday 14 June 2015 14:03</div><div><b>To: </b>***@sogo.nu</div><div><b>Reply To: </b>***@sogo.nu</div><div><b>Subject: </b>Re: [SOGo] sendmail using external smtp with multiple users</div></div></td></tr></tbody></table><div style="border-style: solid none none; border-top-color: rgb(186, 188, 209); border-top-width: 1pt; font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);"></div><br><div id="_originalContent" style="background-color: rgb(255, 255, 255);">

<meta content="text/html; charset=utf-8" http-equiv="Content-Type">


hi<br>
<br>
you are right the missing ssl/tls is usually a no go now a days, an
other way is to use 'stunnel' for the comunication between your
server and your service provider.<br>
<br>
Regards<br>
Christian Jensen<br>
<br>
<div class="moz-cite-prefix">On 13-06-2015 14:52, Alexander Emessiri
wrote:<br>
</div>
<blockquote cite="mid:***@aftintelligence.com" type="cite">
<div style="width: 100%; font-size: initial; font-family: Calibri,
'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align:
initial; background-color: rgb(255, 255, 255);">Hello Christian,</div>
<div style="width: 100%; font-size: initial; font-family: Calibri,
'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align:
initial; background-color: rgb(255, 255, 255);"><br>
</div>
<div style="width: 100%; font-size: initial; font-family: Calibri,
'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align:
initial; background-color: rgb(255, 255, 255);">Thank you for
your reply.</div>
<div style="width: 100%; font-size: initial; font-family: Calibri,
'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align:
initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align:
initial;"><br>
</span></div>
<div style="width: 100%; font-size: initial; font-family: Calibri,
'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align:
initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align:
initial;">Well I did try that, but for some reason my service
providers smtp server did not allow the connection. ‎Will try
again for test reasons.&nbsp;</span></div>
<div style="width: 100%; font-size: initial; font-family: Calibri,
'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align:
initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align:
initial;"><br>
</span></div>
<div style="width: 100%; font-size: initial; font-family: Calibri,
'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align:
initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align:
initial;">But the bigger concern is security. Ssl doesn't seem
to be supported, and communicating email and password in plain
seems dangerous.&nbsp;</span></div>
<div style="width: 100%; font-size: initial; font-family: Calibri,
'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align:
initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align:
initial;">Unless I am missing something.&nbsp;</span></div>
<div style="width: 100%; font-size: initial; font-family: Calibri,
'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align:
initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align:
initial;"><br>
</span></div>
<div style="width: 100%; font-size: initial; font-family: Calibri,
'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align:
initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align:
initial;">I did not specify, the service provider's smtp
server is a remote server.&nbsp;</span></div>
<div style="width: 100%; font-size: initial; font-family: Calibri,
'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align:
initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align:
initial;"><br>
</span></div>
<div style="width: 100%; font-size: initial; font-family: Calibri,
'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align:
initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align:
initial;">Am I founded in my concerns ?&nbsp;</span></div>
<div style="width: 100%; font-size: initial; font-family: Calibri,
'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align:
initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align:
initial;"><br>
</span></div>
<div style="width: 100%; font-size: initial; font-family: Calibri,
'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align:
initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align:
initial;">Kind regards, &nbsp;</span></div>
<div style="width: 100%; font-size: initial; font-family: Calibri,
'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align:
initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align:
initial;"><br>
</span></div>
<div style="font-size: initial; font-family: Calibri, 'Slate Pro',
sans-serif; color: rgb(31, 73, 125); text-align: initial;
background-color: rgb(255, 255, 255);">Advanced&nbsp;Functional&nbsp;Technology&nbsp;</div>
<table style="background-color:white;border-spacing:0px;" width="100%">
<tbody>
<tr>
<td colspan="2" style="font-size: initial; text-align:
initial; background-color: rgb(255, 255, 255);">
<div style="border-style: solid none none;
border-top-color: rgb(181, 196, 223); border-top-width:
1pt; padding: 3pt 0in 0in; font-family: Tahoma, 'BB
Alpha Sans', 'Slate Pro'; font-size: 10pt;">
<div><b>From: </b>Christian M. Jensen</div>
<div><b>Sent: </b>Saturday 13 June 2015 13:02</div>
<div><b>To: </b><a class="moz-txt-link-abbreviated" href="mailto:***@sogo.nu">***@sogo.nu</a></div>
<div><b>Reply To: </b><a class="moz-txt-link-abbreviated" href="mailto:***@sogo.nu">***@sogo.nu</a></div>
<div><b>Subject: </b>Re: [SOGo] sendmail using external
smtp with multiple users</div>
</div>
</td>
</tr>
</tbody>
</table>
‎<br>
<div id="_originalContent" style="background-color: rgb(255, 255,
255);">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
Hi Alexander<br>
<br>
my suggestion is to allow SOGo to connect to the outgoing smtp
by settings<br>
<br>
<small>&nbsp;&nbsp;&nbsp; </small>SOGoSMTPAuthenticationType = PLAIN; // only
supports plain <br>
&nbsp;&nbsp;&nbsp; SOGoSMTPServer = "IP.OF.SMTP.SERVER";<br>
<br>
this way you don't have to use sendmail on your local server,
the settings can be set global and for each domain<br>
<br>
Regards<br>
Christian Jensen<br>
<br>
<br>
<div class="moz-cite-prefix">On 13-06-2015 10:53, <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:***@aftintelligence.com">***@aftintelligence.com</a>
wrote:<br>
</div>
<blockquote cite="mid:***@sogo.nu" type="cite">
<pre wrap="">Hello,

I am currently setting up a Sogo groupware server, and I am having some issues
with the smtp server.
I opted to use our website host's imap and smtp server with Sogo.
I am able to receive emails however when I follow tutorials to setup sendmail
with and external smtp server, I find that once the email is sent, the
information used to identify sogo for the smtp server is used as the sender
for the email. It makes sense.

My question is how to I configure sendmail to send using the id of the actual
person writing the email? Or is there a setting within the sogo configuration
files that sets the sender id to the user writing the email rather that the
smtp user name?

Ps: our service providers smtp login information is an email.

Thank you for any assistance you may provide.

Alexander
</pre>
</blockquote>
<br>
<br>
<!--end of _originalContent --></div>
</blockquote>
<br>


<br><!--end of _originalContent --></div><br><br></body></html>
Christian M. Jensen
2015-06-16 14:19:46 UTC
Permalink
Hi Alexander,
Post by Alexander Emessiri
I see. Is that how you configured your system?
Nope, well i did try but i found that using postfix for this was a lot
easier, but eventually went with setting it all on the same server
instead of maintaining users in multiple systems

Regards
Christian Jensen

Angelo Machils
2015-06-14 13:22:37 UTC
Permalink
Hello,

I have noticed this with the stock Android email app as well as with the Win10 Mail program: no matter what I choose to download, it only shows the last couple of emails. I would like to see all emails in certain (or even all) folders. If I connect with IMAP I can do this, but not with the Exchange module of SOGo. Is this a limitation, config parameter or???

Regards, Angelo
--
***@sogo.nu
https://inverse.ca/sogo/lists
Loading...