Krish | 1 Apr 06:28 2008
Picon

Re: Duplicate mails


--- Kyle Wheeler <kyle-qmail <at> memoryhole.net> wrote:

> On Sunday, March 30 at 11:26 PM, quoth Krish:
> > Whenever any of our users send a huge mail around
> 9 MB the receiving 
> > end receives the mail over and over again around
> 15 times. Please 
> > let me know why this takes place. I have
> spamassassin and 
> > qmailscanner in effect. The mails are sent to
> multiple clients on 
> > different servers and they are all complaining
> about duplication. My 
> > timeoutconnect is 30 remote is 300 and smtpd is
> 300.  I sent a huge 
> > mail to a test account on another server and I
> received the mail 
> > however inmy sending server I see the message
> still in the queue. 
> >
> > Please let me know steps to check and rectify this
> 
> > problem.
> 
> Look in your log files, and track down the delivery
> of those 
> duplicated messages. It sounds like qmail is
> receiving some sort of 
> error that prevents it from recognizing that the
(Continue reading)

Erwin Hoffmann | 1 Apr 08:59 2008
Picon

Re: Duplicate mails

Hi,

On Mon, 31 Mar 2008 21:28:03 -0700 (PDT), Krish <itsekw <at> yahoo.com> wrote :

> 
> --- Kyle Wheeler <kyle-qmail <at> memoryhole.net> wrote:
> 
> > On Sunday, March 30 at 11:26 PM, quoth Krish:
> > > Whenever any of our users send a huge mail around
> > 9 MB the receiving 
> > > end receives the mail over and over again around
> > 15 times. Please 
> > > let me know why this takes place. I have
> > spamassassin and 
> > > qmailscanner in effect. The mails are sent to
> > multiple clients on 
> > > different servers and they are all complaining
> > about duplication. My 
> > > timeoutconnect is 30 remote is 300 and smtpd is
> > 300.  I sent a huge 
> > > mail to a test account on another server and I
> > received the mail 
> > > however inmy sending server I see the message
> > still in the queue. 
> > >
> > > Please let me know steps to check and rectify this
> > 
> > > problem.
> > 
> > Look in your log files, and track down the delivery
(Continue reading)

Lampa | 2 Apr 14:20 2008
Picon

local delivery hangs

Hello,

today i have weird problem with qmail. Mails are
accepted(qmail-smtpd), but is not delivered localy (and remotely)

qmail-send log last lines(for 5 minutes not changed):

 <at> 4000000047f357f03907d4a4 new msg 469794640
 <at> 4000000047f357f03907dc74 info msg 469794640: bytes 1268147 from
<xxx <at> yyy> qp 12546 uid 507
 <at> 4000000047f357f039164fac starting delivery 32919: msg 469794640 to
remote aaa <at> bbb
 <at> 4000000047f357f03916577c status: local 0/10 remote 4/20
 <at> 4000000047f357f106ffd4fc delivery 32919: success:
qqqq_accepted_message./Remote_host_said:_250__Queued_mail_for_delivery/
 <at> 4000000047f357f106ffdccc status: local 0/10 remote 3/20
 <at> 4000000047f357f106ffdccc end msg 469794640

qmailctl queue
messages in queue: 736
messages in queue but not yet preprocessed: 706

stoping, doqueue, flush not helps, stopping qmail not helps too,
stopping daemontools not helps too. after reboot everything is ok

it's qmail silly syndrome ?

Thank you for advice and help.

Lampa
(Continue reading)

Ayesha | 2 Apr 20:40 2008
Picon

mail_is_looping

Hi all,


