I'm not sure what the queue space is?
The memory usage seems to be constant.
The several amavisd process seems to use around 85mb, constantly.
When sending the mail it seems as it slowly uses up to 150mb more than
before. I noticed, that the load stays really high, even after
thunderbird said that the message was sent (took several minutes). Then
the load stays high for another few minutes until in the logfile I get
the message:
Apr 7 20:19:50 rmm amavis[9269]: (09269-01) Passed CLEAN
{RelayedInbound}, [213.193.81.54]:52590 [213.193.81.54]
<[email protected]> -> <[email protected]>, Queue-ID: B865B2E1987,
Message-ID: <[email protected]>, mail_id:
QWkNkUIuIFIu, Hits: -2.79, size: 15512628, queued_as: D90372E19B6, 323647 ms
Then the cpu load drops immediately and I finally can get the sent mail
over imap.
I also tried to sent an other e-mail with a big attachment (10MB) =>
same behaviour.
On 07.04.2017 20:07, Dino Edwards wrote:
> How is the memory usage and the queue space?
>
> -----Original Message-----
> From: amavis-users
> [mailto:[email protected]] On
> Behalf Of Michael Meier
> Sent: Friday, April 7, 2017 2:02 PM
> To: [email protected]
> Subject: Re: "No SMTP response to data-dot"-message and delivered the message
> like 10 times
>
> thunderbird connects to neither.
> thunderbird connects directly to rmm.li, which is a server which is standing
> around somewhere completely else ;-)
>
> But I think it has something to do with how amavis processes the attachment.
> I just send the same picture again, to an other address. Thunderbird needed
> severall minutes to send it, the first 30% were send quickly, but then it got
> slower and slower, meanwhile on the server (rmm.li) the load average went up
> from 0.00 to 3.5, and fell again as soon as the mail was finally sent. For a
> server with only two cpus a load of 3.5 is a lot.
> The strange thing was, that "top" didn't show any process hogging the cpu.
> Then afterwards I uploaded the same picture, to the same server to the
> nextcloud installation, and it took less than 2 seconds...
>
> On 07.04.2017 16:16, Dino Edwards wrote:
>> Does Thunderbird connect to the your external or internal IP address?
>>
>> -----Original Message-----
>> From: amavis-users
>> [mailto:[email protected]]
>> On Behalf Of Michael Meier
>> Sent: Friday, April 7, 2017 8:53 AM
>> To: Amavis users <[email protected]>
>> Subject: Re: "No SMTP response to data-dot"-message and delivered the
>> message like 10 times
>>
>> 213.193.81.54 is not an open relay. I've got no idea where it got that idea
>> from.
>> And I'm no even using 213.193.81.54 to send my e-mails, I'm using
>> thunderbird which directly connects to my smtp server. 213.193.81.54 is my
>> external ip address (and also the smtp server of the company I'm working at
>> right now, but it's neither an open relay, nor is used for those
>> transactions in any way).
>> It also doesn't give me that openrelay message for the mail I'm sending
>> right now. I guess it must be related to the " No SMTP response to data-dot
>> " error.
>>
>>
>> On 07.04.2017 14:43, Dino Edwards wrote:
>>> Maybe it's not related to the specific issue, but an Open Relay is a HUGE
>>> problem and I HIGHLY suggest before you look into any other problem, you
>>> should look into why this error is generated. Is the IP address
>>> 213.193.81.54 the IP of your email server? If indeed you have an Open
>>> Relay, you certainly have a big configuration issue.
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: amavis-users
>>> [mailto:[email protected]
>>> ]
>>> On Behalf Of Michael Meier
>>> Sent: Friday, April 7, 2017 8:28 AM
>>> To: Amavis users <[email protected]>
>>> Subject: RE: "No SMTP response to data-dot"-message and delivered the
>>> message like 10 times
>>>
>>> I don't think so. I've send a lot of e-mails just before that e-mail and a
>>> lot afterwards from exactly the same ip address, also using thunderbird...
>>> but the problem only appeared with that single message.
>>> And as I said, the really annoying part was, that the message got
>>> delivered more than 10 times (each time I deleted it, it reappeared a
>>> few hours later again, first I thought I'm becoming crazy ;-)))
>>>
>>>
>>> Am 7.4.2017 14:15, schrieb Dino Edwards:
>>>> Could this be part of the problem? It says MTA-BLOCKED because it's
>>>> an open relay? Which host is IP address 213.193.81.54?
>>>>
>>>> Apr 6 13:56:25 rmm amavis[22678]: (22678-17) Passed MTA-BLOCKED
>>>> {TempFailedInbound,TempFailedOpenRelay}, [213.193.81.54]:49780
>>>> [213.193.81.54] <[email protected]> -> <[email protected]>,
>>>> Queue-ID: EFB7C2E1317, Message-ID:
>>>>
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: amavis-users
>>>> [mailto:[email protected]
>>>> g
>>>> ]
>>>> On Behalf Of Michael Meier
>>>> Sent: Friday, April 7, 2017 7:39 AM
>>>> To: [email protected]
>>>> Subject: "No SMTP response to data-dot"-message and delivered the
>>>> message like 10 times
>>>>
>>>> Hi all
>>>>
>>>> I've got my own server using postfix and amavis (2.10.1-2~deb8u1)
>>>> under the current debian stable (8).
>>>> Yesterday I received a big jpg-file (11MB) which I wanted to resend
>>>> using Thunderbird.
>>>> I've sent the jpg to 3 receivers, of which 2 are on my own server
>>>> and
>>>> 1 is on hotmail.
>>>> After a while a got a mail from my mail delivery system, saying 3
>>>> times, for every receiver:
>>>>
>>>> <[email protected]>: host 127.0.0.1[127.0.0.1] said: 451 4.5.0
>>>> id=09573-03 - Temporary MTA failure on relaying, from
>>>> MTA(smtp:[127.0.0.1]:10025): No resp. to data-dot (in reply to
>>>> end of DATA
>>>> command)
>>>>
>>>>
>>>> But at the least the receivers of my server received the mail anyway
>>>> (i'm not sure about the hotmail account, I think there it arrived
>>>> only once). The problem is, that the server tried to resend the mail
>>>> several times. At the end I received the same email 12 times!
>>>> Each time it tried to resend it, the log files looked like that:
>>>>
>>>> Apr 6 13:56:25 rmm amavis[22678]: (22678-17) (!)rw_loop: leaving rw
>>>> loop, no progress, last event (select) 60.058 s ago Apr 6 13:56:25
>>>> rmm amavis[22678]: (22678-17) No SMTP response to data-dot
>>>> (<[email protected]>, etc.), dt: 60.058 s Apr 6 13:56:25 rmm
>>>> amavis[22678]: (22678-17) (!)U_MtABwr2Q_e FWD from
>>>> <[email protected]>
>>>> -> <[email protected]>,<[email protected]>,
>>>> BODY=7BIT 451 4.5.0 from MTA(smtp:[127.0.0.1]:10025): No resp. to
>>>> data-dot Apr 6 13:56:25 rmm amavis[22678]: (22678-17) Passed
>>>> MTA-BLOCKED {TempFailedInbound,TempFailedOpenRelay},
>>>> [213.193.81.54]:49780 [213.193.81.54] <[email protected]> ->
>>>> <[email protected]>,
>>>> Queue-ID: EFB7C2E1317, Message-ID:
>>>> <[email protected]>, mail_id:
>>>> U_MtABwr2Q_e, Hits: -2.79, size: 15512712, queued_as: 2F1A02E1318,
>>>> 526874 ms
>>>> Apr 6 13:56:25 rmm amavis[22678]: (22678-17) Blocked MTA-BLOCKED
>>>> {TempFailedInbound,TempFailedOpenRelay}, [213.193.81.54]:49780
>>>> [213.193.81.54] <[email protected]> ->
>>>> <[email protected]>,<[email protected]>, Queue-ID: EFB7C2E1317,
>>>> Message-ID: <[email protected]>,
>>>> mail_id:
>>>> U_MtABwr2Q_e, Hits: -2.79, size: 15512712, 526874 ms Apr 6 13:56:25
>>>> rmm postfix/smtp[8176]: EFB7C2E1317:
>>>> to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=802,
>>>> delays=275/0.01/0/527, dsn=4.5.0, status=deferred (host
>>>> 127.0.0.1[127.0.0.1] said: 451 4.5.0 id=22678-17 - Temporary MTA
>>>> failure on relaying, from MTA(smtp:[127.0.0.1]:10025): No resp. to
>>>> data-dot (in reply to end of DATA command)) Apr 6 13:56:25 rmm
>>>> postfix/smtp[8176]: EFB7C2E1317:
>>>> to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=802,
>>>> delays=275/0.01/0/527, dsn=4.5.0, status=deferred (host
>>>> 127.0.0.1[127.0.0.1] said: 451 4.5.0 id=22678-17 - Temporary MTA
>>>> failure on relaying, from MTA(smtp:[127.0.0.1]:10025): No resp. to
>>>> data-dot (in reply to end of DATA command)) Apr 6 13:56:26 rmm
>>>> postfix/smtp[8176]: EFB7C2E1317:
>>>> to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=802,
>>>> delays=275/0.01/0/527, dsn=4.5.0, status=deferred (host
>>>> 127.0.0.1[127.0.0.1] said: 451 4.5.0 id=22678-17 - Temporary MTA
>>>> failure on relaying, from MTA(smtp:[127.0.0.1]:10025): No resp. to
>>>> data-dot (in reply to end of DATA command)) Apr 6 13:56:54 rmm
>>>> postfix/smtpd[8182]: disconnect from localhost[127.0.0.1] Apr 6
>>>> 13:56:54 rmm postfix/qmgr[3223]: B70932E137C:
>>>> from=<[email protected]>, size=15513333, nrcpt=2 (queue active) Apr
>>>> 6
>>>> 13:56:54 rmm dovecot: lmtp(8284): Connect from local Apr 6 13:56:56
>>>> rmm dovecot: lmtp(8284, user1): txN7CAYt5lhcIAAAFCq16w:
>>>> sieve: msgid=<[email protected]>:
>>>> stored mail into mailbox 'INBOX'
>>>> Apr 6 13:56:56 rmm postfix/lmtp[8283]: B70932E137C:
>>>> to=<[email protected]>, relay=example.com[private/dovecot-lmtp],
>>>> delay=287, delays=285/0.01/0.01/1.9, dsn=2.0.0, status=sent (250
>>>> 2.0.0 <[email protected]> txN7CAYt5lhcIAAAFCq16w Saved) Apr 6
>>>> 13:56:56 rmm
>>>> dovecot: lmtp(8284, user2): txN7CAYt5lhcIAAAFCq16w:
>>>> sieve: msgid=<[email protected]>:
>>>> stored mail into mailbox 'INBOX'
>>>> Apr 6 13:56:56 rmm postfix/lmtp[8283]: B70932E137C:
>>>> to=<[email protected]>, relay=example.com[private/dovecot-lmtp],
>>>> delay=288, delays=285/0.01/0.01/2.7, dsn=2.0.0, status=sent (250
>>>> 2.0.0 <[email protected]> txN7CAYt5lhcIAAAFCq16w Saved) Apr 6
>>>> 13:56:56 rmm
>>>> dovecot: lmtp(8284): Disconnect from local:
>>>> Successful quit
>>>>
>>>> I guess amavis got some problem with the big attachment?
>>>> Could there be some kind of missconfiguration?
>>>> So far I never had problems with amavis. Well, it was the first
>>>> time, that I accidentally send an e-mail to myself, otherwise I
>>>> wouldn't have noticed the whole problem...
>>>>
>>>> thanks in advance for any hints
>>>> Michael
>>>>
>>>>
>>>> ----------------
>>>> Dino Edwards
>>>>
>>>> IT Consulting, Secure Email Solutions, Web Design, Web and Email
>>>> Hosting
>>>> Web: https://www.deeztek.com
>>>> Phone: 443.203.9415
>>>> ----------------
>>>>
>>>> Hermes Secure Email Gateway
>>>> Hermes Secure Email Gateway combines Open Source technologies such
>>>> as Postfix, Apache SpamAssassin, ClamAV, Amavisd-new, MySQL and
>>>> CipherMail under one unified web based Web GUI for easy
>>>> administration and management of your incoming and ougoing email for
>>>> your organization. Anti-spam, anti-virus and anti-malware
>>>> protection, encrypted S/MIME, encrypted PDF and SMTP TLS support,
>>>> built-in email archiving, end-user self-service web gui.
>>>>
>>>> Learn More & Download the free open-source appliance at:
>>>> https://www.deeztek.com/hermes-secure-email-gateway/