Toni Mueller | 2 Dec 2008 08:23

Re: Finding the lost mails??


Hi,

On Thu, 06.11.2008 at 11:22:09 +0100, Jimmy Spam <spamis <at> pobladores.com> wrote:
> I have more allowed connections than mail processed by qmail-scanner. Where are the rest 
> of mail???

perhaps some messages were not accepted due to the client prematurely
closing the connection, or other illegal stuff in their SMTP dialogue.

Kind regards,
--Toni++

Jimmy Spam | 4 Dec 2008 12:25

Re: Finding the lost mails??

"Toni Mueller" <support <at> oeko.net> escribió:

> > (...)
> perhaps some messages were not accepted due to the client prematurely
> closing the connection, or other illegal stuff in their SMTP dialogue.

Yes, now I also think that some connection are closed with an apparent "ok" at smtp level, but then they doesn't send anything, so nothing appear on qmail-scanner's log.

I have noticed the number of message processed by qmail-scanner and qmail-send and they're too similar (as it should be) and connections which appear in smtp log but not in qmail-scanner log, came from spammers.

Regards and thank you very much,

Spamis

Philipp Kolloczek | 10 Dec 2008 10:16
Picon
Favicon

RE: qmail-ldap's smtp-auth -> more info for failures

Ok, i must have been tired...
After looking at auth_smtp.c I've found what I had forgotten.

qmail logs failures with an additional line
"warning: auth_fail: <string>"
what is just what I was looking for.

Greets
Phil.

> -----Original Message-----
> From: Philipp Kolloczek [mailto:kollo-qmail <at> muenster.de]
> Sent: Wednesday, December 10, 2008 10:06 AM
> To: 'qmail-ldap <at> qmail-ldap.org'
> Subject: qmail-ldap's smtp-auth -> more info for failures
> 
> Hello.
> 
> I'm trying to get qmail-ldap to write more info to
> the log on an "authentication error" in the smtp-auth
> process.
> 
> Actualy qmail-smtp only logs the failure without
> giving more infos. It would be nice in cases of
> support calls to have the username a user tried
> within the failure notice, like it is on a success.
> 
> Any knows of a patch for that?
> 
> Greets
> Phil.

Philipp Kolloczek | 10 Dec 2008 10:05
Picon
Favicon

qmail-ldap's smtp-auth -> more info for failures

Hello.

I'm trying to get qmail-ldap to write more info to
the log on an "authentication error" in the smtp-auth
process.

Actualy qmail-smtp only logs the failure without
giving more infos. It would be nice in cases of
support calls to have the username a user tried
within the failure notice, like it is on a success.

Any knows of a patch for that?

Greets
Phil.

piyush joshi | 12 Dec 2008 06:50
Picon

Removing duplicate messages

Dear Team,
                   Now i have a requirement in which i want if we send and receive any message and if the message contains same mail id more than one time in the To, CC, BCC field
than it only accept or send message one time to the user ( Remove duplicate ). i have searched a lot in google or other mailing list as well but did not find any solution so far.
 
Please share your experience with me which will help me and other qmail users as well.


--
Regards

Piyush Joshi
9415414376
Scott Ryan | 13 Dec 2008 02:12
Picon
Gravatar

Re: Forward all mails to other server, how?

creating an SMTP route ?

On Fri, Dec 12, 2008 at 4:12 PM, Jimmy Spam <spamis <at> pobladores.com> wrote:
> Hi,
>
> probably I'll integrate a new mail gateway for antivirus and antispan
> filtering soon. This gateway haven't smtp-auth by itself, so, I have thinked
> this for integrate it into my network:
>
> GW = MailGateway
> MS = MailServer (qmail-ldap)
>
> From external servers, all connections arrive to GW: 192.168.1.1:25. GW
> accept mail if it's a mail for my domain, filter an redirect to MS:
> 192.168.1.2:X. MS delivery the messages.
>
> From my clients, all connections arrive to MS:192.168.1.2:25 or 587 port
> directly. MS should forward all mails to GW: 192.168.1.1:25. GW filter and
> redirect to MS: 192.168.1.2:X and finally, MS delivery the mail to internal
> or external user.
>
> The problem is: How can I forward incoming MS mail to GW?
>
> Thanks!
>

--

-- 
Scott Ryan

******************************************************
Cheap memory cards - SD / Memory Stick Pro /
MicroSD / USB pen drives / XD cards
From SA's leading online memory card store:
www.bitsandchips.co.za
*****************************************************

Philipp Kolloczek | 13 Dec 2008 10:54
Picon
Favicon

RE: Forward all mails to other server, how?

Hello.

From: Jimmy Spam [mailto:spamis <at> pobladores.com] 

>From my clients, all connections arrive to MS:192.168.1.2:25 or 587 port
directly. MS >should forward all mails to GW: 192.168.1.1:25. GW filter and
redirect to MS: >192.168.1.2:X and finally, MS delivery the mail to internal
or external user.

>The problem is: How can I forward incoming MS mail to GW?

As mentioned smtp-routes may help you.
But maybe another approach is acceptable for you.

In our installation we do a spam and an optional virus scan ( user based
option )
on every incoming mail. For that we use the QUMAILQUEUE feature and simscan
which than makes a stream connection to our spamassassin farm.

