PDA

View Full Version : MailSize Loop?


themachine
11th October 2005, 22:11
So... I seem to keep having this problem. I send a test email to myself ('user@domain.com')... This is not a user setup/controlled through ISPConfig (i.e. 'web3_user@domain.com') because I want to keep my sysadmin accounts outside of the ISPConfig thang.

The problem is an email loop keeps starting... the message is the "Mailsize" email originally to 'ispconfig@localhost' ... the subject is "Mailsize: username" and the body appears to be the size of the message that was sent. But it just loops and keeps sending until I kill postfix.

Any help would be lovely... I'm sure that this is some minor configuration. I have the ispconfig@localhost pointing to this same user in /etc/aliases... but I don't see why it is looping resending this message over and over.

Plus... why is there a "Mailsize" email anyways???

thanks.

bj

falko
11th October 2005, 22:56
What's the exact error message?

Don't redirect the emails to admispconfig to another user! :eek: These emails are necessary for the email traffic statistics in ISPconfig!

themachine
12th October 2005, 01:33
yeah... that would make sense.... admispconfig actually forwards to root, and root forwards to my sysadmin user. I can't say whether I added the "admispconfig: root" or if it was there.... hmm.

Thank you... the "Mailsize" emails make so much more sense now! ;) I'll play around a bit.

BJ

themachine
15th October 2005, 17:51
everything works perfect now!

NOTE TO ALL... don't forward your admispconfig@localhost to another user.... its just bad news! ;)

sirmee2001
18th December 2005, 19:57
I am having the same problem. How and where do I check if mail to admispconfig@localhost is being forwarded to another user?

till
18th December 2005, 20:42
That depends on where you added the forward. If you not added the forward yourself on the shell, i guess you do not have the problem discussed in this thread.

Did you get mails with a number inside or did you get an error message in your maillog stating "mail loops back to myself"?

falko
18th December 2005, 21:29
What's in your mail log?

sirmee2001
18th December 2005, 22:04
I got hundreds of mails with numbers in them within half a minute, i.e. before I made changes in main.cf and reloaded postfix. The thing is, I want to set up an always_bcc account. If I add that to main.cf and send a test mail, the mail gets sent and then immediately after that messages are sent non-stop to the bcc account from the ispconfig@localhost account with what I assume to be mail sizes in them.

sirmee2001
18th December 2005, 22:20
Here is a bit of the log information. I am new to this whole forum thing so forgive me if I am not doing it the right way.

Dec 18 22:14:06 localhost postfix/pickup[27086]: B3164230B6: uid=10022 from=<web10_mailreport>
Dec 18 22:14:06 localhost postfix/cleanup[27211]: B3164230B6: message-id=<20051218211406.B3164230B6@localhost.localdomain>
Dec 18 22:14:06 localhost postfix/qmgr[24111]: B3164230B6: from=<web10_mailreport@churchill.pl>, size=414, nrcpt=2 (queue active)
Dec 18 22:14:06 localhost postfix/local[24161]: B3164230B6: to=<admispconfig@localhost>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-)
Dec 18 22:14:07 localhost postfix/pickup[27086]: 06D16230B8: uid=10022 from=<web10_mailreport>
Dec 18 22:14:07 localhost postfix/cleanup[27211]: 06D16230B8: message-id=<20051218211407.06D16230B8@localhost.localdomain>
Dec 18 22:14:07 localhost postfix/qmgr[24111]: 06D16230B8: from=<web10_mailreport@churchill.pl>, size=414, nrcpt=2 (queue active)
Dec 18 22:14:07 localhost postfix/local[24185]: 06D16230B8: to=<admispconfig@localhost>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-)
Dec 18 22:14:09 localhost postfix/local[24184]: BF214230B7: to=<web10_mailreport@churchill.pl>, orig_to=<mailreport@churchill.pl>, relay=local, delay=6, status=sent (delivered to command: /usr/bin/procmail -f-)
Dec 18 22:14:09 localhost postfix/qmgr[24111]: BF214230B7: removed
Dec 18 22:14:09 localhost postfix/local[25868]: B3164230B6: to=<web10_mailreport@churchill.pl>, orig_to=<mailreport@churchill.pl>, relay=local, delay=3, status=sent (delivered to command: /usr/bin/procmail -f-)
Dec 18 22:14:09 localhost postfix/qmgr[24111]: B3164230B6: removed
Dec 18 22:14:09 localhost postfix/pickup[27086]: D5722230B6: uid=10022 from=<web10_mailreport>
Dec 18 22:14:09 localhost postfix/cleanup[27211]: D5722230B6: message-id=<20051218211409.D5722230B6@localhost.localdomain>
Dec 18 22:14:09 localhost postfix/qmgr[24111]: D5722230B6: from=<web10_mailreport@churchill.pl>, size=414, nrcpt=2 (queue active)
Dec 18 22:14:10 localhost postfix/local[24184]: D5722230B6: to=<admispconfig@localhost>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail -f-)
Dec 18 22:14:10 localhost postfix/pickup[27086]: 45BED230B7: uid=10022 from=<web10_mailreport>
Dec 18 22:14:10 localhost postfix/cleanup[27211]: 45BED230B7: message-id=<20051218211410.45BED230B7@localhost.localdomain>

till
18th December 2005, 22:55
I got hundreds of mails with numbers in them within half a minute, i.e. before I made changes in main.cf and reloaded postfix. The thing is, I want to set up an always_bcc account. If I add that to main.cf and send a test mail, the mail gets sent and then immediately after that messages are sent non-stop to the bcc account from the ispconfig@localhost account with what I assume to be mail sizes in them.

What exactly did you add in main.cf ?

sirmee2001
18th December 2005, 23:37
always_bcc = emailaddress

I just added the line above with a valide email address

falko
19th December 2005, 11:19
Comment out/remove that line from /etc/postfix/main.cf and restart Postfix. Please read this thread from the beginning to understand why you should not interfere with emails to admispconfig@localhost.

sirmee2001
19th December 2005, 11:44
I removed the line. Is there another way of tracking the emails that have been sent from my system? I need to see the passwords that users have chosen during registration so that I can create email accounts for them using the same passwords.

till
19th December 2005, 11:48
Why dont you modify the registration script to send you a copy of the email?

sirmee2001
19th December 2005, 11:56
Thanks for your reply. I am using joomla 1.0.3. Could you please give me a hint where to do that?

till
19th December 2005, 12:01
Thanks for your reply. I am using joomla 1.0.3. Could you please give me a hint where to do that?

I'am not so familar with Joomla. Maybe you can ask the folks in the joomla forums.

sirmee2001
19th December 2005, 12:07
I will do that. Thanks a lot.