get thousands of "Mailsize" mails from own server

Discussion in 'Installation/Configuration' started by torusturtle, Nov 28, 2006.

  1. torusturtle

    torusturtle ISPConfig Developer ISPConfig Developer

    Hello

    I have Server with ISPConfig 2.2.8 and postfix running.
    Problem is that the server sends thousands of messages to my webmaster email address to tell me about the mailsize.

    How can this be stopped?

    Email:
    Thanks!
     
    Last edited: Oct 14, 2007
  2. falko

    falko Super Moderator ISPConfig Developer

    Do you redirect/forward mails for admispconfig to another user? You shouldn't do this! The mailsize mails are for the user admispconfig so that ISPConfig can calculate correct mail traffic statistics.
     
  3. Falsig

    Falsig New Member

    Same Problem, but at multible emails

    Hi.

    I have a similar problem, exept every admin-acount get flooded.

    I run multiple domaines on my server.
    Followed 'Perfect setup for Fedora core 6' to the last dot.
    Installed ISPConfig before I did anything else.

    Have read the posts I could find that just remotly touched this issue, but no help.
    Have changed mydomain in main.cf to an empty domain that points to my IP, but isn't setup in ISPConfig.

    Checked all conf-files against Docs and postings here, but nothing helps.

    I have NOT forwarded any mails to anything at all.

    Please help since it's slowing down a live server.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post a excerpt of your mail log. Did you add any aliases in /etc/postfix/aliases?
     
  5. Falsig

    Falsig New Member

    Hi Till

    I havn't altered the aliases (it's located /etc/aliases on my system)

    I'll hav a part of my maillog in a few, my server is VERY slow now, and the maillog is now on 96 MB
     
  6. Falsig

    Falsig New Member

    This is the beginning of my maillog, and now its 96 MB in 24 hours??

    Dec 12 23:59:10 web sendmail[14428]: alias database /etc/aliases rebuilt by root
    Dec 12 23:59:10 web sendmail[14373]: kBCMx4BA014373: to=[email protected], ctladdr=web5_lars (10025/10005), delay=00:00:06, xdelay=00:00:00, mailer=relay, pri=30115, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Dec 12 23:59:10 web sendmail[14428]: /etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total
    Dec 12 23:59:13 web postfix/postsuper[14624]: warning: bogus file name: incoming/395398.12187
    Dec 12 23:59:13 web postfix/postfix-script: starting the Postfix mail system
    Dec 12 23:59:13 web postfix/master[14650]: daemon started -- version 2.3.3, configuration /etc/postfix
    Dec 12 23:59:13 web postfix/qmgr[14654]: 06AE02068CAC: from=<>, size=2583, nrcpt=1 (queue active)
    Dec 12 23:59:13 web postfix/trivial-rewrite[14655]: warning: database /etc/postfix/virtusertable.db is older than source file /etc/postfix/virtusertable
    Dec 12 23:59:13 web postfix/qmgr[14654]: 05ED52068CAD: from=<>, size=2492, nrcpt=1 (queue active)
    Dec 12 23:59:13 web postfix/qmgr[14654]: 1095F2068CAE: from=<>, size=2492, nrcpt=1 (queue active)
    Dec 12 23:59:13 web postfix/qmgr[14654]: 81A8F2068CB2: from=<>, size=2492, nrcpt=1 (queue active)
    Dec 12 23:59:13 web postfix/qmgr[14654]: EDBE62068CC2: from=<>, size=2486, nrcpt=1 (queue active)
    Dec 12 23:59:13 web postfix/qmgr[14654]: 15B7C2068CB4: from=<>, size=2583, nrcpt=1 (queue active)
    Dec 12 23:59:13 web postfix/qmgr[14654]: CB78C2068CA2: from=<>, size=2583, nrcpt=1 (queue active)
    Dec 12 23:59:13 web postfix/qmgr[14654]: B806D2068CB5: from=<>, size=2492, nrcpt=1 (queue active)
    Dec 12 23:59:13 web postfix/qmgr[14654]: B63D12068CD4: from=<>, size=2486, nrcpt=1 (queue active)
    Dec 12 23:59:13 web postfix/qmgr[14654]: 544722068C89: from=<>, size=2583, nrcpt=1 (queue active)
    Dec 12 23:59:13 web postfix/qmgr[14654]: 6CEEB2068C98: from=<>, size=2492, nrcpt=1 (queue active)
    Dec 12 23:59:13 web postfix/qmgr[14654]: CFF592068CC9: from=<>, size=2583, nrcpt=1 (queue active)
    Dec 12 23:59:13 web postfix/qmgr[14654]: 84D5A2068CAB: from=<>, size=2486, nrcpt=1 (queue active)
    Dec 12 23:59:13 web postfix/qmgr[14654]: 24A4E2068CB9: from=<>, size=2492, nrcpt=1 (queue active)
    Dec 12 23:59:13 web postfix/qmgr[14654]: 21B852068CB7: from=<>, size=2486, nrcpt=1 (queue active)
    Dec 12 23:59:13 web postfix/qmgr[14654]: A60052068C9A: from=<>, size=2492, nrcpt=1 (queue active)
    Dec 12 23:59:13 web postfix/qmgr[14654]: 990992068CBB: from=<>, size=2486, nrcpt=1 (queue active)
    Dec 12 23:59:13 web postfix/qmgr[14654]: 9C5CF2068CB8: from=<>, size=2486, nrcpt=1 (queue active)
    Dec 12 23:59:13 web postfix/qmgr[14654]: 5F5E82068CAA: from=<>, size=2583, nrcpt=1 (queue active)
    Dec 12 23:59:13 web postfix/qmgr[14654]: 97E192068CB6: from=<>, size=2492, nrcpt=1 (queue active)
    Dec 12 23:59:13 web postfix/qmgr[14654]: 0107E2068C9D: from=<>, size=2583, nrcpt=1 (queue active)
    Dec 12 23:59:13 web postfix/qmgr[14654]: 4E4532068CA9: from=<>, size=2583, nrcpt=1 (queue active)
    Dec 12 23:59:13 web postfix/qmgr[14654]: B69432068CD5: from=<>, size=2492, nrcpt=1 (queue active)
     
  7. Falsig

    Falsig New Member

    Partly solved

    I edited all .procmailrc files and commented out the include mail.rc statement, so now I don't recieve all the mailsize-mails.

    Still have an overloaded maillog.
    Is there anyway to configure what to Log and what NOT to Log ?
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Please run
    Code:
    postmap /etc/postfix/virtusertable
    and restart Postfix.

    Are there lots of mails in your mailqueue? You can find out by running
    Code:
    postqueue -p
     
  9. Falsig

    Falsig New Member

    Did that.

    There was around 70.000 early this morning.
    I used Outlook with a message-rule to empty the queue after commenting out the
    Code:
    include .......... mail.rc
    line in every procmailrc.

    Took me some time because of the amount of users.

    Maillog is now downsized to ~35 MB
     
  10. falko

    falko Super Moderator ISPConfig Developer

    To empty the mail queue, you can simply run
    Code:
    postsuper -d ALL
     
  11. Falsig

    Falsig New Member

    Couldn't just empty the mail-queue hence it's a live server, and some of the custommers mails could be vital.

    This should be in the Feature Request forum : Wouldn't it be an Idea to be able to decide what to log and what NOT to log?
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Postfix decides what gets in the mail logfile, not ISPConfig.
     
  13. taylan

    taylan New Member

    mail problem help please

    Hello
    How did my problem start ?
    I use Centos perfect insallation and isconfig my server was working fine
    i had some email delivery problem and i just edited /etc/hosts file
    then restarted server everything fine i fix it up problem . But after that
    i started to recieve mailsize message this statitics staff if i remove catch all mail
    option in ispconfig it was working fine but .I looked at some thread and check
    my etc/postfix/local-host-names

    i was about the remove a line but i dindt then i just restarted postfix
    now i cant even send or recieve email now i dont understand what i have done my maillog
    /postconf: /usr/lib/mysql/libmysqlclient.so.14: no version information available (required by /usr/sbin/postconf)
    Dec 19 19:08:28 localhost postfix/master[5033]: warning: process /usr/libexec/postfix/qmgr pid 5037 exit status 1
    Dec 19 19:08:28 localhost postfix/master[5033]: warning: /usr/libexec/postfix/qmgr: bad command startup -- throttling
    Dec 19 19:08:43 localhost sendmail[5043]: kBJH8hMw005043: from=root, size=44, class=0, nrcpts=1, msgid=<200612191708.kBJH8hMw
    [email protected]domain>, relay=root@localhost
    Dec 19 19:08:43 localhost postfix/smtpd[5044]: connect from localhost.localdomain[127.0.0.1]
    Dec 19 19:08:43 localhost postfix/smtpd[5044]: setting up TLS connection from localhost.localdomain[127.0.0.1]
    Dec 19 19:08:43 localhost postfix/smtpd[5044]: TLS connection established from localhost.localdomain[127.0.0.1]: TLSv1 with c
    ipher DHE-RSA-AES256-SHA (256/256 bits)
    Dec 19 19:08:43 localhost sendmail[5043]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RS
    A-AES256-SHA, bits=256/256
    Dec 19 19:08:44 localhost postfix/smtpd[5044]: 8B695328574: client=localhost.localdomain[127.0.0.1], sasl_sender=root@localho
    st.locadomain
    Dec 19 19:08:44 localhost postfix/cleanup[5048]: 8B695328574: message-id=<[email protected]>
    Dec 19 19:08:54 localhost sendmail[5043]: kBJH8hMw005043: to=[email protected], ctladdr=root (0/0), delay=00:00:11, xdelay=00
    :00:11, mailer=relay, pri=30044, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 8B695328574)
    Dec 19 19:08:54 localhost postfix/smtpd[5044]: disconnect from localhost.localdomain[127.0.0.1]
    Dec 19 19:09:05 localhost pop3-login: Login: web1_taylan [::ffff:88.234.14.23]
    Dec 19 19:09:28 localhost postfix/qmgr[5060]: fatal: bad numerical configuration: initial_destination_concurrency = /usr/sbin
    /postconf: /usr/lib/mysql/libmysqlclient.so.14: no version information available (required by /usr/sbin/postconf)
    Dec 19 19:09:29 localhost postfix/master[5033]: warning: process /usr/libexec/postfix/qmgr pid 5060 exit status 1
    Dec 19 19:09:29 localhost postfix/master[5033]: warning: /usr/libexec/postfix/qmgr: bad command startup -- throttling
    Dec 19 19:09:36 localhost pop3-login: Login: web1_arrange [::ffff:88.234.14.23]
    Dec 19 19:10:06 localhost pop3-login: Login: web1_arrange [::ffff:88.234.14.23]
    Dec 19 19:10:14 localhost postfix/postfix-script: stopping the Postfix mail system
    Dec 19 19:10:14 localhost postfix/master[5033]: terminating on signal 15
    Dec 19 19:11:30 localhost pop3-login: Login: web1_taylan [::ffff:88.234.14.23]
    Dec 19 19:11:42 localhost pop3-login: Login: web1_mailtoafriend [::ffff:88.234.14.23]
    Dec 19 19:11:44 localhost pop3-login: Login: web1_arrange [::ffff:88.234.14.23]
    Dec 19 19:12:20 localhost pop3-login: Disconnected: Inactivity [::ffff:88.234.14.23]
    Dec 19 19:12:29 localhost sendmail[5213]: kBJHCT2C005213: from=root, size=44, class=0, nrcpts=1, msgid=<200612191712.kBJHCT2C
    [email protected]domain>, relay=root@localhost
    Dec 19 19:12:29 localhost sendmail[5213]: kBJHCT2C005213: to=[email protected], ctladdr=root (0/0), delay=00:00:00, xdelay=00
    :00:00, mailer=relay, pri=30044, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Dec 19 19:12:32 localhost pop3-login: Disconnected: Inactivity [::ffff:88.234.14.23]
     
  14. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/hosts? What's the output of
    Code:
    postconf -n
    ?
     
  15. taylan

    taylan New Member

    hello falko

    Hello at the moment my mail server working but
    if i select catch all mails i recieve large amount of size mails
    what is the solution i will appreciate thanks a lot
    i tried output of postconf -n i couldnt it says not found this command
    some commands i cant use i have got webmin in my system aswell

    my etc/hosts

    127.0.0.1 localhost.localdomain localhost
    192.168.3.245 backup.localdomain backup
    82.45.180.213 mail.damdakikedi.com

    [root@mail postfix]# more local-host-names
    ###################################
    #
    # ISPConfig local-host-names Configuration File
    # Version 1.0
    #
    ###################################
    localhost
    mail.damdakikedi.com
    localhost.mail.damdakikedi.com
    localhost.damdakikedi.com
    www.damdakikedi.com
    help.damdakikedi.com
    www.flydancelondon.com
    blog.damdakikedi.com
    flydancelondon.com
    damdakikedi.com
    #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####





     
  16. falko

    falko Super Moderator ISPConfig Developer

    You don't have postconf installed???
    What's the output of
    Code:
    which postconf
    ?
     
  17. taylan

    taylan New Member

    ı have got postfix

    I have got postfix but some of command i cant use through ssh it allows if i use directly from server .i dont know reason i am not sure but maybe webmin isolated some of command i dont know .how can i solve this mailsize problem
    i just edited etc/hosts file then problem started the reason i edited because most of my mail was delivered spam box now it is fine but i have got mailsize problem falko do you have any suggestion thanks alot

     
  18. till

    till Super Moderator Staff Member ISPConfig Developer

    You must be logged in as root user to use the commands. If you login as other user with SSH, run the command:

    su

    to become root user.
     
  19. taylan

    taylan New Member

    yes i switched to root user but doesnt allow when i use throught the actually server terminal it allows i noticed long time but i didnt know what it is the problem and at the moment i am not near my server and i have got this mailsize problem i dont know how to fix the problem .maybe the reason webmin i dont know because even i cant restart ispconfig server but i can do using webmin


     
  20. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    which postconf
    when you're logged in as root?
     

Share This Page