Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: n1546660 on March 24, 2005, 01:14:32 AM

Title: e-mail problems
Post by: n1546660 on March 24, 2005, 01:14:32 AM
Hi all, I have a strange problem I would like to put to you all and see what you think.

The problem is that I am having trouble sending e-mail from my PC to the internet via my ISP's mail server.  Nothing seems to get delivered.  I am behind a 6.01 server/gateway which up until a month or so ago had been working perfectly.  When I send an e-mail on my PC, it normally goes through the gateway, and from there onto the internet, but I suspect that something strange is happening with the e-smith server/gateway.  

When I tail the mail log on the server I can see that it is recieving the e-mails.  And in the server-manager, when I look at the summary of the mail logs it tells me I have 19 messages queued.  Every time I send an e-mail, this figure increments.  

My question is why would it even go to the e-smith mail server?  Shouldn't it go directly to my ISP's mail server?  Why is e-smith trapping it?  My e-smith server knows nothing about my ISP's mail server so why is it trying to capture my mail messages?  Anyway I wasn't sure if this is actually what it was supposed to do so I am here posting this question...what is going on?

If you would like log output, please ask and I'll attach it.  

Thank you very much.

- Andy Gray
Title: e-mail problems
Post by: Smitro on March 24, 2005, 02:53:17 AM
It is possible that your ISP is blocking your port 25 out. Although interesting that they don't block it from coming in... but they may have done it to reduce spam. Best thing to do is to give them what they want. Route the mail through there mail server. You can either set it up in the server-manager, or in your email client just put in your ISP's mail server when it asked for SMTP address.
Title: Re: e-mail problems
Post by: raem on March 24, 2005, 05:31:48 AM
n1546660

My question is why would it even go to the e-smith mail server?  Shouldn't it go directly to my ISP's mail server?  Why is e-smith trapping it

From v6.0 release notes

- A transparent SMTP proxy has been added, to force all outgoing SMTP
  connections to go through the SME server. This feature enhances security
  with respect to viruses and worms that use SMTP to propagate themselves.

  If you wish to disable this proxy, you can do so via:

  /sbin/e-smith/config setprop smtpfront-qmail Proxy disabled
  /sbin/e-smith/signal-event remoteaccess-update
Title: e-mail problems
Post by: n1546660 on March 24, 2005, 08:10:39 AM
Smitro: I am not using my server as my e-mail gateway, so my PC is already setup to use my ISP's mail server, but as Ray pointed out, there is a mail proxy installed.  I will try the commands to disable the proxy and see if that helps.  I will post the outcome.

Thanks heaps!

- Andy Gray
Title: similar problem.
Post by: Dopehead on March 24, 2005, 11:41:46 AM
I have a similar problem.
I run FileExchange on my SME box. (php file manager) and it has a sendfile function.
All this does is send an e-mail with a download link in it.

Since a few day's the e-mails are not being received anymore.
Looking at the QMAIL logs tells me the mails are beeing queued but not send to the receipients SMTP server.
A reboot of the SME box will send the e-mails however.
The log then shows that the mails were transffered successfull.

<snip>
@4000000042429fe2133bce24 starting delivery 1: msg 631609 to remote admin@xxxxxxx.com
@4000000042429fe2133be594 status: local 0/10 remote 1/20
@4000000042429fe215391cf4 starting delivery 2: msg 631616 to remote harald@xxxxxxxx.nl
@4000000042429fe215393464 status: local 0/10 remote 2/20

<This is when I rebooted the SME server>

@4000000042429fe2210d99ec delivery 2: success: 129.10.10.170_accepted_message./Remote_host_said:_250_2.6.0__<20050324105822.3072.qmail@fileexchange.xxxxxxx.com>_Queued_mail_for_delivery/
@4000000042429fe2215948ec status: local 0/10 remote 1/20
@4000000042429fe2215c13c4 end msg 631616
@4000000042429fe22201b61c delivery 1: success: 129.10.10.170_accepted_message./Remote_host_said:_250_2.6.0__<20050324105403.2733.qmail@fileexchange.xxxxxxxx.com>_Queued_mail_for_delivery/
@4000000042429fe22201cd8c status: local 0/10 remote 0/20
@4000000042429fe22201dd2c end msg 631609

<snip>

I edited the domain name before posting for obvious reasons.
129.10.10.170 is an internal Exchange server.
Anyone have any idea ?
Title: e-mail problems
Post by: n1546660 on March 25, 2005, 12:08:36 AM
Well initial tests show that the commands worked:
 /sbin/e-smith/config setprop smtpfront-qmail Proxy disabled
/sbin/e-smith/signal-event remoteaccess-update

I seem to be able to send at the moment.  Thanks heaps!

- Andy
Title: e-mail problems
Post by: splunk on March 25, 2005, 05:27:45 PM
I can't seem to find where in Server-Manager to set up my ISPs outgoing email server.
Title: e-mail problems
Post by: Smitro on March 25, 2005, 11:14:03 PM
Under "Email" Then there is a box there that says...

"Address of Internet provider's mail server"
Title: e-mail problems
Post by: splunk on March 26, 2005, 01:36:29 AM
I should've come back to clarify.  I found that box but couldn't find where to enter the username/password for the smtp addy of my ISP.
Title: e-mail problems
Post by: raem on March 26, 2005, 01:48:22 AM
splunk

> but couldn't find where to enter the username/password for the smtp addy of my ISP

I think you are looking for SMTP auth

A search on "authenticated SMTP" would have found this:

http://no.longer.valid/phpwiki/index.php/OutboundSMTPAuth
Title: e-mail problems
Post by: raem on March 26, 2005, 02:01:59 AM
splunk

You might also take a look at sme 6.5 RC1

See the release notes
http://no.longer.valid/phpwiki/index.php/SME%20Server%20Announce%20v6.5

Item 6b.Integrate smtp-auth allowing external relay with auth
Title: e-mail problems
Post by: Dopehead on March 29, 2005, 08:39:41 AM
Quote from: "n1546660"
Well initial tests show that the commands worked:
 /sbin/e-smith/config setprop smtpfront-qmail Proxy disabled
/sbin/e-smith/signal-event remoteaccess-update

I seem to be able to send at the moment.  Thanks heaps!

- Andy


That did not work for me  :-(
The log still shows that the e-mails are beeing queued, but never send.
Can anyone point me in the right direction please.