Increasing Outbound number

Questions and answers about how to do stuff
Post Reply
maciekh
Posts: 27
Joined: 25 Aug 2015 10:20

Increasing Outbound number

Post by maciekh »

Hi

I have a problem since 2 hours, my Outbound number increases?
That could happen? I didnt change anything, internet connection works fine :(
Hot to check it? What puts messages to outbound?

When i click Outbound there are different numbers than in recentr messages main screen :(
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Increasing Outbound number

Post by pdwalker »

You need to find out why the mail is queued up.

What I do is check the mailq using Webmin
https://<your efa hostname>:10000/
and login using the root account.

Select "Servers, Postfix Mail Server" from the left hand side.

Select "Mail Queue" on the right hand side.

The "Status" column will tell you why the message is held up.
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Increasing Outbound number

Post by pdwalker »

If you're comfortable using the command line, you can use the "mailq" command after logging into the EFA management account and accessing the Shell.

That will give you the same information.
maciekh
Posts: 27
Joined: 25 Aug 2015 10:20

Re: Increasing Outbound number

Post by maciekh »

mail showed all queued mail
All entries have: "Connection timed out" :(

But i've checked and some of email are delivered normally, also to external domains/servers.
It look like inbound/outbound screen stopped counting, numbers on screen stopped showing actual toadys numers.
Processing new mails sent and recieved looks ok but number of queued still increases

postfix -f didnt help
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Increasing Outbound number

Post by pdwalker »

It will have more information than that. For example, I currently have one message in the queue.

Code: Select all

connect to mail-sunshine.com[204.11.56.48]:25: Connection timed out
What does yours show? Are all the hosts the same? Or are all the queued messages going to the same host?

Try pinging the hosts. Are they up?

Try telnetting to port 25 on the hosts, does it respond?

In my case, the host appears to be up, but it does not respond to port 25 which means something is wrong from their side, not my side - or the email address is wrong somehow.
maciekh
Posts: 27
Joined: 25 Aug 2015 10:20

Re: Increasing Outbound number

Post by maciekh »

(connect to mail.ar-serwis.pl[188.40.45.18]:25: Connection timed out)
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Increasing Outbound number

Post by pdwalker »

There you go.

The problem is that their mail server is not responding. That could be for many reasons, but the main reason is not EFA in this case.

- Paul

PS: if the mail remains in the queue for a long period, the sender should eventually be notified that the message cannot be delivered, or is delayed.
maciekh
Posts: 27
Joined: 25 Aug 2015 10:20

Re: Increasing Outbound number

Post by maciekh »

in my case host seems to be up bo not responding from my telnet, from other ip telnet worked to this host so that could mean that my efa is wrong somehow bo most of emails are delivered :( outbound still increasing

when i check todays total:
Today's Totals
Processed: 2,894 1.3Gb
Clean: 2,348 81.1%

After clicking outbound i get:

Today's Totals
Processed: 1,882 884.7Mb
Clean: 1,462 77.7%

something is wrong but i dont now what :)
maciekh
Posts: 27
Joined: 25 Aug 2015 10:20

Re: Increasing Outbound number

Post by maciekh »

i have 155+ in outbound since 10:00 :( 155 hosts cant be "wrong"
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Increasing Outbound number

Post by pdwalker »

We seem to be talking about two different things

You have 155+ outbound messages. Are they all to the same server? Or are they all to different servers?

When you say "clicking outbound" can you be more specific? Do you mean the Inbound/Outbound links under "Status" on the /mailscanner/status.php page?

Where are you seeing the numbers for your "Today's Totals" and how did you get there?
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Increasing Outbound number

Post by pdwalker »

maciekh wrote:in my case host seems to be up bo not responding from my telnet, from other ip telnet worked to this host so that could mean that my efa is wrong somehow bo most of emails are delivered :( outbound still increasing
You telnet from EFA to the remote mail host. That is the only telnet that matters for testing mail delivery

Code: Select all

telnet <externalhost> 25

e.g.

[itsupport@efa ~]$ telnet smtp.netvigator.com 25
Trying 218.102.23.241...
Connected to smtp.netvigator.com.
Escape character is '^]'.
220 ysgmta02.netvigator.com bizsmtp ESMTP server ready
quit
221 2.0.0 ysgmta02.netvigator.com bizsmtp closing connection
Connection closed by foreign host.
[itsupport@efa ~]$
if it works, then that host is up and available for accepting mail.

if it does not respond
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Increasing Outbound number

Post by pdwalker »

Another thought. Do you have a firewall between your EFA server and the outside world? Perhaps it is blocking the connection to these other servers?
maciekh
Posts: 27
Joined: 25 Aug 2015 10:20

Re: Increasing Outbound number

Post by maciekh »

in EFA command line mailq shows more than 150 mails the same
i called my isp and propably they have some problems to connect to some countries (t-mobile)
it worked for 2 weeks without problems so why now something is wrong ? :)
it should be ok

now the status numbers...
when i am at */mailscanner/status.php
i have different numbers than at */mailscanner/postfixmailq.php (this page shows after click in Outbound or inbound)
maciekh
Posts: 27
Joined: 25 Aug 2015 10:20

Re: Increasing Outbound number

Post by maciekh »

I think i found a bug, perhaps only in my EFA
Afte viewing posftixmailq.php counter stops and hold till nex day, restart services (mailscanner, posftix) wont help.
Maybe that is after viewing postfix.php and at the same time some messages are trying to get into outbound?
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Increasing Outbound number

Post by pdwalker »

On my system, it works perfectly.

Perhaps there is some other problem? Without logging into your system and debugging it directly, it's hard to say.
Post Reply