Community Discussions and Support
Deleting Mails automatically and a problem with smtp

eGroupware is not a mail client.

Nope. Egroupware is a mail client! Maybe in some older versions it wasnt one but now it is (but its not so comfortable as an real mail-client is).

A 'smarthost' is an SMTP server that handles ALL outgoing mail for the eGroupware application, "there can be only one..."

Also Nope. I can use as many SMTP-servers (or smarthosts or however you like to call it) as I want to. The problem is the authentification. As i wrote some posts ago: When I configure mercury to relay only mails for my domain than I can send mails from egroupware regardless of which account I use (thats what I want) and all is working well. But I cannot use SMTP AUTH. My intention was to configure mercury to only relay for its own domain and to use SMTP AUTH, but if I enable SMTP AUTH all other opitons are greyed out and mercury relays all mails that are authenticated (equal for which domain).

 


<blockquote>eGroupware is not a mail client.</blockquote><p>Nope. Egroupware is a mail client! Maybe in some older versions it wasnt one but now it is (but its not so comfortable as an real mail-client is).</p><blockquote><p>A 'smarthost' is an SMTP server that handles ALL outgoing mail for the eGroupware application, "there can be only one..." </p></blockquote><p>Also Nope. I can use as many SMTP-servers (or smarthosts or however you like to call it) as I want to. The problem is the authentification. As i wrote some posts ago: When I configure mercury to relay only mails for my domain than I can send mails from egroupware regardless of which account I use (thats what I want) and all is working well. But I cannot use SMTP AUTH. My intention was to configure mercury to only relay for its own domain and to use SMTP AUTH, but if I enable SMTP AUTH all other opitons are greyed out and mercury relays all mails that are authenticated (equal for which domain). </p><p> </p><p> </p>

Hi Guys,

there are two things that are breaking my brain.

I have an account which is collecting Spam-mails and I want to auto-delete the messages in this account after a period of, for example, 30 days. Is this possible with Mercury?

My second problem: My Mercury collects all data that passes port 25, also when the mails are not for its own domain. I will give a short explanation: I`m working with egroupware. There I have configured my own domain account and some freemail accounts for sending mails (I have a maildomain behind a dynamic ip, so my mails are not good enough for some servers). Sending the mails with my own domain is no problem, but when I send a mail over a freemail account, mercury takes the message and want to deliver it by its own. But as i already explained: I only have a dynamic ip and the freemail providers didnt like any mail relayed from a mailserver with a dynamic ip. If I configure my mercury to only relay messages for his domain its working also fine, but I want to use the SMTP-AUTH feature.

One possible way is to change my username and password in egroupware to one that is different from that, which I use with Mercury. Do you know any other ways to solve this problem.

With many thanks and kind regards.

Rasta

P.S. I hope you understand my questions, I`m from germany and my english is very rusty [A]

<p>Hi Guys,</p><p>there are two things that are breaking my brain.</p><p>I have an account which is collecting Spam-mails and I want to auto-delete the messages in this account after a period of, for example, 30 days. Is this possible with Mercury?</p><p>My second problem: My Mercury collects all data that passes port 25, also when the mails are not for its own domain. I will give a short explanation: I`m working with egroupware. There I have configured my own domain account and some freemail accounts for sending mails (I have a maildomain behind a dynamic ip, so my mails are not good enough for some servers). Sending the mails with my own domain is no problem, but when I send a mail over a freemail account, mercury takes the message and want to deliver it by its own. But as i already explained: I only have a dynamic ip and the freemail providers didnt like any mail relayed from a mailserver with a dynamic ip. If I configure my mercury to only relay messages for his domain its working also fine, but I want to use the SMTP-AUTH feature.</p><p>One possible way is to change my username and password in egroupware to one that is different from that, which I use with Mercury. Do you know any other ways to solve this problem.</p><p>With many thanks and kind regards.</p><p>Rasta </p><p>P.S. I hope you understand my questions, I`m from germany and my english is very rusty [A] </p>

[quote user="Rasta"]Hi Guys,

there are two things that are breaking my brain.

I have an account which is collecting Spam-mails and I want to auto-delete the messages in this account after a period of, for example, 30 days. Is this possible with Mercury?