I am really needing help. I did re-read and re-made everything, but the results are the same: when I try to receive an email from outside, the sender receives a message that "mail_is_looping" :(


The domain security.com.br was created through vqadmin. I couldn't find any clue on logs.


I can send successfully a message from inside to outside, I do telnet localhost 25 and 110 without any problems. Here is my qmail-showctl:


mail2server:/# /usr/src/qmail/qmail-1.03/qmail-showctl

qmail home directory: /var/qmail.

user-ext delimiter: -.

paternalism (in decimal): 2.

silent concurrency limit: 255.

subdirectory split: 211.

user ids: 1001, 1002, 1003, 0, 1004, 1005, 1006, 1007.

group ids: 1001, 1002.


badmailfrom: (Default.) Any MAIL FROM is allowed.


bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.


bouncehost: (Default.) Bounce host name is mail2server.spamsec.com.br.


concurrencylocal: (Default.) Local concurrency is 10.


concurrencyremote: Remote concurrency is 255.


databytes: (Default.) SMTP DATA limit is 0 bytes.


defaultdomain: Default domain name is spamsec.com.br.


defaulthost: (Default.) Default host name is mail2server.spamsec.com.br.


doublebouncehost: (Default.) 2B recipient host: mail2server.spamsec.com.br.


doublebounceto: (Default.) 2B recipient user: postmaster.


envnoathost: (Default.) Presumed domain name is mail2server.spamsec.com.br.


helohost: (Default.) SMTP client HELO host name is mail2server.spamsec.com.br.


idhost: (Default.) Message-ID host name is mail2server.spamsec.com.br.


localiphost: (Default.) Local IP address becomes mail2server.spamsec.com.br.


locals:

Messages for localhost are delivered locally.

Messages for mail2server.spamsec.com.br are delivered locally.


me: My name is mail2server.spamsec.com.br.


percenthack: (Default.) The percent hack is not allowed.


plusdomain: Plus domain name is com.br.


qmqpservers: (Default.) No QMQP servers.


queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.


rcpthosts:

SMTP clients may send messages to recipients at localhost.

SMTP clients may send messages to recipients at mail2server.spamsec.com.br.

SMTP clients may send messages to recipients at security.com.br.


morercpthosts: (Default.) No effect.


morercpthosts.cdb: (Default.) No effect.


smtpgreeting: (Default.) SMTP greeting: 220 mail2server.spamsec.com.br.


smtproutes: (Default.) No artificial SMTP routes.


spfbehavior: (Default.) The SPF behavior is 0.


spfexp: (Default.) The SPF default explanation is: 550 See http://spf.pobox.com/why.html?sender=%{S}&ip=%{I}&receiver=%{xR}.


spfguess: (Default.) The guess SPF rules are: .


spfrules: (Default.) The local SPF rules are: .


timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.


timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.


timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.


virtualdomains:

Virtual domain: security.com.br:security.com.br


concurrencyincoming: I have no idea what this file does.


clientcert.pem: I have no idea what this file does.


defaultdelivery: I have no idea what this file does.


rcpthosts.lock: I have no idea what this file does.


virtualdomains.lock: I have no idea what this file does.


servercert.pem: I have no idea what this file does.


locals.lock: I have no idea what this file does.

mail2server:/#

   

--------------------------- end -------------------------------


Any idea or where do I should lead? Many thanks for helping me.


-- 

Best regards,

 Ayesha                          mailto:ayesha <at> security.com.br

Jonathan Hilgeman | 2 Apr 23:52 2008

Delivery can't find addresses and just runs .qmail-default

Hi, this is a new problem for me. I've set up a half-dozen servers just like this one in the past without any trouble. The basic setup is: Netqmail-1.0.6, vpopmail, qpsmtpd. The qpsmtpd daemon simply forwards a spam-filtered message to the normal qmail daemon, and vpopmail is there for easier admin of domains. The problem I'm facing is that whenever an e-mail gets delivered, the system cannot "find" the right address, and ends up going back to the instructions in the .qmail-default file. The only thing new to this setup that I have not done in the past is the use of dots / periods within the local part of the e-mail addresses. For example: john.smith <at> mydomain.com. However, just to test, I went ahead and created a test account that did not have any dots in it (test <at> mydomain.com) and tried to send a message to that address, and it still hit the .qmail-default file. I've compared the /var/log/qmail/current log entries against another working server (my sitecreative.com server - I replaced the address below), and it looks normal to me: <at> 4000000047f3f4c73b12fa6c new msg 3606502 <at> 4000000047f3f4c73b1311dc info msg 3606502: bytes 1266 from qp 10840 uid 502 <at> 4000000047f3f4c808fcf104 starting delivery 5: msg 3606502 to local mydomain.com-test <at> mydomain.com <at> 4000000047f3f4c808fd0874 status: local 1/10 remote 0/20 <at> 4000000047f3f4c8099a947c delivery 5: success: did_0+0+1/ <at> 4000000047f3f4c8099aabec status: local 0/10 remote 0/20 <at> 4000000047f3f4c8099ab7a4 end msg 3606502 I've also compared the virtualdomains file, the users/assign file, rcpthosts, and everything looks pretty standard. I've got 1 main domain (mydomain.com), with 3 domains that are aliases of it. Here's my users/assign file: +mydomainalias1.com-:mydomain.com:89:89:/home/vpopmail/domains/mydomain.com:-:: +mydomainalias2.com-:mydomain.com:89:89:/home/vpopmail/domains/mydomain.com:-:: +mydomainalias3.com-:mydomain.com:89:89:/home/vpopmail/domains/mydomain.com:-:: +mydomain.com-:mydomain.com:89:89:/home/vpopmail/domains/mydomain.com:-:: . I've also checked permissions on all the directories and ensured that everything is correctly set. I'm at a loss here. Can someone help? I'm sure it's just something simple that I overlooked. - Jonathan

Markus Stumpf | 3 Apr 00:21 2008
Picon

Re: Delivery can't find addresses and just runs .qmail-default

On Wed, Apr 02, 2008 at 05:52:43PM -0400, Jonathan Hilgeman wrote:
> The only thing new to this setup that I have not done in the past is the use of dots / periods within the local
part of the e-mail addresses. For example: john.smith <at> mydomain.com.

One thing people tend to overlook is that the "."s have to be replaced
by ":"s for the .qmail file names:
     jane.doe  	->  .qmail-jane:doe
     john.d.doe	->  .qmail-john:d:doe

	\Maex

--

-- 
Markus Stumpf

Ayesha | 3 Apr 13:55 2008
Picon

Re[2]: mail_is_looping

Olá Carl,


Thanks in replying me :)


