Hi! I'm having a problem with my ISPConfig3 setup with squirrelmail. I cannot receive any mail! When trying to send, the sender get the following message: This is the mail system at host mydomain. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system <[email protected]>: unknown user: "myusername" Final-Recipient: rfc822; [email protected] Original-Recipient: rfc822;[email protected] Action: failed Status: 5.1.1 Diagnostic-Code: X-Postfix; unknown user: "myusername" I've looked through most squirrelmail and ispconfi3-configs, but I can't find anything remotely related to this issue. Could anyone point me in the right direction? Edit: After some more researching, I found out that if I mail an account NOT setup in ispconfig3, I get this error message instead "MAIL DELIVERY FAILED PERMANENTLY". Something must be right, since it figures out what accounts are actually existing and not? Thanks a million!
Please check that you have not used mydomain.com as server hostname or in postfix main.cf or /etc/mailname as maildelivery in postfix for virtual mail accounts will fail when the postfix "myhostname" or "mydomain" variable in main.cf uses the same domain.
Humm I'm not quite sure what I'm looking at, but what I can see is that in the main.cf I got the following line: myhostname = mydomain.com it also lists the domain under: mydestination = mydomain.com, localhost, localhost.localdomain. should I edit any of the virtual settings in the main.cf? Edit: The /etc/mailname contains the same domain as used in main.cf for: myhostname = mydomain.com So I guess that's the problem then? What should I change this into to make things work?
Fixed! Oct 22 12:24:10 vps01-hostname-for-vps postfix/trivial-rewrite[22145]: warning: do not list domain mydomain.com in BOTH mydestination and virtual_mailbox_domains After digging through the logs, I found the issue you pointed me towards. I removed the domain from mydestination in main.cf and everything works brilliant now! Thanks!
mail delivery failure Hello! I can't send and accept mails. Tis is my mail log file: Code: Mail - Napló (Szerver : hoszting.muszti.hu) Refresh sequence: Data from: 2012-03-08 16:00 Mar 8 16:55:48 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 8 16:55:48 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[56520], protocol=IMAP Mar 8 16:55:48 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=119, sent=900, time=0 Mar 8 16:56:01 muszti postfix/smtpd[20231]: connect from localhost[127.0.0.1] Mar 8 16:56:01 muszti postfix/smtpd[20231]: lost connection after CONNECT from localhost[127.0.0.1] Mar 8 16:56:01 muszti postfix/smtpd[20231]: disconnect from localhost[127.0.0.1] Mar 8 16:56:01 muszti pop3d: Connection, ip=[::ffff:127.0.0.1] Mar 8 16:56:01 muszti pop3d: Disconnected, ip=[::ffff:127.0.0.1] Mar 8 16:56:01 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 8 16:56:01 muszti imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0 Mar 8 16:57:01 muszti postfix/smtpd[20231]: connect from localhost[127.0.0.1] Mar 8 16:57:01 muszti postfix/smtpd[20231]: lost connection after CONNECT from localhost[127.0.0.1] Mar 8 16:57:01 muszti postfix/smtpd[20231]: disconnect from localhost[127.0.0.1] Mar 8 16:57:01 muszti pop3d: Connection, ip=[::ffff:127.0.0.1] Mar 8 16:57:01 muszti pop3d: Disconnected, ip=[::ffff:127.0.0.1] Mar 8 16:57:01 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 8 16:57:01 muszti imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0 Mar 8 16:58:01 muszti postfix/smtpd[20231]: connect from localhost[127.0.0.1] Mar 8 16:58:01 muszti postfix/smtpd[20231]: lost connection after CONNECT from localhost[127.0.0.1] Mar 8 16:58:01 muszti postfix/smtpd[20231]: disconnect from localhost[127.0.0.1] Mar 8 16:58:01 muszti pop3d: Connection, ip=[::ffff:127.0.0.1] Mar 8 16:58:01 muszti pop3d: Disconnected, ip=[::ffff:127.0.0.1] Mar 8 16:58:01 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 8 16:58:01 muszti imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0 Mar 8 16:59:01 muszti postfix/smtpd[20231]: connect from localhost[127.0.0.1] Mar 8 16:59:01 muszti postfix/smtpd[20231]: lost connection after CONNECT from localhost[127.0.0.1] Mar 8 16:59:01 muszti postfix/smtpd[20231]: disconnect from localhost[127.0.0.1] Mar 8 16:59:01 muszti pop3d: Connection, ip=[::ffff:127.0.0.1] Mar 8 16:59:01 muszti pop3d: Disconnected, ip=[::ffff:127.0.0.1] Mar 8 16:59:01 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 8 16:59:01 muszti imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0 Mar 8 16:59:12 muszti postfix/qmgr[21578]: E533C7A220B: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: E81C37A2219: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: E1B9D7A2362: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: C78367A22FF: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: C7B0E7A225F: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: C87427A22CF: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: 84FCC7A22DB: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: 0BD1E7A2346: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: 0B4A27A230D: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: 061007A22E8: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: 6CC987A2354: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: 652707A22F5: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: 4DFFF7A2279: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: B62877A2242: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: B4AD57A22BE: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: BC2AD7A225C: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: A1F497A231B: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: AE3AC7A22A5: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: ABEA57A2250: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: AB3857A0EEB: from=, size=846, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: 98FE17A2338: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: 7720C7A22E7: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: 79A9F7A2289: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: F1B2D7A226E: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: DEC9C7A232C: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: D9AA07A21F4: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: 15B3C7A21E6: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: 1A27D7A2366: from=, size=988, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/qmgr[21578]: 1F1B67A227B: from=, size=962, nrcpt=1 (queue active) Mar 8 16:59:12 muszti postfix/smtp[21166]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Mar 8 16:59:12 muszti postfix/smtp[21167]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Mar 8 16:59:12 muszti postfix/smtp[21166]: E533C7A220B: to=, orig_to=, relay=none, delay=399011, delays=399011/0.02/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:12 muszti postfix/smtp[21166]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Mar 8 16:59:12 muszti postfix/smtp[21167]: E81C37A2219: to=, orig_to=, relay=none, delay=386411, delays=386411/0.02/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:12 muszti postfix/smtp[21167]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Mar 8 16:59:12 muszti postfix/smtp[21166]: E1B9D7A2362: to=, orig_to=, relay=none, delay=96611, delays=96611/0.12/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:12 muszti postfix/smtp[21167]: C78367A22FF: to=, orig_to=, relay=none, delay=184811, delays=184811/0.15/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21172]: C87427A22CF: to=, orig_to=, relay=none, delay=247796, delays=247796/0.2/0/0.07, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21171]: C7B0E7A225F: to=, orig_to=, relay=none, delay=323411, delays=323411/0.2/0/0.07, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21173]: 84FCC7A22DB: to=, orig_to=, relay=none, delay=235212, delays=235211/0.2/0/0.06, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21175]: 0BD1E7A2346: to=, orig_to=, relay=none, delay=121811, delays=121811/0.21/0/0.06, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21177]: 0B4A27A230D: to=, orig_to=, relay=none, delay=172211, delays=172211/0.21/0/0.06, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21171]: 6CC987A2354: to=, orig_to=, relay=none, delay=109212, delays=109211/0.27/0/0.08, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21177]: 061007A22E8: to=, orig_to=, relay=none, delay=197411, delays=197411/0.27/0/0.08, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21182]: A1F497A231B: to=, orig_to=, relay=none, delay=159612, delays=159611/0.28/0/0.13, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21173]: 4DFFF7A2279: to=, orig_to=, relay=none, delay=285612, delays=285612/0.27/0/0.14, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21180]: B4AD57A22BE: to=, orig_to=, relay=none, delay=260412, delays=260411/0.27/0/0.14, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21181]: BC2AD7A225C: to=, orig_to=, relay=none, delay=348611, delays=348611/0.27/0/0.13, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21172]: B62877A2242: to=, orig_to=, relay=none, delay=373811, delays=373811/0.27/0/0.14, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21175]: 652707A22F5: to=, orig_to=, relay=none, delay=210012, delays=210011/0.27/0/0.14, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21171]: ABEA57A2250: to=, orig_to=, relay=none, delay=361212, delays=361211/0.35/0/0.12, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21185]: AB3857A0EEB: to=, relay=none, delay=2143, delays=2142/0.35/0/0.11, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21186]: 98FE17A2338: to=, orig_to=, relay=none, delay=134412, delays=134411/0.35/0/0.11, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21177]: AE3AC7A22A5: to=, orig_to=, relay=none, delay=273012, delays=273011/0.35/0/0.12, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21175]: 7720C7A22E7: to=, orig_to=, relay=none, delay=222612, delays=222611/0.41/0/0.08, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21181]: D9AA07A21F4: to=, orig_to=, relay=none, delay=411611, delays=411611/0.41/0/0.08, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21180]: DEC9C7A232C: to=, orig_to=, relay=none, delay=147011, delays=147011/0.41/0/0.08, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21172]: 79A9F7A2289: to=, orig_to=, relay=none, delay=298212, delays=298211/0.41/0/0.08, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21182]: 15B3C7A21E6: to=, orig_to=, relay=none, delay=424211, delays=424211/0.41/0/0.08, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21173]: F1B2D7A226E: to=, orig_to=, relay=none, delay=336011, delays=336011/0.41/0/0.08, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21189]: 1A27D7A2366: to=, orig_to=, relay=none, delay=93011, delays=93011/0.41/0/0.08, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 16:59:13 muszti postfix/error[21192]: 1F1B67A227B: to=, orig_to=, relay=none, delay=310811, delays=310811/0.41/0/0.08, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Mar 8 17:00:02 muszti postfix/smtpd[20231]: connect from localhost[127.0.0.1] Mar 8 17:00:02 muszti postfix/smtpd[20231]: lost connection after CONNECT from localhost[127.0.0.1] Mar 8 17:00:02 muszti postfix/smtpd[20231]: disconnect from localhost[127.0.0.1] Mar 8 17:00:02 muszti pop3d: Connection, ip=[::ffff:127.0.0.1] Mar 8 17:00:02 muszti pop3d: Disconnected, ip=[::ffff:127.0.0.1] Mar 8 17:00:02 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 8 17:00:02 muszti imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0 Could you please help me?
to be honest I don't even know what is amavisd. Could you tell me how can I start it? I tried /etc/init.d/amavisd start but ubuntu doesn't know this command. maybe I have to install it?
ispconfig reinstalled I reinstalled ispconfig3 and re set my email. Now I get the e-mail from ispconfig: Wellcome to your new email account. But When I want to send an e-mail the log said: No route to host. Code: Mar 9 00:24:53 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=226, body=0, rcvd=294, sent=1406, time=0 Mar 9 00:25:01 muszti postfix/smtpd[20313]: connect from localhost[127.0.0.1] Mar 9 00:25:01 muszti postfix/smtpd[20313]: lost connection after CONNECT from localhost[127.0.0.1] Mar 9 00:25:01 muszti postfix/smtpd[20313]: disconnect from localhost[127.0.0.1] Mar 9 00:25:01 muszti pop3d: Connection, ip=[::ffff:127.0.0.1] Mar 9 00:25:01 muszti pop3d: Disconnected, ip=[::ffff:127.0.0.1] Mar 9 00:25:01 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 00:25:01 muszti imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0 Mar 9 00:28:11 muszti postfix/qmgr[2160]: DDDAE1F60E39: from=, size=844, nrcpt=1 (queue active) Mar 9 00:28:11 muszti postfix/smtpd[20324]: 539271F60E4C: client=localhost[127.0.0.1] Mar 9 00:28:11 muszti postfix/cleanup[20452]: 539271F60E4C: message-id=<[email protected]> Mar 9 00:28:11 muszti postfix/qmgr[2160]: 539271F60E4C: from=, size=1270, nrcpt=1 (queue active) Mar 9 00:28:11 muszti postfix/smtpd[20324]: disconnect from localhost[127.0.0.1] Mar 9 00:28:11 muszti amavis[20288]: (20288-02) Passed CLEAN, LOCAL [127.0.0.1] [46.107.77.70] -> , Message-ID: <[email protected]>, mail_id: ZQq4+FRLvrXo, Hits: -1, size: 844, queued_as: 539271F60E4C, 371 ms Mar 9 00:28:11 muszti postfix/smtp[20449]: DDDAE1F60E39: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=562, delays=561/0.01/0/0.37, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 539271F60E4C) Mar 9 00:28:11 muszti postfix/qmgr[2160]: DDDAE1F60E39: removed Mar 9 00:28:11 muszti postfix/smtp[20453]: connect to gmail-smtp-in.l.google.com[173.194.70.27]:25: No route to host Mar 9 00:28:11 muszti postfix/smtp[20453]: connect to alt1.gmail-smtp-in.l.google.com[209.85.173.27]:25: No route to host Mar 9 00:28:11 muszti postfix/smtp[20453]: connect to alt2.gmail-smtp-in.l.google.com[74.125.127.26]:25: No route to host Mar 9 00:28:11 muszti postfix/smtp[20453]: connect to alt3.gmail-smtp-in.l.google.com[209.85.225.26]:25: No route to host Mar 9 00:28:11 muszti postfix/smtp[20453]: connect to alt4.gmail-smtp-in.l.google.com[74.125.47.26]:25: No route to host Mar 9 00:28:11 muszti postfix/smtp[20453]: 539271F60E4C: to=, relay=none, delay=0.49, delays=0.09/0.01/0.4/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.47.26]:25: No route to host) Mar 9 00:30:01 muszti pop3d: Connection, ip=[::ffff:127.0.0.1] Mar 9 00:30:01 muszti pop3d: Disconnected, ip=[::ffff:127.0.0.1] Mar 9 00:30:01 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 00:30:01 muszti imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0 Mar 9 00:30:01 muszti postfix/smtpd[21256]: connect from localhost[127.0.0.1] Mar 9 00:30:01 muszti postfix/smtpd[21256]: lost connection after CONNECT from localhost[127.0.0.1] Mar 9 00:30:01 muszti postfix/smtpd[21256]: disconnect from localhost[127.0.0.1] Mar 9 00:30:12 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 00:30:12 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[53801], protocol=IMAP Mar 9 00:30:12 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=628, body=0, rcvd=311, sent=2262, time=0 Mar 9 00:30:19 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 00:30:19 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[53811], protocol=IMAP Mar 9 00:30:19 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=628, body=0, rcvd=311, sent=2262, time=0 Mar 9 00:30:19 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 00:30:19 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[53812], protocol=IMAP Mar 9 00:30:20 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=1 Mar 9 00:30:24 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 00:30:24 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[53866], protocol=IMAP Mar 9 00:30:24 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=0 Mar 9 00:30:44 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 00:30:44 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[53926], protocol=IMAP Mar 9 00:30:45 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=1719, rcvd=182, sent=2795, time=1 Mar 9 00:30:55 muszti postfix/smtpd[21256]: connect from localhost[127.0.0.1] Mar 9 00:30:55 muszti postfix/smtpd[21256]: 184931F60E39: client=localhost[127.0.0.1] Mar 9 00:30:55 muszti postfix/cleanup[21382]: 184931F60E39: message-id=<[email protected]> Mar 9 00:30:55 muszti postfix/qmgr[2160]: 184931F60E39: from=, size=1260, nrcpt=1 (queue active) Mar 9 00:30:55 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 00:30:55 muszti postfix/smtpd[21256]: disconnect from localhost[127.0.0.1] Mar 9 00:30:55 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[53936], protocol=IMAP Mar 9 00:30:55 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=1169, sent=203, time=0 Mar 9 00:30:55 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 00:30:55 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[53938], protocol=IMAP Mar 9 00:30:55 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=867, body=0, rcvd=311, sent=2727, time=0 Mar 9 00:30:55 muszti postfix/smtpd[21388]: connect from localhost[127.0.0.1] Mar 9 00:30:55 muszti postfix/smtpd[21388]: 8D4E21F60E4D: client=localhost[127.0.0.1] Mar 9 00:30:55 muszti postfix/cleanup[21382]: 8D4E21F60E4D: message-id=<[email protected]> Mar 9 00:30:55 muszti postfix/qmgr[2160]: 8D4E21F60E4D: from=, size=1686, nrcpt=1 (queue active) Mar 9 00:30:55 muszti postfix/smtpd[21388]: disconnect from localhost[127.0.0.1] Mar 9 00:30:55 muszti amavis[20287]: (20287-03) Passed CLEAN, LOCAL [127.0.0.1] [46.107.77.70] -> , Message-ID: <[email protected]>, mail_id: sp-8lnSMcoOF, Hits: -1, size: 1260, queued_as: 8D4E21F60E4D, 444 ms Mar 9 00:30:55 muszti postfix/smtp[21383]: 184931F60E39: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=0.58, delays=0.13/0.01/0/0.45, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 8D4E21F60E4D) Mar 9 00:30:55 muszti postfix/qmgr[2160]: 184931F60E39: removed Mar 9 00:30:55 muszti postfix/smtp[21389]: connect to gmail-smtp-in.l.google.com[173.194.70.27]:25: No route to host Mar 9 00:30:55 muszti postfix/smtp[21389]: connect to alt1.gmail-smtp-in.l.google.com[209.85.173.27]:25: No route to host Mar 9 00:30:55 muszti postfix/smtp[21389]: connect to alt2.gmail-smtp-in.l.google.com[74.125.127.27]:25: No route to host Mar 9 00:30:56 muszti postfix/smtp[21389]: connect to alt3.gmail-smtp-in.l.google.com[209.85.225.27]:25: No route to host Mar 9 00:30:56 muszti postfix/smtp[21389]: connect to alt4.gmail-smtp-in.l.google.com[74.125.47.27]:25: No route to host Mar 9 00:30:56 muszti postfix/smtp[21389]: 8D4E21F60E4D: to=, relay=none, delay=0.52, delays=0.09/0.01/0.42/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.47.27]:25: No route to host) Mar 9 00:30:59 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 00:30:59 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[53946], protocol=IMAP Mar 9 00:30:59 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=0 Mar 9 00:31:02 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 00:31:02 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[53947], protocol=IMAP Mar 9 00:31:02 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=0 Mar 9 00:33:11 muszti postfix/qmgr[2160]: 2FBD61F60E38: from=, size=1582, nrcpt=1 (queue active) Mar 9 00:33:11 muszti postfix/qmgr[2160]: 539271F60E4C: from=, size=1270, nrcpt=1 (queue active) Mar 9 00:33:11 muszti postfix/qmgr[2160]: 74F221F60E4B: from=, size=1678, nrcpt=1 (queue active) Mar 9 00:33:11 muszti postfix/smtp[21429]: connect to gmail-smtp-in.l.google.com[173.194.70.27]:25: No route to host Mar 9 00:33:11 muszti postfix/smtp[21427]: connect to gmail-smtp-in.l.google.com[173.194.70.27]:25: No route to host Mar 9 00:33:11 muszti postfix/smtp[21429]: connect to alt1.gmail-smtp-in.l.google.com[209.85.173.27]:25: No route to host Mar 9 00:33:11 muszti postfix/smtp[21427]: connect to alt1.gmail-smtp-in.l.google.com[209.85.173.27]:25: No route to host Mar 9 00:33:11 muszti postfix/smtp[21429]: connect to alt2.gmail-smtp-in.l.google.com[74.125.127.27]:25: No route to host Mar 9 00:33:11 muszti postfix/smtp[21427]: connect to alt2.gmail-smtp-in.l.google.com[74.125.127.27]:25: No route to host Mar 9 00:33:11 muszti postfix/smtp[21428]: connect to gmail-smtp-in.l.google.com[173.194.70.27]:25: No route to host Mar 9 00:33:11 muszti postfix/smtp[21429]: connect to alt3.gmail-smtp-in.l.google.com[209.85.225.27]:25: No route to host Mar 9 00:33:11 muszti postfix/smtp[21427]: connect to alt3.gmail-smtp-in.l.google.com[209.85.225.27]:25: No route to host Mar 9 00:33:11 muszti postfix/smtp[21428]: connect to alt1.gmail-smtp-in.l.google.com[209.85.173.27]:25: No route to host Mar 9 00:33:11 muszti postfix/smtp[21429]: connect to alt4.gmail-smtp-in.l.google.com[74.125.47.27]:25: No route to host Mar 9 00:33:11 muszti postfix/smtp[21427]: connect to alt4.gmail-smtp-in.l.google.com[74.125.47.27]:25: No route to host Mar 9 00:33:11 muszti postfix/smtp[21428]: connect to alt2.gmail-smtp-in.l.google.com[74.125.127.27]:25: No route to host Mar 9 00:33:11 muszti postfix/smtp[21428]: connect to alt3.gmail-smtp-in.l.google.com[209.85.225.27]:25: No route to host Mar 9 00:33:11 muszti postfix/smtp[21428]: connect to alt4.gmail-smtp-in.l.google.com[74.125.47.27]:25: No route to host Mar 9 00:33:11 muszti postfix/smtp[21429]: 74F221F60E4B: to=, relay=none, delay=521, delays=521/0.01/0.35/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.47.27]:25: No route to host) Mar 9 00:33:11 muszti postfix/smtp[21427]: 2FBD61F60E38: to=, relay=none, delay=569, delays=569/0.02/0.36/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.47.27]:25: No route to host) Mar 9 00:33:11 muszti postfix/smtp[21428]: 539271F60E4C: to=, relay=none, delay=300, delays=300/0.01/0.4/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.47.27]:25: No route to host) Mar 9 00:35:01 muszti pop3d: Connection, ip=[::ffff:127.0.0.1] Mar 9 00:35:01 muszti pop3d: Disconnected, ip=[::ffff:127.0.0.1] Mar 9 00:35:01 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 00:35:01 muszti imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0 Please help!
update UPDATE: now i can recieve e-mails, the mistake was that I havent filled out the relayhost in main.cf but now I still have problems: It says: mail loops back to myself. Code: Mar 9 03:37:46 muszti postfix/smtpd[17142]: connect from dsl51B7B9F9.pool.t-online.hu[81.183.185.249] Mar 9 03:37:46 muszti postfix/smtp[17153]: warning: host mail.system.muszti.hu[81.183.185.249]:25 greeted me with my own hostname muszti Mar 9 03:37:46 muszti postfix/smtp[17153]: warning: host mail.system.muszti.hu[81.183.185.249]:25 replied to HELO/EHLO with my own hostname muszti Mar 9 03:37:46 muszti postfix/smtp[17153]: CF65B1F61618: to=, relay=mail.system.muszti.hu[81.183.185.249]:25, delay=0.39, delays=0.12/0.01/0.27/0, dsn=5.4.6, status=bounced (mail for system.muszti.hu loops back to myself) Mar 9 03:37:46 muszti postfix/smtpd[17142]: disconnect from dsl51B7B9F9.pool.t-online.hu[81.183.185.249] Mar 9 03:37:46 muszti postfix/cleanup[17146]: 4EAB91F61619: message-id=<20120309023746.4EAB91F61619@muszti> Mar 9 03:37:46 muszti postfix/bounce[17155]: CF65B1F61618: sender non-delivery notification: 4EAB91F61619 Mar 9 03:37:46 muszti postfix/qmgr[17137]: 4EAB91F61619: from=<>, size=4361, nrcpt=1 (queue active) Mar 9 03:37:46 muszti postfix/qmgr[17137]: CF65B1F61618: removed Mar 9 03:37:46 muszti postfix/pipe[17156]: 4EAB91F61619: to=, relay=maildrop, delay=0.15, delays=0.07/0/0/0.08, dsn=2.0.0, status=sent (delivered via maildrop service) Mar 9 03:37:46 muszti postfix/qmgr[17137]: 4EAB91F61619: removed Mar 9 03:37:48 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 03:37:48 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[37208], protocol=IMAP Mar 9 03:37:48 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=758, body=0, rcvd=296, sent=2381, time=0 Mar 9 03:37:55 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 03:37:55 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[37210], protocol=IMAP Mar 9 03:37:55 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=0 Mar 9 03:37:59 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 03:37:59 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[37211], protocol=IMAP Mar 9 03:37:59 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=2160, rcvd=213, sent=4126, time=0 Mar 9 03:39:43 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 03:39:43 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[37213], protocol=IMAP Mar 9 03:39:43 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=0 Mar 9 03:40:01 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 03:40:01 muszti imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0 Code: Subject: Undelivered Mail Returned to Sender From: "Mail Delivery System" <[email protected]> Date: Fri, March 9, 2012 3:37 am To: [email protected] Priority: Normal Options: View Full Header | View Printable Version | Download this as a file This is the mail system at host muszti. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system <[email protected]>: mail for system.muszti.hu loops back to myself I also have dns hosts for: system.muszti.hu mail.system.muszti.hu mx record for system.muszti.hu that ponts to mail.system.muszti.hu and I have mail.muszti.hu muszti.hu mx record for muszti.hu that points to mail.muszti.hu I created a mailuser: [email protected] and it keeps saying that it loops back. My main.cf looks like this: Code: # See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname. #myorigin = /etc/mailname smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h readme_directory = /usr/share/doc/postfix # TLS parameters smtpd_tls_cert_file = /etc/postfix/smtpd.cert smtpd_tls_key_file = /etc/postfix/smtpd.key smtpd_use_tls = yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client. myhostname = muszti alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases myorigin = /etc/mailname mydestination = $myhostname, $mydomain, localhost.$mydomain, localhost relayhost = system.muszti.hu mynetworks = 127.0.0.0/8 [::1]/128 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all html_directory = /usr/share/doc/postfix/html virtual_alias_domains = virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf, hash:/var/lib/mailman/data/virtual-mailman virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf virtual_mailbox_base = /var/vmail virtual_uid_maps = static:5000 virtual_gid_maps = static:5000 smtpd_sasl_auth_enable = yes broken_sasl_auth_clients = yes smtpd_sasl_authenticated_header = yes smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination smtpd_tls_security_level = may transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf smtpd_client_message_rate_limit = 100 maildrop_destination_concurrency_limit = 1 maildrop_destination_recipient_limit = 1 virtual_transport = maildrop header_checks = regexp:/etc/postfix/header_checks mime_header_checks = regexp:/etc/postfix/mime_header_checks nested_header_checks = regexp:/etc/postfix/nested_header_checks body_checks = regexp:/etc/postfix/body_checks owner_request_special = no content_filter = amavis:[127.0.0.1]:10024 receive_override_options = no_address_mappings message_size_limit = 0 Thank you for your support
Edit postfix main.cf and set: myhostname = system.muszti.hu The myhostname setting has to be the server hostname, it may not be a domain used to send / receive emails on a virtual mail setup or postfix will not be able to deliver the emails. Then check also the file /etc/mailname, it has to contain one line: system.muszti.hu
still not sending I set what you told, but still not sending. now it doesn't send me a mail that undelivered. I have virtual mailbox [email protected] the mail log is this: it says: warning: do not list domain muszti.hu in BOTH mydestination and virtual_mailbox_domains but my virtualbox is muszti.hu and mydestination is system.muszti.hu Code: Mar 9 15:00:45 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=5292, rcvd=272, sent=7401, time=0 Mar 9 15:00:58 muszti postfix/smtpd[27991]: connect from localhost[127.0.0.1] Mar 9 15:00:58 muszti postfix/trivial-rewrite[27994]: warning: do not list domain muszti.hu in BOTH mydestination and virtual_mailbox_domains Mar 9 15:00:58 muszti postfix/smtpd[27991]: EBFC21F60E45: client=localhost[127.0.0.1] Mar 9 15:00:59 muszti postfix/cleanup[27995]: EBFC21F60E45: message-id= Mar 9 15:00:59 muszti postfix/qmgr[27888]: EBFC21F60E45: from=, size=2265, nrcpt=1 (queue active) Mar 9 15:00:59 muszti postfix/smtpd[27991]: disconnect from localhost[127.0.0.1] Mar 9 15:00:59 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 15:00:59 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[39952], protocol=IMAP Mar 9 15:00:59 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=2164, sent=204, time=0 Mar 9 15:00:59 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 15:00:59 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[39954], protocol=IMAP Mar 9 15:00:59 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=3359, body=0, rcvd=297, sent=7250, time=0 Mar 9 15:00:59 muszti postfix/smtpd[28014]: connect from localhost[127.0.0.1] Mar 9 15:00:59 muszti postfix/trivial-rewrite[27994]: warning: do not list domain muszti.hu in BOTH mydestination and virtual_mailbox_domains Mar 9 15:00:59 muszti postfix/smtpd[28014]: B02401F60E74: client=localhost[127.0.0.1] Mar 9 15:00:59 muszti postfix/cleanup[27995]: B02401F60E74: message-id= Mar 9 15:00:59 muszti postfix/qmgr[27888]: B02401F60E74: from=, size=2711, nrcpt=1 (queue active) Mar 9 15:00:59 muszti postfix/smtpd[28014]: disconnect from localhost[127.0.0.1] Mar 9 15:00:59 muszti amavis[12795]: (12795-09) Passed CLEAN, LOCAL [127.0.0.1] [78.92.106.84] -> , Message-ID: , mail_id: 4jSKH9VVuN23, Hits: -1, size: 2265, queued_as: B02401F60E74, 715 ms Mar 9 15:00:59 muszti postfix/smtp[27997]: EBFC21F60E45: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=0.88, delays=0.15/0/0.01/0.71, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as B02401F60E74) Mar 9 15:00:59 muszti postfix/qmgr[27888]: EBFC21F60E45: removed Mar 9 15:01:00 muszti postfix/smtpd[27991]: connect from dsl4E5C6A54.pool.t-online.hu[78.92.106.84] Mar 9 15:01:00 muszti postfix/smtp[28015]: warning: host mail.system.muszti.hu[78.92.106.84]:25 greeted me with my own hostname system.muszti.hu Mar 9 15:01:00 muszti postfix/smtp[28015]: warning: host mail.system.muszti.hu[78.92.106.84]:25 replied to HELO/EHLO with my own hostname system.muszti.hu Mar 9 15:01:00 muszti postfix/smtp[28015]: B02401F60E74: to=, relay=mail.system.muszti.hu[78.92.106.84]:25, delay=0.57, delays=0.1/0.01/0.46/0, dsn=5.4.6, status=bounced (mail for mail.system.muszti.hu loops back to myself) Mar 9 15:01:00 muszti postfix/cleanup[27995]: 6002B1F60E78: message-id=<[email protected]> Mar 9 15:01:00 muszti postfix/smtpd[27991]: disconnect from dsl4E5C6A54.pool.t-online.hu[78.92.106.84] Mar 9 15:01:00 muszti postfix/bounce[28017]: B02401F60E74: sender non-delivery notification: 6002B1F60E78 Mar 9 15:01:00 muszti postfix/qmgr[27888]: 6002B1F60E78: from=<>, size=4611, nrcpt=1 (queue active) Mar 9 15:01:00 muszti postfix/trivial-rewrite[27994]: warning: do not list domain muszti.hu in BOTH mydestination and virtual_mailbox_domains Mar 9 15:01:00 muszti postfix/qmgr[27888]: B02401F60E74: removed Mar 9 15:01:00 muszti postfix/local[28018]: 6002B1F60E78: to=, relay=local, delay=0.16, delays=0.08/0.01/0/0.07, dsn=2.0.0, status=sent (delivered to mailbox) Mar 9 15:01:00 muszti postfix/qmgr[27888]: 6002B1F60E78: removed Mar 9 15:01:05 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 15:01:05 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[39958], protocol=IMAP Mar 9 15:01:05 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=392, time=0 Mar 9 15:04:20 muszti postfix/anvil[28016]: statistics: max connection rate 1/60s for (smtp:78.92.106.84) at Mar 9 15:01:00 Mar 9 15:04:20 muszti postfix/anvil[28016]: statistics: max connection count 1 for (smtp:78.92.106.84) at Mar 9 15:01:00 Mar 9 15:04:20 muszti postfix/anvil[28016]: statistics: max cache size 1 at Mar 9 15:01:00 Mar 9 15:05:01 muszti pop3d: Connection, ip=[::ffff:127.0.0.1] Mar 9 15:05:01 muszti pop3d: Disconnected, ip=[::ffff:127.0.0.1] Mar 9 15:05:01 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 15:05:01 muszti imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0 Mar 9 15:05:01 muszti postfix/smtpd[28097]: connect from localhost[127.0.0.1] Mar 9 15:05:01 muszti postfix/smtpd[28097]: lost connection after CONNECT from localhost[127.0.0.1] Mar 9 15:05:01 muszti postfix/smtpd[28097]: disconnect from localhost[127.0.0.1] Mar 9 15:05:25 muszti postfix/master[14467]: reload -- version 2.8.5, configuration /etc/postfix Mar 9 15:05:49 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 15:05:49 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[40009], protocol=IMAP Mar 9 15:05:49 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=456, rcvd=75, sent=898, time=0 Mar 9 15:05:52 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 15:05:52 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[40010], protocol=IMAP Mar 9 15:05:53 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=5292, rcvd=272, sent=7401, time=1 Mar 9 15:06:05 muszti postfix/smtpd[28170]: connect from localhost[127.0.0.1] Mar 9 15:06:05 muszti postfix/trivial-rewrite[28173]: warning: do not list domain muszti.hu in BOTH mydestination and virtual_mailbox_domains Mar 9 15:06:05 muszti postfix/smtpd[28170]: B80781F60E74: client=localhost[127.0.0.1] Mar 9 15:06:05 muszti postfix/cleanup[28174]: B80781F60E74: message-id=<[email protected]> Mar 9 15:06:05 muszti postfix/qmgr[28154]: B80781F60E74: from=, size=2265, nrcpt=1 (queue active) Mar 9 15:06:05 muszti postfix/smtpd[28170]: disconnect from localhost[127.0.0.1] Mar 9 15:06:05 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 15:06:05 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[40020], protocol=IMAP Mar 9 15:06:05 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=2164, sent=204, time=0 Mar 9 15:06:05 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 15:06:05 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[40022], protocol=IMAP Mar 9 15:06:05 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=3359, body=0, rcvd=297, sent=7250, time=0 Mar 9 15:06:06 muszti postfix/smtpd[28180]: connect from localhost[127.0.0.1] Mar 9 15:06:06 muszti postfix/trivial-rewrite[28173]: warning: do not list domain muszti.hu in BOTH mydestination and virtual_mailbox_domains Mar 9 15:06:06 muszti postfix/smtpd[28180]: 5C6561F60E78: client=localhost[127.0.0.1] Mar 9 15:06:06 muszti postfix/cleanup[28174]: 5C6561F60E78: message-id=<[email protected]> Mar 9 15:06:06 muszti postfix/qmgr[28154]: 5C6561F60E78: from=, size=2711, nrcpt=1 (queue active) Mar 9 15:06:06 muszti postfix/smtpd[28180]: disconnect from localhost[127.0.0.1] Mar 9 15:06:06 muszti amavis[12789]: (12789-10) Passed CLEAN, LOCAL [127.0.0.1] [78.92.106.84] -> , Message-ID: <[email protected]>, mail_id: cMncxaxM6k93, Hits: -1, size: 2265, queued_as: 5C6561F60E78, 624 ms Mar 9 15:06:06 muszti postfix/smtp[28175]: B80781F60E74: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=0.76, delays=0.12/0/0/0.62, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 5C6561F60E78) Mar 9 15:06:06 muszti postfix/qmgr[28154]: B80781F60E74: removed Mar 9 15:06:06 muszti postfix/smtpd[28170]: connect from dsl4E5C6A54.pool.t-online.hu[78.92.106.84] Mar 9 15:06:06 muszti postfix/smtp[28181]: warning: host mail.system.muszti.hu[78.92.106.84]:25 greeted me with my own hostname system.muszti.hu Mar 9 15:06:06 muszti postfix/smtp[28181]: warning: host mail.system.muszti.hu[78.92.106.84]:25 replied to HELO/EHLO with my own hostname system.muszti.hu Mar 9 15:06:06 muszti postfix/smtp[28181]: 5C6561F60E78: to=, relay=mail.system.muszti.hu[78.92.106.84]:25, delay=0.38, delays=0.12/0.01/0.26/0, dsn=5.4.6, status=bounced (mail for mail.system.muszti.hu loops back to myself) Mar 9 15:06:06 muszti postfix/smtpd[28170]: disconnect from dsl4E5C6A54.pool.t-online.hu[78.92.106.84] Mar 9 15:06:06 muszti postfix/cleanup[28174]: C7E0B1F6160F: message-id=<[email protected]> Mar 9 15:06:06 muszti postfix/bounce[28183]: 5C6561F60E78: sender non-delivery notification: C7E0B1F6160F Mar 9 15:06:06 muszti postfix/qmgr[28154]: C7E0B1F6160F: from=<>, size=4611, nrcpt=1 (queue active) Mar 9 15:06:06 muszti postfix/trivial-rewrite[28173]: warning: do not list domain muszti.hu in BOTH mydestination and virtual_mailbox_domains Mar 9 15:06:06 muszti postfix/qmgr[28154]: 5C6561F60E78: removed Mar 9 15:06:06 muszti postfix/local[28184]: C7E0B1F6160F: to=, relay=local, delay=0.08, delays=0.03/0/0/0.04, dsn=2.0.0, status=sent (delivered to mailbox) Mar 9 15:06:06 muszti postfix/qmgr[28154]: C7E0B1F6160F: removed Mar 9 15:06:19 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 15:06:19 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[40027], protocol=IMAP Mar 9 15:06:19 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=392, time=0 Mar 9 15:06:22 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 15:06:22 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[40028], protocol=IMAP Mar 9 15:06:22 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=3359, body=0, rcvd=297, sent=7250, time=0 Mar 9 15:09:26 muszti postfix/anvil[28182]: statistics: max connection rate 1/60s for (smtp:78.92.106.84) at Mar 9 15:06:06 Mar 9 15:09:26 muszti postfix/anvil[28182]: statistics: max connection count 1 for (smtp:78.92.106.84) at Mar 9 15:06:06 Mar 9 15:09:26 muszti postfix/anvil[28182]: statistics: max cache size 1 at Mar 9 15:06:06 Mar 9 15:10:01 muszti pop3d: Connection, ip=[::ffff:127.0.0.1] Mar 9 15:10:01 muszti pop3d: Disconnected, ip=[::ffff:127.0.0.1] Mar 9 15:10:01 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 15:10:01 muszti imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0 it also says this: warning: host mail.system.muszti.hu[78.92.106.84]:25 greeted me with my own hostname system.muszti.hu Mar 9 15:06:06 muszti postfix/smtp[28181]: warning: host mail.system.muszti.hu[78.92.106.84]:25 replied to HELO/EHLO with my own hostname system.muszti.hu I don't know why...
still not working I also tried to change my host email to another domain, so mail.muszti.hu has now unique domain and the system's host is now muszti.nan.cl and mail.muszti.nan.cl but still gets me a message that it loops back and this is mail log: Code: Mar 9 17:27:43 muszti postfix/smtpd[5442]: connect from localhost[127.0.0.1] Mar 9 17:27:43 muszti postfix/smtpd[5442]: EFF3C1F60E59: client=localhost[127.0.0.1] Mar 9 17:27:43 muszti postfix/cleanup[5384]: EFF3C1F60E59: message-id=<[email protected]> Mar 9 17:27:44 muszti postfix/qmgr[5376]: EFF3C1F60E59: from=, size=2688, nrcpt=1 (queue active) Mar 9 17:27:44 muszti amavis[5241]: (05241-01) Passed CLEAN, LOCAL [127.0.0.1] [78.92.106.84] -> , Message-ID: <[email protected]>, mail_id: 1n8UQVaXZS05, Hits: -1, size: 2254, queued_as: EFF3C1F60E59, 7041 ms Mar 9 17:27:44 muszti postfix/smtp[5402]: DEB2B1F60E52: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=7.2, delays=0.11/0/0.01/7, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as EFF3C1F60E59) Mar 9 17:27:44 muszti postfix/qmgr[5376]: DEB2B1F60E52: removed Mar 9 17:27:44 muszti postfix/smtpd[5380]: connect from dsl4E5C6A54.pool.t-online.hu[78.92.106.84] Mar 9 17:27:44 muszti postfix/smtp[5379]: warning: host mail.muszti.nan.cl[78.92.106.84]:25 greeted me with my own hostname muszti.nan.cl Mar 9 17:27:44 muszti postfix/smtp[5379]: warning: host mail.muszti.nan.cl[78.92.106.84]:25 replied to HELO/EHLO with my own hostname muszti.nan.cl Mar 9 17:27:44 muszti postfix/smtp[5379]: EFF3C1F60E59: to=, relay=mail.muszti.nan.cl[78.92.106.84]:25, delay=0.28, delays=0.07/0/0.2/0, dsn=5.4.6, status=bounced (mail for mail.muszti.nan.cl loops back to myself) Mar 9 17:27:44 muszti postfix/smtpd[5380]: disconnect from dsl4E5C6A54.pool.t-online.hu[78.92.106.84] Mar 9 17:27:44 muszti postfix/cleanup[5384]: 4B8C61F60E5A: message-id=<[email protected]> Mar 9 17:27:44 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 17:27:44 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[41969], protocol=IMAP Mar 9 17:27:44 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=0 Mar 9 17:27:44 muszti postfix/bounce[5383]: EFF3C1F60E59: sender non-delivery notification: 4B8C61F60E5A Mar 9 17:27:44 muszti postfix/qmgr[5376]: 4B8C61F60E5A: from=<>, size=4552, nrcpt=1 (queue active) Mar 9 17:27:44 muszti postfix/qmgr[5376]: EFF3C1F60E59: removed Mar 9 17:27:44 muszti postfix/pipe[5385]: 4B8C61F60E5A: to=, relay=maildrop, delay=0.13, delays=0.04/0/0/0.09, dsn=2.0.0, status=sent (delivered via maildrop service) Mar 9 17:27:44 muszti postfix/qmgr[5376]: 4B8C61F60E5A: removed Mar 9 17:30:01 muszti pop3d: Connection, ip=[::ffff:127.0.0.1] Mar 9 17:30:01 muszti pop3d: Disconnected, ip=[::ffff:127.0.0.1] Mar 9 17:30:01 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 17:30:01 muszti imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0 Mar 9 17:30:01 muszti postfix/smtpd[5495]: connect from localhost[127.0.0.1] Mar 9 17:30:01 muszti postfix/smtpd[5495]: lost connection after CONNECT from localhost[127.0.0.1] Mar 9 17:30:01 muszti postfix/smtpd[5495]: disconnect from localhost[127.0.0.1] Mar 9 17:30:58 muszti postfix/qmgr[5376]: D5A121F60E4C: from=, size=2688, nrcpt=1 (queue active) Mar 9 17:30:58 muszti postfix/qmgr[5376]: D76A31F60E53: from=, size=2688, nrcpt=1 (queue active) Mar 9 17:30:59 muszti postfix/smtpd[5495]: connect from dsl4E5C6A54.pool.t-online.hu[78.92.106.84] Mar 9 17:30:59 muszti postfix/smtp[5530]: warning: host mail.muszti.nan.cl[78.92.106.84]:25 greeted me with my own hostname muszti.nan.cl Mar 9 17:30:59 muszti postfix/smtp[5530]: warning: host mail.muszti.nan.cl[78.92.106.84]:25 replied to HELO/EHLO with my own hostname muszti.nan.cl Mar 9 17:30:59 muszti postfix/smtp[5530]: D5A121F60E4C: to=, relay=mail.muszti.nan.cl[78.92.106.84]:25, delay=891, delays=891/0.01/0.63/0, dsn=5.4.6, status=bounced (mail for mail.muszti.nan.cl loops back to myself) Mar 9 17:30:59 muszti postfix/smtpd[5495]: disconnect from dsl4E5C6A54.pool.t-online.hu[78.92.106.84] Mar 9 17:30:59 muszti postfix/cleanup[5534]: 421191F60E59: message-id=<[email protected]> Mar 9 17:30:59 muszti postfix/smtpd[5532]: connect from dsl4E5C6A54.pool.t-online.hu[78.92.106.84] Mar 9 17:30:59 muszti postfix/smtp[5531]: warning: host mail.muszti.nan.cl[78.92.106.84]:25 greeted me with my own hostname muszti.nan.cl Mar 9 17:30:59 muszti postfix/smtp[5531]: warning: host mail.muszti.nan.cl[78.92.106.84]:25 replied to HELO/EHLO with my own hostname muszti.nan.cl Mar 9 17:30:59 muszti postfix/bounce[5533]: D5A121F60E4C: sender non-delivery notification: 421191F60E59 Mar 9 17:30:59 muszti postfix/qmgr[5376]: 421191F60E59: from=<>, size=4552, nrcpt=1 (queue active) Mar 9 17:30:59 muszti postfix/qmgr[5376]: D5A121F60E4C: removed Mar 9 17:30:59 muszti postfix/smtp[5531]: D76A31F60E53: to=, relay=mail.muszti.nan.cl[78.92.106.84]:25, delay=438, delays=438/0.01/0.72/0, dsn=5.4.6, status=bounced (mail for mail.muszti.nan.cl loops back to myself) Mar 9 17:30:59 muszti postfix/smtpd[5532]: disconnect from dsl4E5C6A54.pool.t-online.hu[78.92.106.84] Mar 9 17:30:59 muszti postfix/cleanup[5534]: 6791C1F60E4C: message-id=<[email protected]> Mar 9 17:30:59 muszti postfix/pipe[5536]: 421191F60E59: to=, relay=maildrop, delay=0.23, delays=0.09/0/0/0.14, dsn=2.0.0, status=sent (delivered via maildrop service) Mar 9 17:30:59 muszti postfix/qmgr[5376]: 421191F60E59: removed Mar 9 17:30:59 muszti postfix/bounce[5533]: D76A31F60E53: sender non-delivery notification: 6791C1F60E4C Mar 9 17:30:59 muszti postfix/qmgr[5376]: 6791C1F60E4C: from=<>, size=4552, nrcpt=1 (queue active) Mar 9 17:30:59 muszti postfix/qmgr[5376]: D76A31F60E53: removed Mar 9 17:30:59 muszti postfix/pipe[5536]: 6791C1F60E4C: to=, relay=maildrop, delay=0.25, delays=0.14/0/0/0.1, dsn=2.0.0, status=sent (delivered via maildrop service) Mar 9 17:30:59 muszti postfix/qmgr[5376]: 6791C1F60E4C: removed Mar 9 17:31:23 muszti postfix/smtpd[5409]: timeout after END-OF-MESSAGE from localhost[127.0.0.1] Mar 9 17:31:23 muszti postfix/smtpd[5409]: disconnect from localhost[127.0.0.1] Mar 9 17:31:56 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 17:31:56 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[42032], protocol=IMAP Mar 9 17:31:56 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=0 Mar 9 17:31:58 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 17:31:58 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[42033], protocol=IMAP Mar 9 17:31:58 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=2126, body=0, rcvd=296, sent=4859, time=0 Mar 9 17:32:02 muszti imapd: Connection, ip=[::ffff:127.0.0.1] Mar 9 17:32:02 muszti imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[42034], protocol=IMAP Mar 9 17:32:03 muszti imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=2306, rcvd=213, sent=4288, time=1 Mar 9 17:32:44 muszti postfix/smtpd[5442]: timeout after END-OF-MESSAGE from localhost[127.0.0.1]
maybe this is the error Maybe this is the error: When I telnet to muszti.hu it says it is 250 muszti.nan.cl Code: root@muszti:/home/muszti# telnet muszti.hu 25 Trying 46.107.169.192... Connected to muszti.hu. Escape character is '^]'. 220 muszti.nan.cl ESMTP Postfix (Ubuntu) helo muszti.hu 250 muszti.nan.cl How can I change it's host?
If you are on Ubuntu/Debian, you can change it in /etc/mailname. Otherwise, take a look at the myorigin setting in /etc/postfix/main.cf. Restart Postfix afterwards.