Nope, it does not work mail in an email account except to deliver it.  I send all spam to a separate account but I service the account with PMail and you can setup filters in PMail to delete based on age.  A folder close rule using a "Message age" type filter is quite handy.

My second problem: My Mercury collects all data that passes port 25, also when the mails are not for its own domain. I will give a short explanation: I`m working with egroupware. There I have configured my own domain account and some freemail accounts for sending mails (I have a maildomain behind a dynamic ip, so my mails are not good enough for some servers). Sending the mails with my own domain is no problem, but when I send a mail over a freemail account, mercury takes the message and want to deliver it by its own. But as i already explained: I only have a dynamic ip and the freemail providers didnt like any mail relayed from a mailserver with a dynamic ip. If I configure my mercury to only relay messages for his domain its working also fine, but I want to use the SMTP-AUTH feature.

One possible way is to change my username and password in egroupware to one that is different from that, which I use with Mercury. Do you know any other ways to solve this problem.

Not sure of the problem.  MercuryC can use both SMTP AUTH and secure connections if you are using v4.62.  Are you saying that this does not work for you with  your relay hosts?

With many thanks and kind regards.

Rasta

P.S. I hope you understand my questions, I`m from germany and my english is very rusty [A][/quote]

<blockquote>[quote user="Rasta"]Hi Guys,<p>there are two things that are breaking my brain.</p><p>I have an account which is collecting Spam-mails and I want to auto-delete the messages in this account after a period of, for example, 30 days. Is this possible with Mercury?</p></blockquote><p>Nope, it does not work mail in an email account except to deliver it.  I send all spam to a separate account but I service the account with PMail and you can setup filters in PMail to delete based on age.  A folder close rule using a "Message age" type filter is quite handy. </p><blockquote><p>My second problem: My Mercury collects all data that passes port 25, also when the mails are not for its own domain. I will give a short explanation: I`m working with egroupware. There I have configured my own domain account and some freemail accounts for sending mails (I have a maildomain behind a dynamic ip, so my mails are not good enough for some servers). Sending the mails with my own domain is no problem, but when I send a mail over a freemail account, mercury takes the message and want to deliver it by its own. But as i already explained: I only have a dynamic ip and the freemail providers didnt like any mail relayed from a mailserver with a dynamic ip. If I configure my mercury to only relay messages for his domain its working also fine, but I want to use the SMTP-AUTH feature.</p><p>One possible way is to change my username and password in egroupware to one that is different from that, which I use with Mercury. Do you know any other ways to solve this problem.</p></blockquote><p>Not sure of the problem.  MercuryC can use both SMTP AUTH and secure connections if you are using v4.62.  Are you saying that this does not work for you with  your relay hosts? </p><blockquote><p>With many thanks and kind regards.</p><p>Rasta </p><p>P.S. I hope you understand my questions, I`m from germany and my english is very rusty [A][/quote]</p></blockquote>

Thank you for your fast reply.

At the moment I use Thunderbird, I think I must have a look at Pegasus Mail.

I think the problem belongs to egroupware not to mercury. With every mail, regardless of which Mail-Account you send the mail, egroupware transmits the authentification of the systemaccount of egroupware. And in my case this is the same authentification like that of mercury. My hope is, that it is possible to configure mercury, that it will ignore mails who are destinated to a yahoo-account or so. When I renounce the SMTP-AUTH and configure mercury to only relay for the local domain, than it works fine. Any idea?

 

 

 

 

<p>Thank you for your fast reply.</p><p>At the moment I use Thunderbird, I think I must have a look at Pegasus Mail.</p><p>I think the problem belongs to egroupware not to mercury. With every mail, regardless of which Mail-Account you send the mail, egroupware transmits the authentification of the systemaccount of egroupware. And in my case this is the same authentification like that of mercury. My hope is, that it is possible to configure mercury, that it will ignore mails who are destinated to a yahoo-account or so. When I renounce the SMTP-AUTH and configure mercury to only relay for the local domain, than it works fine. Any idea?</p><p> </p><p>  </p><p> </p><p> </p>

[quote user="Rasta"]I think the problem belongs to egroupware not to mercury. With every mail, regardless of which Mail-Account you send the mail, egroupware transmits the authentification of the systemaccount of egroupware. And in my case this is the same authentification like that of mercury. My hope is, that it is possible to configure mercury, that it will ignore mails who are destinated to a yahoo-account or so. When I renounce the SMTP-AUTH and configure mercury to only relay for the local domain, than it works fine. Any idea? [/quote]