This gives us the possibility to have a general spam score and an additional
score for SMTP-authed connection. But in the end every mail gets a
spamassassin
header and a score.

Additional, based on user decision saved in the ldap mail gets scanned for 
viruses at smtp-time or afterwards if it is not spam by directing it to
different virus scanner hosts. This is done by maildrop and a normal smtp
transfer. Virus scanner hosts have just one mailroute to our primary mail
system.

SMTP-time scanning uses stream connects through a patched simscan and
clamd-stream-client as we do not want clamd to run on our mailserver,
so we use an extra clamd farm. 

For the smtp-authed score we have changed simscans --enable-spam-auth-user
option not to let mails through unscanned but to add a additional score
to the base score which is transported by an env-var and set through
qmail-smtpd env.

Well, that all is a bit more complex but provides us a very flexible grade
on individual settings.

Greets
Phil.

Jimmy Spam | 14 Dec 2008 17:14
Favicon

Re: Forward all mails to other server, how?

Thanks to all people who has replied.

But, Can I define differents smtp routes for each mail listeners? Because you should keep in mind, that mails should be forwarded only if it arrive through X port, but it should be delivered if it arrive through Y port. Forwarding always all mail, would result in an infinite bucle, since GW always forward the filtered mail to the real mail server.

Thank you,
Spamis

"Scott Ryan" <scottlryan <at> gmail.com> escribió:

> creating an SMTP route ?
>
> On Fri, Dec 12, 2008 at 4:12 PM, Jimmy Spam <spamis <at> pobladores.com> wrote:
>> Hi,
>>
>> probably I'll integrate a new mail gateway for antivirus and antispan
>> filtering soon. This gateway haven't smtp-auth by itself, so, I have thinked
>> this for integrate it into my network:
>>
>> GW = MailGateway
>> MS = MailServer (qmail-ldap)
>>
>> From external servers, all connections arrive to GW: 192.168.1.1:25. GW
>> accept mail if it's a mail for my domain, filter an redirect to MS:
>> 192.168.1.2:X. MS delivery the messages.
>>
>> From my clients, all connections arrive to MS:192.168.1.2:25 or 587 port
>> directly. MS should forward all mails to GW: 192.168.1.1:25. GW filter and
>> redirect to MS: 192.168.1.2:X and finally, MS delivery the mail to internal
>> or external user.
>>
>> The problem is: How can I forward incoming MS mail to GW?
>>
>> Thanks!
>>
>
>
>
> --
> Scott Ryan
>
> ******************************************************
> Cheap memory cards - SD / Memory Stick Pro /
> MicroSD / USB pen drives / XD cards
> From SA's leading online memory card store:
> www.bitsandchips.co.za
> *****************************************************
>

Jimmy Spam | 15 Dec 2008 16:55
Favicon

Re: Forward all mails to other server, how?

In my previous message, when I said "infinite bucle", I want to say "infinite loop". 

Any solution for my problem?

Regards,
Spamis

"Jimmy Spam" <spamis <at> pobladores.com> escribió:

> Thanks to all people who has replied.
>
> But, Can I define differents smtp routes for each mail listeners? 
> Because you should keep in mind, that mails should be forwarded only 
> if it arrive through X port, but it should be delivered if it arrive 
> through Y port. Forwarding always all mail, would result in an 
> infinite bucle, since GW always forward the filtered mail to the real 
> mail server.
>
> Thank you,
> Spamis
>
> "Scott Ryan" <scottlryan <at> gmail.com> escribió:
>
>> creating an SMTP route ?
>>
>> On Fri, Dec 12, 2008 at 4:12 PM, Jimmy Spam <spamis <at> pobladores.com> wrote:
>>> Hi,
>>>
>>> probably I'll integrate a new mail gateway for antivirus and antispan
>>> filtering soon. This gateway haven't smtp-auth by itself, so, I 
>>> have thinked
>>> this for integrate it into my network:
>>>
>>> GW = MailGateway
>>> MS = MailServer (qmail-ldap)
>>>
>>> From external servers, all connections arrive to GW: 192.168.1.1:25. GW
>>> accept mail if it's a mail for my domain, filter an redirect to MS:
>>> 192.168.1.2:X. MS delivery the messages.
>>>
>>> From my clients, all connections arrive to MS:192.168.1.2:25 or 587 port
>>> directly. MS should forward all mails to GW: 192.168.1.1:25. GW filter and
>>> redirect to MS: 192.168.1.2:X and finally, MS delivery the mail to internal
>>> or external user.
>>>
>>> The problem is: How can I forward incoming MS mail to GW?
>>>
>>> Thanks!
>>>
>>
>>
>>
>> --
>> Scott Ryan
>>
>> ******************************************************
>> Cheap memory cards - SD / Memory Stick Pro /
>> MicroSD / USB pen drives / XD cards
>> From SA's leading online memory card store:
>> www.bitsandchips.co.za
>> *****************************************************
>>
Eduardo Costa | 15 Dec 2008 19:07
Picon
Favicon

Quota with exceptions


Hi everyone,
	
how can I set the quota for Maildirs but when it reaches the quota could
continue to receive mail only from certain emails/domains?

Best regards
--
......................................
 Eduardo Costa

......................................

Gmane