See below my answers, please


Wednesday, April 2, 2008, 5:15:22 PM, you wrote:


>



On Apr 2, 2008, at 1:40 PM, Ayesha wrote:



Hi all,


I am really needing help. I did re-read and re-made everything, but the results are the same: when I try to receive an email from outside, the sender receives a message that "mail_is_looping" :(


The domain security.com.br was created through vqadmin. I couldn't find any clue on logs.


I can send successfully a message from inside to outside, I do telnet localhost 25 and 110 without any problems. Here is my qmail-showctl:


mail2server:/# /usr/src/qmail/qmail-1.03/qmail-showctl

qmail home directory: /var/qmail.

user-ext delimiter: -.

paternalism (in decimal): 2.

silent concurrency limit: 255.

subdirectory split: 211.

user ids: 1001, 1002, 1003, 0, 1004, 1005, 1006, 1007.

group ids: 1001, 1002.


badmailfrom: (Default.) Any MAIL FROM is allowed.


bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.


bouncehost: (Default.) Bounce host name is mail2server.spamsec.com.br.


concurrencylocal: (Default.) Local concurrency is 10.


concurrencyremote: Remote concurrency is 255.


databytes: (Default.) SMTP DATA limit is 0 bytes.


defaultdomain: Default domain name is spamsec.com.br.


defaulthost: (Default.) Default host name is mail2server.spamsec.com.br.


doublebouncehost: (Default.) 2B recipient host: mail2server.spamsec.com.br.


doublebounceto: (Default.) 2B recipient user: postmaster.


envnoathost: (Default.) Presumed domain name is mail2server.spamsec.com.br.


helohost: (Default.) SMTP client HELO host name is mail2server.spamsec.com.br.


idhost: (Default.) Message-ID host name is mail2server.spamsec.com.br.


localiphost: (Default.) Local IP address becomes mail2server.spamsec.com.br.


locals:

Messages for localhost are delivered locally.

Messages for mail2server.spamsec.com.br are delivered locally.


me: My name is mail2server.spamsec.com.br.


percenthack: (Default.) The percent hack is not allowed.


plusdomain: Plus domain name is com.br.


qmqpservers: (Default.) No QMQP servers.


queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.


rcpthosts:

SMTP clients may send messages to recipients at localhost.

SMTP clients may send messages to recipients at mail2server.spamsec.com.br.

SMTP clients may send messages to recipients at security.com.br.


morercpthosts: (Default.) No effect.


morercpthosts.cdb: (Default.) No effect.


smtpgreeting: (Default.) SMTP greeting: 220 mail2server.spamsec.com.br.


smtproutes: (Default.) No artificial SMTP routes.


spfbehavior: (Default.) The SPF behavior is 0.


spfexp: (Default.) The SPF default explanation is: 550 See http://spf.pobox.com/why.html?sender=%{S}&ip=%{I}&receiver=%{xR}.


spfguess: (Default.) The guess SPF rules are: .


spfrules: (Default.) The local SPF rules are: .


timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.


timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.


timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.


virtualdomains:

Virtual domain: security.com.br:security.com.br


concurrencyincoming: I have no idea what this file does.


clientcert.pem: I have no idea what this file does.


defaultdelivery: I have no idea what this file does.


rcpthosts.lock: I have no idea what this file does.


virtualdomains.lock: I have no idea what this file does.


servercert.pem: I have no idea what this file does.


locals.lock: I have no idea what this file does.

mail2server:/#

   

--------------------------- end -------------------------------


Any idea or where do I should lead? Many thanks for helping me.


-- 

Best regards,

 Ayesha                          mailto:ayesha <at> security.com.br



Ayesha


Can you send mail to this account internally?



Yep, send and receiving messages between internally accounts is done without any troubles.


>

The only time I have ever had a mail loop is when I had 2 dot-qmail files pointing at each other.


There will be evidence in your logs of this.


What log can I see this?


>


BTW - more information about your install might be useful. OS, patches, vpopmail, scanners, run files etc


You're totally right, I forgot, sorry:


Debian 4.0 (2.6.18)- I used the patches from qmailrocks; patch 2.5.9-4, patchutils 0.2.31-3 vpopmail 5.4.25, vqadmin 2.3.7, qmailadmin 1.2.11, mysql 5.0.32-7, apache 2.2.3-4, fetchmail 6.3.6-1, perl 5.8.8-7, php 5.2.0-8, samba 3.0.24 and bind.


I think it is. At this time, no iptables nor anything that could blocking some access.


Thanks again my friend!


Ayesha


>


Carl







-- 

Best regards,

 Ayesha                            mailto:ayesha <at> security.com.br

Roger Harrell | 3 Apr 20:18 2008

Qmail smtp slow (and standard fixes don't appear to work).

I'm getting time outs from remote clients. Sending mail from the server
itself processes quickly. I have done all of the normal fixes for slow
SMTP. I tried removing rblsmtp. I have all the ignore DNS flags set.
Below is my run file. I've also removed the rblsmtpd -rdnsbl.njabl.org
part to see if the delay was there. No luck.

qmail-smtp/run

#!/bin/sh
QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" ; export QMAILQUEUE
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z
"$LOCAL" ]; then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi
if [ ! -f /var/qmail/control/rcpthosts ]; then
echo "No /var/qmail/control/rcpthosts!"
echo "Refusing to start SMTP listener because it'll create an open
relay"
exit 1
fi
exec /usr/local/bin/softlimit -m 40000000 \
/usr/local/bin/tcpserver -v -H -P -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c
"$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp rblsmtpd -rdnsbl.njabl.org \
/var/qmail/bin/qmail-smtpd mail.audiblefaith.com \
/home/vpopmail/bin/vchkpw /usr/bin/true 2>&1

Roger

Markus Stumpf | 3 Apr 21:40 2008
Picon

Re: Qmail smtp slow (and standard fixes don't appear to work).

On Thu, Apr 03, 2008 at 01:18:16PM -0500, Roger Harrell wrote:
> I'm getting time outs from remote clients. Sending mail from the server
> itself processes quickly.

	$ telnet mail.audiblefaith.com smtp
	Trying 74.2.113.58...
	Connected to mail.audiblefaith.com (74.2.113.58).
	Escape character is '^]'.
	220 mail.audiblefaith.com ESMTP
	quit
	221 mail.audiblefaith.com
	Connection closed by foreign host.

The ESMTP banner showed up in much less than one second. Tried about 2-3
times, each time from a different network.

You could try to grep for "tcpserver" in your qmail-smtpd log and group by pid.
Something like
    grep tcpserver /service/qmail-smtpd/log/main/current | grep -v status | sort -n -k +4 | tai64nlocal
That way you can see how long each of the connections last. Maybe this
is not a connection problem, but a problem e.g. with a qmail-queue
standin like amavis being to slow.

Also you could check for the "tcpserver: status" lines in the log files to
see if you are running out of connection slots.

	\Maex

--

-- 
Markus Stumpf

Bc. Radek Krejca | 3 Apr 23:17 2008
Picon

Deleting mails

Hello,

  I need to delete mails depends on subject. A have a lot of returned
  mail from fake addressess. How can I do it?

--

-- 
Regards,
 Bc. Radek Krejca
 STARNET, s. r. o.
 radek.krejca <at> ceskedomeny.cz
 http://www.ceskedomeny.cz
 http://www.skdomeny.com
 http://www.starnet.cz


Gmane