I need to see a MercuryS session log showing a connection from egroupware to verify what is happening.  I'm not so sure what the problem is though with the authentication long as you have the username and password for the egroupware system account.  It should be received and passed to core for processing.  If it's outbound then it's up to MercuryC to authenticate to the relay host using it's username and password assuming the relay host allows authenticated connections to relay.

 

<p>[quote user="Rasta"]I think the problem belongs to egroupware not to mercury. With every mail, regardless of which Mail-Account you send the mail, egroupware transmits the authentification of the systemaccount of egroupware. And in my case this is the same authentification like that of mercury. My hope is, that it is possible to configure mercury, that it will ignore mails who are destinated to a yahoo-account or so. When I renounce the SMTP-AUTH and configure mercury to only relay for the local domain, than it works fine. Any idea? [/quote]</p><p>I need to see a MercuryS session log showing a connection from egroupware to verify what is happening.  I'm not so sure what the problem is though with the authentication long as you have the username and password for the egroupware system account.  It should be received and passed to core for processing.  If it's outbound then it's up to MercuryC to authenticate to the relay host using it's username and password assuming the relay host allows authenticated connections to relay.</p><p>  </p>

OK, here it comes. This is a "normal" mail from egroupware from my domain-account to my account at my job:

 

20:11:23.359: Connection from 192.168.15.2, Thu Mar 19 20:11:23 2009<lf>
20:11:23.359: << 220 virtual-imperium.de ESMTP server ready.<cr><lf>
20:11:23.375: >> EHLO virtual-imperium.de<cr><lf>
20:11:23.375: << 250-virtual-imperium.de Hello virtual-imperium.de; ESMTPs are:<cr><lf>250-TIME<cr><lf>
20:11:23.375: << 250-SIZE 0<cr><lf>
20:11:23.375: << 250-AUTH CRAM-MD5 LOGIN<cr><lf>
20:11:23.375: << 250-AUTH=LOGIN<cr><lf>
20:11:23.375: << 250 HELP<cr><lf>
20:11:23.375: >> AUTH LOGIN<cr><lf>
20:11:23.375: << 334 *********<cr><lf>
20:11:23.375: >> ********<cr><lf>
20:11:23.375: << 334 ********<cr><lf>
20:11:23.375: >> ***********<cr><lf>
20:11:23.375: << 235 Authentication successful.<cr><lf>
20:11:23.375: >> MAIL FROM:<*******@virtual-imperium.de><cr><lf>
20:11:23.390: << 250 Sender OK - send RCPTs.<cr><lf>
20:11:23.390: >> RCPT TO:<*******@singulus.de><cr><lf>
20:11:23.390: << 250 Recipient OK - send RCPT or DATA.<cr><lf>
20:11:23.390: >> DATA<cr><lf>
20:11:23.390: << 354 OK, send data, end with CRLF.CRLF<cr><lf>
20:11:23.390: >> Date: Thu, 19 Mar 2009 20:11:23 +0100<cr><lf>
20:11:23.390: >> Return-Path: *******@virtual-imperium.de<cr><lf>
20:11:23.390: >> To: ********@singulus.de<cr><lf>
20:11:23.390: >> From: ********* <*********@virtual-imperium.de><cr><lf>
20:11:23.390: >> Subject: test<cr><lf>
20:11:23.390: >> Message-ID: <**********@virtual-imperium.de><cr><lf>
20:11:23.390: >> X-Priority: 3<cr><lf>
20:11:23.390: >> X-Mailer: PHPMailer (phpmailer.codeworxtech.com) [version 2.1]<cr><lf>
20:11:23.390: >> X-Mailer: FeLaMiMail<cr><lf>
20:11:23.390: >> MIME-Version: 1.0<cr><lf>
20:11:23.390: >> Content-Transfer-Encoding: quoted-printable<cr><lf>
20:11:23.390: >> Content-Type: text/plain; charset="utf-8"<cr><lf>
20:11:23.390: >> <cr><lf>
20:11:23.390: >> <cr><lf>
20:11:23.390: >> <cr><lf>
20:11:23.390: >> <cr><lf>
20:11:23.390: >> .<cr><lf>
20:11:23.390: << 250 Data received OK.<cr><lf>
20:11:23.390: >> QUIT<cr><lf>
20:11:23.406: << 221 virtual-imperium.de Service closing channel.<cr><lf>
20:11:23.406: --- Connection closed normally at Thu Mar 19 20:11:23 2009. ---
20:11:23.406:


