Mail is looping back
Hi,
I'm having some strange things going on my email server. I have my own domain, alitrix.nl Which includes IMAP (dovecot) and postfix (smpt and the relay part). With fetchmail I login on some POP3 accounts and get the mails and put them in the IMAP mailbox of my own home-dir (so I have a "central" place for my mail) Everything works fine, until here. With /etc/procmailrc I check the mail headers and put the mail in the correct directory. I've installed Thunderbird and configured my IMAP server. I added identies into Thunderbird, so I can send as alitrix@alitrix.nl, postfix@alitrix.nl, etc. etc. With the same IMAP account. The strange part is, for some reason my email is looping back as well This is what I do
alitrix@gmail.com receives the email, just like it should. Raw email: Code:
Raw email: Code:
Return-Path: <alitrix@alitrix.nl> Code:
DROPPRIVS=yes Did I miss something in the configuration? If you need too see any other configuration, please tell me. Greetz, Alitrix |
What does you mail log file show during the delivery cycle?
Edit - can you put a couple of line breaks in your first code section so the page automatically narrows? |
I added some enters, but the width isn't changeing :(
My log: Code:
==> mail.info <== |
This doesn't show a local delivery though
|
Well, this part:
Oct 17 23:40:36 r1k7s19 postfix/local[9715]: 6516F45827A: to=<alitrix@r1k7s19.kdiss.com>, orig_to=<alitrix@alitrix.nl>, relay=local, delay=30, delays=15/0.01/0/15, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION") Doesn't look good. Why if the From-address = alitrix@alitrix.nl, it gets back to the server? (r1k7s19.kdiss.com = servername + host) I didn't understand that part. |
Can you show ALL the relevant parts of the log.
That would be from 23:40:21 to after 23:40:36 at least |
This is all of it, but in tail -f mail.log mail.info
But incase it's a bit confusing: mail.log Code:
Oct 17 23:40:05 r1k7s19 postfix/smtpd[9698]: connect from 195-240-191-xx.ip.telfort.nl[195.240.191.xx] Code:
Oct 17 23:40:05 r1k7s19 postfix/smtpd[9698]: connect from 195-240-191-xx.ip.telfort.nl[195.240.191.xx] |
What is kdiss.com?
Are you sure you don't have any forwards in gmail? Are any of your aliases applicable? Can you post "postconf -n" please |
kdiss.com is the hosting company of the dedicated server.
# postconf -n Code:
alias_database = hash:/etc/aliases Code:
+--------------------+---------+------------+---------------------+---------------------+--------+ Code:
+------------+-------------+---------+-----------+----------+-------+-----------+----------+---------------------+---------------------+--------+ |
I'm expecting you have an aliase of
alitrix@alitrix.com: alitrix@r1k7s19.kdiss.com What else is in there? Again, are you sure you don't have any forwards set in gmail? |
That's all I have, I dont have any other aliases nor alias files.
I only put them in that table if I need any alias/forward. I checked my gmail, I dont have a forward there as well. I think it's the alias-table that is getting used, but I dont understand why postfix is doing a check on the From-address? Doesn't sound logic to me, cause this way the email is looping and then it loops that mail and that mail, etc. |
See /etc/aliases.
I agree - something is weird. |
# cat /etc/aliases
Code:
# Added by installer for initial user I've monitored the queries, check this: Sending mail to alitrix...@hotmail.com Code:
081018 13:09:59 78473 Connect postfix@localhost on postfix Code:
081018 13:10:14 78475 Connect postfix@localhost on postfix Really strange... :( |
Nobody a clue? :(?
|
I'll have a look later in the day if you don't hear anything.
What is the intention of the virtual forwardings? I don't use SQL tables, but it looks to me like you are copying anything to altrix.nl to altrix (which I assume is a valid user on your domain - the kdiss one) |
All times are GMT -5. The time now is 07:29 PM. |