And this is the log from egroupware and a yahoo-account to my jobs account:

20:12:39.843: Connection from 192.168.15.2, Thu Mar 19 20:12:39 2009<lf>
20:12:39.843: << 220 virtual-imperium.de ESMTP server ready.<cr><lf>
20:12:39.859: >> EHLO virtual-imperium.de<cr><lf>
20:12:39.859: << 250-virtual-imperium.de Hello virtual-imperium.de; ESMTPs are:<cr><lf>250-TIME<cr><lf>
20:12:39.859: << 250-SIZE 0<cr><lf>
20:12:39.859: << 250-AUTH CRAM-MD5 LOGIN<cr><lf>
20:12:39.859: << 250-AUTH=LOGIN<cr><lf>
20:12:39.859: << 250 HELP<cr><lf>
20:12:39.859: >> AUTH LOGIN<cr><lf>
20:12:39.859: << 334 ********<cr><lf>
20:12:39.859: >> ********<cr><lf>
20:12:39.859: << 334 ********<cr><lf>
20:12:39.859: >> ********<cr><lf>
20:12:39.859: << 235 Authentication successful.<cr><lf>
20:12:39.859: >> MAIL FROM:<*******@virtual-imperium.de><cr><lf>
20:12:39.859: << 250 Sender OK - send RCPTs.<cr><lf>
20:12:39.859: >> RCPT TO:<*******@singulus.de><cr><lf>
20:12:39.859: << 250 Recipient OK - send RCPT or DATA.<cr><lf>
20:12:39.859: >> DATA<cr><lf>
20:12:39.859: << 354 OK, send data, end with CRLF.CRLF<cr><lf>
20:12:39.859: >> Date: Thu, 19 Mar 2009 20:12:39 +0100<cr><lf>
20:12:39.859: >> Return-Path: *******@virtual-imperium.de<cr><lf>
20:12:39.859: >> To: ********@singulus.de<cr><lf>
20:12:39.859: >> From: ******** <********@yahoo.de><cr><lf>
20:12:39.859: >> Subject: test<cr><lf>
20:12:39.859: >> Message-ID: <************@virtual-imperium.de><cr><lf>
20:12:39.859: >> X-Priority: 3<cr><lf>
20:12:39.859: >> X-Mailer: PHPMailer (phpmailer.codeworxtech.com) [version 2.1]<cr><lf>
20:12:39.859: >> X-Mailer: FeLaMiMail<cr><lf>
20:12:39.859: >> MIME-Version: 1.0<cr><lf>
20:12:39.875: >> Content-Transfer-Encoding: quoted-printable<cr><lf>
20:12:39.875: >> Content-Type: text/plain; charset="utf-8"<cr><lf>
20:12:39.875: >> <cr><lf>
20:12:39.875: >> <cr><lf>
20:12:39.875: >> <cr><lf>
20:12:39.875: >> <cr><lf>
20:12:39.875: >> .<cr><lf>
20:12:39.875: << 250 Data received OK.<cr><lf>
20:12:39.875: >> QUIT<cr><lf>
20:12:39.875: << 221 virtual-imperium.de Service closing channel.<cr><lf>
20:12:39.875: --- Connection closed normally at Thu Mar 19 20:12:39 2009. ---
20:12:39.875:

 

You can see that egroupware makes a failure, it uses the same auth-credentials in both cases (I have ****** the credentials, but it was both the same). The only difference is the FROM: field, at the first is my virtual-imperium.de domain and on the other there is the yahoo.de domain specified. I think i'm right whith my suspicion that the failure lies on egroupware. Is there a way to forbid mercury to accept those mails?

Thank you very much for your support.

&lt;p&gt;OK, here it comes. This is a &quot;normal&quot; mail from egroupware from my domain-account to my account at my job:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;20:11:23.359: Connection from 192.168.15.2, Thu Mar 19 20:11:23 2009&amp;lt;lf&amp;gt; 20:11:23.359: &amp;lt;&amp;lt; 220 virtual-imperium.de ESMTP server ready.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.375: &amp;gt;&amp;gt; EHLO virtual-imperium.de&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.375: &amp;lt;&amp;lt; 250-virtual-imperium.de Hello virtual-imperium.de; ESMTPs are:&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;250-TIME&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.375: &amp;lt;&amp;lt; 250-SIZE 0&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.375: &amp;lt;&amp;lt; 250-AUTH CRAM-MD5 LOGIN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.375: &amp;lt;&amp;lt; 250-AUTH=LOGIN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.375: &amp;lt;&amp;lt; 250 HELP&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.375: &amp;gt;&amp;gt; AUTH LOGIN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.375: &amp;lt;&amp;lt; 334 *********&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.375: &amp;gt;&amp;gt; ********&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.375: &amp;lt;&amp;lt; 334 ********&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.375: &amp;gt;&amp;gt; ***********&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.375: &amp;lt;&amp;lt; 235 Authentication successful.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.375: &amp;gt;&amp;gt; MAIL FROM:&amp;lt;*******@virtual-imperium.de&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;lt;&amp;lt; 250 Sender OK - send RCPTs.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;gt;&amp;gt; RCPT TO:&amp;lt;*******@singulus.de&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;lt;&amp;lt; 250 Recipient OK - send RCPT or DATA.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;gt;&amp;gt; DATA&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;lt;&amp;lt; 354 OK, send data, end with CRLF.CRLF&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;gt;&amp;gt; Date: Thu, 19 Mar 2009 20:11:23 +0100&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;gt;&amp;gt; Return-Path: *******@virtual-imperium.de&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;gt;&amp;gt; To: ********@singulus.de&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;gt;&amp;gt; From: ********* &amp;lt;*********@virtual-imperium.de&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;gt;&amp;gt; Subject: test&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;gt;&amp;gt; Message-ID: &amp;lt;**********@virtual-imperium.de&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;gt;&amp;gt; X-Priority: 3&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;gt;&amp;gt; X-Mailer: PHPMailer (phpmailer.codeworxtech.com) [version 2.1]&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;gt;&amp;gt; X-Mailer: FeLaMiMail&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;gt;&amp;gt; MIME-Version: 1.0&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;gt;&amp;gt; Content-Transfer-Encoding: quoted-printable&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;gt;&amp;gt; Content-Type: text/plain; charset=&quot;utf-8&quot;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;gt;&amp;gt; &amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;gt;&amp;gt; &amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;gt;&amp;gt; &amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;gt;&amp;gt; &amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;gt;&amp;gt; .&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;lt;&amp;lt; 250 Data received OK.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.390: &amp;gt;&amp;gt; QUIT&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.406: &amp;lt;&amp;lt; 221 virtual-imperium.de Service closing channel.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:11:23.406: --- Connection closed normally at Thu Mar 19 20:11:23 2009. --- 20:11:23.406: &lt;/p&gt;&lt;p&gt; And this is the log from egroupware and a yahoo-account to my jobs account:&lt;/p&gt;&lt;p&gt;20:12:39.843: Connection from 192.168.15.2, Thu Mar 19 20:12:39 2009&amp;lt;lf&amp;gt; 20:12:39.843: &amp;lt;&amp;lt; 220 virtual-imperium.de ESMTP server ready.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;gt;&amp;gt; EHLO virtual-imperium.de&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;lt;&amp;lt; 250-virtual-imperium.de Hello virtual-imperium.de; ESMTPs are:&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;250-TIME&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;lt;&amp;lt; 250-SIZE 0&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;lt;&amp;lt; 250-AUTH CRAM-MD5 LOGIN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;lt;&amp;lt; 250-AUTH=LOGIN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;lt;&amp;lt; 250 HELP&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;gt;&amp;gt; AUTH LOGIN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;lt;&amp;lt; 334 ********&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;gt;&amp;gt; ********&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;lt;&amp;lt; 334 ********&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;gt;&amp;gt; ********&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;lt;&amp;lt; 235 Authentication successful.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;gt;&amp;gt; MAIL FROM:&amp;lt;*******@virtual-imperium.de&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;lt;&amp;lt; 250 Sender OK - send RCPTs.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;gt;&amp;gt; RCPT TO:&amp;lt;*******@singulus.de&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;lt;&amp;lt; 250 Recipient OK - send RCPT or DATA.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;gt;&amp;gt; DATA&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;lt;&amp;lt; 354 OK, send data, end with CRLF.CRLF&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;gt;&amp;gt; Date: Thu, 19 Mar 2009 20:12:39 +0100&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;gt;&amp;gt; Return-Path: *******@virtual-imperium.de&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;gt;&amp;gt; To: ********@singulus.de&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;gt;&amp;gt; From: ******** &amp;lt;********@yahoo.de&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;gt;&amp;gt; Subject: test&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;gt;&amp;gt; Message-ID: &amp;lt;************@virtual-imperium.de&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;gt;&amp;gt; X-Priority: 3&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;gt;&amp;gt; X-Mailer: PHPMailer (phpmailer.codeworxtech.com) [version 2.1]&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;gt;&amp;gt; X-Mailer: FeLaMiMail&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.859: &amp;gt;&amp;gt; MIME-Version: 1.0&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.875: &amp;gt;&amp;gt; Content-Transfer-Encoding: quoted-printable&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.875: &amp;gt;&amp;gt; Content-Type: text/plain; charset=&quot;utf-8&quot;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.875: &amp;gt;&amp;gt; &amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.875: &amp;gt;&amp;gt; &amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.875: &amp;gt;&amp;gt; &amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.875: &amp;gt;&amp;gt; &amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.875: &amp;gt;&amp;gt; .&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.875: &amp;lt;&amp;lt; 250 Data received OK.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.875: &amp;gt;&amp;gt; QUIT&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.875: &amp;lt;&amp;lt; 221 virtual-imperium.de Service closing channel.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:12:39.875: --- Connection closed normally at Thu Mar 19 20:12:39 2009. --- 20:12:39.875: &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You can see that egroupware makes a failure, it uses the same auth-credentials in both cases (I have ****** the credentials, but it was both the same). The only difference is the FROM: field, at the first is my virtual-imperium.de domain and on the other there is the yahoo.de domain specified. I think i&#039;m right whith my suspicion that the failure lies on egroupware. Is there a way to forbid mercury to accept those mails?&lt;/p&gt;&lt;p&gt;Thank you very much for your support. &lt;/p&gt;

eGroupware seems to be operating correctly, using your Mercury as a smarthost.

The problem is in the next step of the delivery process when MercuryC hands it off to your ISP smarthost or MercuryE attempts direct delivery.

Which SMTP client module are you using?

It is the configuration of this that is your problem.

Mail with a from address @yahoo.de "should" be coming from a yahoo.de server, not yours, and some systems will be set up to reject such messages.

 

For the autodelete of the SPAM mail, Thunderbird has options for deleting old mail from an account automatically.

For a server based solution I have a batch file that runs daily and removes old *.CNM files from the SPAMuser based on the file timestamp.

&lt;p&gt;eGroupware seems to be operating correctly, using your Mercury as a smarthost.&lt;/p&gt;&lt;p&gt;The problem is in the next step of the delivery process when MercuryC hands it off to your ISP smarthost or MercuryE attempts direct delivery.&lt;/p&gt;&lt;p&gt;Which SMTP client module are you using?&lt;/p&gt;&lt;p&gt; It is the configuration of this that is your problem. &lt;/p&gt;&lt;p&gt;Mail with a from address @yahoo.de &quot;should&quot; be coming from a yahoo.de server, not yours, and some systems will be set up to reject such messages. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;For the autodelete of the SPAM mail, Thunderbird has options for deleting old mail from an account automatically.&lt;/p&gt;&lt;p&gt;For a server based solution I have a batch file that runs daily and removes old *.CNM files from the SPAMuser based on the file timestamp. &lt;/p&gt;

You can see that egroupware makes a failure, it uses the same

auth-credentials in both cases (I have ****** the credentials, but it

was both the same).

That's not a failure, that's typical.  The authorization of a server is generally not by user but by server. That's what is done in MercuryC as well.
The only difference is the FROM: field, at the

first is my virtual-imperium.de domain and on the other there is the

yahoo.de domain specified. I think i'm right whith my suspicion that

the failure lies on egroupware. Is there a way to forbid mercury to

accept those mails?

MercuryS does not really look at the body of the messages though but if you want to block all mail to MercuryS where the From: field has a  domain virtual-imperium.de it can be blocked with either a MercuryS transaction filter or a global rule but I would find out and fix the problem in egroupware. ;-) 

FWIW, it might not be a problem in the software but may be users configuration.  If a sender is using a simple username many servers acting as a mail user agent will automatically add their domain to the username to generate a full valid SMTP From: address. 

 

 

 

 

&lt;blockquote&gt;You can see that egroupware makes a failure, it uses the same auth-credentials in both cases (I have ****** the credentials, but it was both the same). &lt;/blockquote&gt;That&#039;s not a failure, that&#039;s typical.&amp;nbsp; The authorization of a server is generally not by user but by server. That&#039;s what is done in MercuryC as well. &lt;blockquote&gt;The only difference is the FROM: field, at the first is my virtual-imperium.de domain and on the other there is the yahoo.de domain specified. I think i&#039;m right whith my suspicion that the failure lies on egroupware. Is there a way to forbid mercury to accept those mails?&lt;/blockquote&gt;&lt;p&gt;MercuryS does not really look at the body of the messages though but if you want to block all mail to MercuryS where the From: field has a&amp;nbsp; domain virtual-imperium.de it can be blocked with either a MercuryS transaction filter or a global rule but I would find out and fix the problem in egroupware. ;-)&amp;nbsp; &lt;/p&gt;&lt;p&gt;FWIW, it might not be a problem in the software but may be users configuration.&amp;nbsp; If a sender is using a simple username many servers acting as a mail user agent will automatically add their domain to the username to generate a full valid SMTP From: address.&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

@dilberts_left_nut: Thank you for the hint with the Thunderbird-Filter, i have tested it and it works fine.

Yes you are right: egroupware uses mercury as a smarthost but it shouldnt use mercury as a smarthost. 

>> Mail with a from address @yahoo.de "should" be coming from a yahoo.de

server, not yours, and some systems will be set up to reject such

messages.

Also right, and that is my problem: egroupware uses the mercury for relaying but it should use the yahoo.de mailserver for relaying (it has the credentials for SMTP-AUTH to the yahoo-server). I think i must "redesign" my egroupware configuration or use another software.

 

@Thomas R. Stephenson: My desire was to handle the mail-accounts in egroupware like it is possible in Thunderbird or some other mail-clients. But the possiblities of configuration are very rudimental in egroupware. In this forum i read a lots of squirrel-mail. Can squirrel-mail handle multiple mail-accounts under one user-account?

 

 

&lt;p&gt;@dilberts_left_nut: Thank you for the hint with the Thunderbird-Filter, i have tested it and it works fine. &lt;/p&gt;&lt;p&gt;Yes you are right: egroupware uses mercury as a smarthost but it shouldnt use mercury as a smarthost.&amp;nbsp;&lt;/p&gt;&lt;blockquote&gt;&lt;blockquote&gt;&lt;p&gt;&amp;gt;&amp;gt; Mail with a from address @yahoo.de &quot;should&quot; be coming from a yahoo.de server, not yours, and some systems will be set up to reject such messages.&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;p&gt;Also right, and that is my problem: egroupware uses the mercury for relaying but it should use the yahoo.de mailserver for relaying (it has the credentials for SMTP-AUTH to the yahoo-server). I think i must &quot;redesign&quot; my egroupware configuration or use another software. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;@Thomas R. Stephenson: My desire was to handle the mail-accounts in egroupware like it is possible in Thunderbird or some other mail-clients. But the possiblities of configuration are very rudimental in egroupware. In this forum i read a lots of squirrel-mail. Can squirrel-mail handle multiple mail-accounts under one user-account?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;/p&gt;

[quote]I think i must "redesign" my egroupware configuration or use another software[/quote]

You just need to replace the Mercury details in the smarthost settings with the Yahoo server details.

 [quote]Can squirrel-mail handle multiple mail-accounts under one user-account?[/quote]

No. Squirrelmail is just a web front end to an IMAP server. You can only log in to one IMAP account at a time.

&lt;p&gt;[quote]I think i must &quot;redesign&quot; my egroupware configuration or use another software[/quote]&lt;/p&gt;&lt;p&gt;You just need to replace the Mercury details in the smarthost settings with the Yahoo server details.&lt;/p&gt;&lt;p&gt;&amp;nbsp;[quote]Can squirrel-mail handle multiple mail-accounts under one user-account?[/quote]&lt;/p&gt;&lt;p&gt;No. Squirrelmail is just a web front end to an IMAP server. You can only log in to one IMAP account at a time. &lt;/p&gt;

You just need to replace the Mercury details in the smarthost settings with the Yahoo server details.

Thats not so easy. My Egroupware has one primary account for each user (the one that is hosted by mercury) and the possibilty to create multiple accounts which can be defined by the users. The primary account must have IMAP-access and the others (which can be defined by the user) can use the same IMAP structure or you can define a new one for each account.

If it would be possible to define a smarthost for each account, I wouldnt have a problem anymore, but you cannot define a smarthost anyway (or I didnt found the place where to do this until now).

 

&lt;blockquote&gt;You just need to replace the Mercury details in the smarthost settings with the Yahoo server details.&lt;/blockquote&gt;&lt;p&gt;Thats not so easy. My Egroupware has one primary account for each user (the one that is hosted by mercury) and the possibilty to create multiple accounts which can be defined by the users. The primary account must have IMAP-access and the others (which can be defined by the user) can use the same IMAP structure or you can define a new one for each account. &lt;/p&gt;&lt;p&gt;If it would be possible to define a smarthost for each account, I wouldnt have a problem anymore, but you cannot define a smarthost anyway (or I didnt found the place where to do this until now). &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

It sounds like you are trying to ride two bicycles at once [:D]

eGroupware is not a mail client.

A 'smarthost' is an SMTP server that handles ALL outgoing mail for the eGroupware application, "there can be only one..."

 

&lt;p&gt;It sounds like you are trying to ride two bicycles at once [:D]&lt;/p&gt;&lt;p&gt;eGroupware is not a mail client.&lt;/p&gt;&lt;p&gt;A &#039;smarthost&#039; is an SMTP server that handles ALL outgoing mail for the eGroupware application, &quot;there can be only one...&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;/p&gt;

[quote user="Rasta"]

I have an account which is collecting Spam-mails and I want to auto-delete the messages in this account after a period of, for example, 30 days. Is this possible with Mercury?

[/quote]

No, but by using some external tool which can be run by scheduler once per day or so like this one: http://www.xs4all.nl/~chi/utilities/delold.html

To delete mail oder than 30 days you would use something like "delold.exe c:\mercury\mail\spam\*.cnm /d=30".

Best regards,

Nico

&lt;P&gt;[quote user=&quot;Rasta&quot;]&lt;P&gt;I have an account which is collecting Spam-mails and I want to auto-delete the messages in this account after a period of, for example, 30 days. Is this possible with Mercury?&lt;/P&gt;&lt;P&gt;[/quote]&lt;/P&gt;&lt;P&gt;No, but by using some external tool which can be run by scheduler once per day or so like this one: http://www.xs4all.nl/~chi/utilities/delold.html&lt;/P&gt;&lt;P&gt;To delete mail oder than 30 days you would use something like &quot;delold.exe c:\mercury\mail\spam\*.cnm /d=30&quot;.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Nico&lt;/P&gt;&lt;P&gt;&lt;/P&gt;

> @Thomas R. Stephenson: My desire was to handle the mail-accounts in
> egroupware like it is possible in Thunderbird or some other
> mail-clients. But the possiblities of configuration are very
> rudimental in egroupware. In this forum i read a lots of
> squirrel-mail. Can squirrel-mail handle multiple mail-accounts under
> one user-account?

SquirrelMail connects to MercuryS as a regular SMTP client and each users mail is sent from the user using their ESMTP authorization and From: address. It's pretty much like any other email client.    

&amp;gt; @Thomas R. Stephenson: My desire was to handle the mail-accounts in &amp;gt; egroupware like it is possible in Thunderbird or some other &amp;gt; mail-clients. But the possiblities of configuration are very &amp;gt; rudimental in egroupware. In this forum i read a lots of &amp;gt; squirrel-mail. Can squirrel-mail handle multiple mail-accounts under &amp;gt; one user-account? SquirrelMail connects to MercuryS as a regular SMTP client and each users mail is sent from the user using their ESMTP authorization and From: address. It&#039;s pretty much like any other email client.&amp;nbsp;&amp;nbsp; &amp;nbsp;
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft