ISPConfig3 mail doesn't work

Discussion in 'General' started by Marr, Aug 31, 2010.

  1. Marr

    Marr New Member

    Hi guys,

    I am total newbie in ISPConfig3 and I have an issue with emails. I cannot send or recevie any mail. I've installed ISPConfig3 based on tutorial: http://www.howtoforge.com/perfect-server-ubuntu-10.04-lucid-lynx-ispconfig-3 and everything went fine. Only problem I have with emails. I am using roundcube webmail client instead of squirrelmail and it shows that my email was sent but it never arrives. It is the same as receiving mail. I am not sure if I configured everything correctly and i'll appreciate any help. My mail queue on server monitor page looks like this:

    Code:
    Dane z: 2010-08-31 13:10
    -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
    89ABE81033 852 Mon Aug 30 21:58:32 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    
    CF01380FE4 801 Mon Aug 30 06:33:01 root@server
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    root@server
    
    17C2881075 529 Tue Aug 31 09:55:17 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    
    E077080FBA 801 Fri Aug 27 06:39:26 root@server
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    root@server
    
    E771480FBD 801 Sat Aug 28 06:58:55 root@server
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    root@server
    
    0210581022 517 Mon Aug 30 22:22:50 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    
    3BB098103F 1972 Mon Aug 30 22:59:13 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    
    3487981020 718 Mon Aug 30 21:18:32 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    
    59B3981042 534 Mon Aug 30 22:33:11 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    
    9724E8106C 2387 Tue Aug 31 06:27:45 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    
    90B1E80FD6 801 Sun Aug 29 06:53:51 root@server
    (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    root@server
    
    B9F8480FE0 707 Sun Aug 29 06:52:16 root@server
    (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    root@server
    
    B327C81043 525 Tue Aug 31 12:41:58 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    
    D756A81071 907 Tue Aug 31 09:51:26 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    
    29D258103D 1938 Mon Aug 30 22:00:02 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    
    2ED3880AE3 543 Mon Aug 30 21:17:45 www-data@server
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    
    -- 22 Kbytes in 16 Requests.
    and my mail log is like this:

    Code:
    Aug 31 12:58:01 server imapd: LOGIN, user=[email protected], ip=[::1], port=[46472], protocol=IMAP
    Aug 31 12:58:01 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 12:59:01 server imapd: Connection, ip=[::1]
    Aug 31 12:59:01 server imapd: LOGIN, user=[email protected], ip=[::1], port=[42367], protocol=IMAP
    Aug 31 12:59:01 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 13:00:01 server imapd: Connection, ip=[::1]
    Aug 31 13:00:01 server imapd: LOGIN, user=[email protected], ip=[::1], port=[42368], protocol=IMAP
    Aug 31 13:00:01 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 13:00:01 server pop3d: Connection, ip=[::1]
    Aug 31 13:00:01 server pop3d: Disconnected, ip=[::1]
    Aug 31 13:00:01 server imapd: Connection, ip=[::1]
    Aug 31 13:00:01 server imapd: Disconnected, ip=[::1], time=0
    Aug 31 13:00:01 server postfix/smtpd[21260]: connect from localhost[127.0.0.1]
    Aug 31 13:00:01 server postfix/smtpd[21260]: lost connection after CONNECT from localhost[127.0.0.1]
    Aug 31 13:00:01 server postfix/smtpd[21260]: disconnect from localhost[127.0.0.1]
    Aug 31 13:01:01 server imapd: Connection, ip=[::1]
    Aug 31 13:01:01 server imapd: LOGIN, user=[email protected], ip=[::1], port=[42381], protocol=IMAP
    Aug 31 13:01:01 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 13:02:01 server imapd: Connection, ip=[::1]
    Aug 31 13:02:01 server imapd: LOGIN, user=[email protected], ip=[::1], port=[42382], protocol=IMAP
    Aug 31 13:02:01 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 13:03:01 server imapd: Connection, ip=[::1]
    Aug 31 13:03:01 server imapd: LOGIN, user=[email protected], ip=[::1], port=[42383], protocol=IMAP
    Aug 31 13:03:01 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 13:04:01 server imapd: Connection, ip=[::1]
    Aug 31 13:04:01 server imapd: LOGIN, user=[email protected], ip=[::1], port=[50792], protocol=IMAP
    Aug 31 13:04:01 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 13:05:01 server imapd: Connection, ip=[::1]
    Aug 31 13:05:01 server imapd: LOGIN, user=[email protected], ip=[::1], port=[50793], protocol=IMAP
    Aug 31 13:05:01 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 13:05:01 server pop3d: Connection, ip=[::1]
    Aug 31 13:05:01 server pop3d: Disconnected, ip=[::1]
    Aug 31 13:05:01 server imapd: Connection, ip=[::1]
    Aug 31 13:05:01 server imapd: Disconnected, ip=[::1], time=0
    Aug 31 13:05:01 server postfix/smtpd[21348]: connect from localhost[127.0.0.1]
    Aug 31 13:05:01 server postfix/smtpd[21348]: lost connection after CONNECT from localhost[127.0.0.1]
    Aug 31 13:05:01 server postfix/smtpd[21348]: disconnect from localhost[127.0.0.1]
    Aug 31 13:06:01 server imapd: Connection, ip=[::1]
    Aug 31 13:06:01 server imapd: LOGIN, user=[email protected], ip=[::1], port=[50804], protocol=IMAP
    Aug 31 13:06:01 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 13:07:01 server imapd: Connection, ip=[::1]
    Aug 31 13:07:01 server imapd: LOGIN, user=[email protected], ip=[::1], port=[50805], protocol=IMAP
    Aug 31 13:07:01 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 13:07:46 server postfix/qmgr[12636]: 89ABE81033: from=, size=852, nrcpt=1 (queue active)
    Aug 31 13:07:46 server postfix/qmgr[12636]: 3BB098103F: from=, size=1972, nrcpt=1 (queue active)
    Aug 31 13:07:46 server postfix/smtp[21381]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Aug 31 13:07:46 server postfix/smtp[21382]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Aug 31 13:07:46 server postfix/smtp[21382]: 3BB098103F: to=, relay=none, delay=50914, delays=50914/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Aug 31 13:07:46 server postfix/smtp[21381]: 89ABE81033: to=, relay=none, delay=54554, delays=54554/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Aug 31 13:08:01 server imapd: Connection, ip=[::1]
    Aug 31 13:08:01 server imapd: LOGIN, user=[email protected], ip=[::1], port=[50810], protocol=IMAP
    Aug 31 13:08:01 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 13:09:01 server imapd: Connection, ip=[::1]
    Aug 31 13:09:01 server imapd: LOGIN, user=[email protected], ip=[::1], port=[41349], protocol=IMAP
    Aug 31 13:09:01 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 13:10:01 server imapd: Connection, ip=[::1]
    Aug 31 13:10:01 server imapd: LOGIN, user=[email protected], ip=[::1], port=[41350], protocol=IMAP
    Aug 31 13:10:01 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 13:10:01 server pop3d: Connection, ip=[::1]
    Aug 31 13:10:01 server imapd: Connection, ip=[::1]
    Aug 31 13:10:01 server imapd: Disconnected, ip=[::1], time=0
    Aug 31 13:10:01 server pop3d: Disconnected, ip=[::1]
    Aug 31 13:10:01 server postfix/smtpd[21439]: connect from localhost[127.0.0.1]
    Aug 31 13:10:01 server postfix/smtpd[21439]: lost connection after CONNECT from localhost[127.0.0.1]
    Aug 31 13:10:01 server postfix/smtpd[21439]: disconnect from localhost[127.0.0.1]
    Aug 31 13:11:01 server imapd: Connection, ip=[::1]
    Aug 31 13:11:01 server imapd: LOGIN, user=[email protected], ip=[::1], port=[41361], protocol=IMAP
    Aug 31 13:11:01 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 13:12:01 server imapd: Connection, ip=[::1]
    Aug 31 13:12:01 server imapd: LOGIN, user=[email protected], ip=[::1], port=[41362], protocol=IMAP
    Aug 31 13:12:01 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 13:12:46 server postfix/qmgr[12636]: CF01380FE4: from=, size=801, nrcpt=1 (queue active)
    Aug 31 13:12:46 server postfix/qmgr[12636]: E077080FBA: from=, size=801, nrcpt=1 (queue active)
    Aug 31 13:12:46 server postfix/qmgr[12636]: E771480FBD: from=, size=801, nrcpt=1 (queue active)
    Aug 31 13:12:46 server postfix/qmgr[12636]: 0210581022: from=, size=517, nrcpt=1 (queue active)
    Aug 31 13:12:46 server postfix/qmgr[12636]: 90B1E80FD6: from=, size=801, nrcpt=1 (queue active)
    Aug 31 13:12:46 server postfix/qmgr[12636]: B9F8480FE0: from=, size=707, nrcpt=1 (queue active)
    Aug 31 13:12:46 server postfix/smtp[21472]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Aug 31 13:12:46 server postfix/smtp[21473]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Aug 31 13:12:46 server postfix/smtp[21473]: E077080FBA: to=, orig_to=, relay=none, delay=369199, delays=369199/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Aug 31 13:12:46 server postfix/smtp[21472]: CF01380FE4: to=, orig_to=, relay=none, delay=110385, delays=110385/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Aug 31 13:12:46 server postfix/smtp[21473]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Aug 31 13:12:46 server postfix/smtp[21472]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Aug 31 13:12:46 server postfix/smtp[21472]: 0210581022: to=, relay=none, delay=53395, delays=53395/0.08/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Aug 31 13:12:46 server postfix/smtp[21473]: E771480FBD: to=, orig_to=, relay=none, delay=281631, delays=281630/0.07/0.01/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Aug 31 13:12:46 server postfix/error[21478]: B9F8480FE0: to=, orig_to=, relay=none, delay=195630, delays=195630/0.14/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Aug 31 13:12:46 server postfix/error[21477]: 90B1E80FD6: to=, orig_to=, relay=none, delay=195535, delays=195535/0.14/0/0.04, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Aug 31 13:13:01 server imapd: Connection, ip=[::1]
    Aug 31 13:13:01 server imapd: LOGIN, user=[email protected], ip=[::1], port=[41371], protocol=IMAP
    Aug 31 13:13:01 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 13:14:01 server imapd: Connection, ip=[::1]
    Aug 31 13:14:01 server imapd: LOGIN, user=[email protected], ip=[::1], port=[53325], protocol=IMAP
    Aug 31 13:14:01 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 13:15:01 server imapd: Connection, ip=[::1]
    Aug 31 13:15:01 server imapd: LOGIN, user=[email protected], ip=[::1], port=[53326], protocol=IMAP
    Aug 31 13:15:01 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 13:15:01 server pop3d: Connection, ip=[::1]
    Aug 31 13:15:01 server pop3d: Disconnected, ip=[::1]
    Aug 31 13:15:01 server imapd: Connection, ip=[::1]
    Aug 31 13:15:01 server imapd: Disconnected, ip=[::1], time=0
    my mail warn log:

    Code:
    Aug 31 09:51:26 server postfix/trivial-rewrite[18162]: warning: do not list domain marr.net.pl in BOTH mydestination and virtual_mailbox_domains
    Aug 31 09:55:17 server postfix/trivial-rewrite[18379]: warning: do not list domain marr.net.pl in BOTH mydestination and virtual_mailbox_domains
    Aug 31 12:41:58 server postfix/trivial-rewrite[20975]: warning: do not list domain marr.net.pl in BOTH mydestination and virtual_mailbox_domains
    I don't have a clue whats going on, also my mail error log is empty...

    Of course I pointed my domain to my server ip address, created e-mail domain and created e-mail account. I can log in and send emails but they are not delivered at all. Could anyone provide me any hint to get this working?

    p.s. sorry for my english.
    p.s. 2 i've searched forums but i cannot find any solution for me :/
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    amavisd is not running. Please start amavisd with the strat script in /etc/init.d:

    /etc/init.d/amavisd start

    aditionally, you configured postfix wth a wrong domain name. You may never use a domain that shall be used as email domain in postfix main.cf (thats why the perfect server guide instructions you to use server1.example.com and not example.com as hostname). Edit the /etc/postfix/main.cf file and replace e.g. marr.net.pl with mail.marr.net.pl and restart postfix.
     
    Last edited: Aug 31, 2010
  3. Marr

    Marr New Member

    i knew that posting here will be good idea, thanks for your reply. Problem is that /etc/init.d/amavisd start

    returns to me:
    -bash: /etc/init.d/amavisd: No such file or directory

    i think it is because according to the tutorial that i've used i installed amavisd-new but not amavisd (http://www.howtoforge.com/perfect-server-ubuntu-10.04-lucid-lynx-ispconfig-3-p4 - step nr 13)

    What should I do now?

    As for the second part of your post could you tell me if can i use my server ip address instead of domain name? It is because there is no specific fqdn pointing to my server, all are handled by ispconfig and redirected to client directories. I will be glad for some more help. Thanks.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The name of the amavisd script may vary depending on the linux distribution. In your case it might be named e.g. amavisd-newrun:

    /etc/init.d/amavisd-new start

    No, you have to use a fqdn. See here on how to access a server if you have not registered the domain name yet:

    http://www.faqforge.com/linux/contr...ess-a-namebased-website-without-a-dns-record/
     
  5. Marr

    Marr New Member

    okay, i managed to get amavis working by typing

    /etc/init.d/amavis restart

    is that correct?

    also, i changed hostname to server.marr.net.pl in /etc/hostname and /etc/postfix/main.cf and added 127.0.0.1 server.marr.net.pl in /etc/hosts. Now situation is similar - i cant send or receivie any mails. When i try to send one from gmail for example i get something like this:

    Code:
                      The mail system
    
    <[email protected]>: unknown user: "marek"
    Reporting-MTA: dns; server.marr.net.pl
    X-Postfix-Queue-ID: 783AA81091
    X-Postfix-Sender: rfc822; [email protected]
    Arrival-Date: Tue, 31 Aug 2010 15:18:03 +0200 (CEST)
    
    Final-Recipient: rfc822; [email protected]
    Original-Recipient: rfc822;[email protected]
    Action: failed
    Status: 5.1.1
    Diagnostic-Code: X-Postfix; unknown user: "marek"
    
    Od: Marek Oleksiak <[email protected]>
    Data: 31 sierpnia 2010 15:17:54 GMT+02:00
    Do: [email protected]
    Temat: dsadas
    
    
    dsaddsdasdadad
    of course i've added correct line in my local machine /etc/hosts to point server.marr.net.pl to my server ip..

    heres my logs:

    Code:
    Aug 31 15:16:56 server amavis[23474]: No decoder for .lha
    Aug 31 15:16:56 server amavis[23474]: No decoder for .doc tried: ripole
    Aug 31 15:16:56 server amavis[23474]: Found decoder for .cab at /usr/bin/cabextract
    Aug 31 15:16:56 server amavis[23474]: No decoder for .tnef
    Aug 31 15:16:56 server amavis[23474]: Internal decoder for .tnef
    Aug 31 15:16:56 server amavis[23474]: Found decoder for .exe at /usr/bin/arj
    Aug 31 15:16:56 server amavis[23474]: Using primary internal av scanner code for ClamAV-clamd
    Aug 31 15:16:56 server amavis[23474]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
    Aug 31 15:16:56 server amavis[23474]: Creating db in /var/lib/amavis/db/; BerkeleyDB 0.39, libdb 4.8
    Aug 31 15:17:28 server imapd: Connection, ip=[::1]
    Aug 31 15:17:28 server imapd: LOGIN, user=[email protected], ip=[::1], port=[59806], protocol=IMAP
    Aug 31 15:17:28 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=82, sent=600, time=0
    Aug 31 15:17:29 server imapd: Connection, ip=[::1]
    Aug 31 15:17:29 server imapd: LOGIN, user=[email protected], ip=[::1], port=[59807], protocol=IMAP
    Aug 31 15:17:29 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=286, sent=1702, time=0
    Aug 31 15:17:31 server imapd: Connection, ip=[::1]
    Aug 31 15:17:31 server imapd: LOGIN, user=[email protected], ip=[::1], port=[59808], protocol=IMAP
    Aug 31 15:17:31 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=63, sent=368, time=0
    Aug 31 15:17:32 server imapd: Connection, ip=[::1]
    Aug 31 15:17:32 server imapd: LOGIN, user=[email protected], ip=[::1], port=[59809], protocol=IMAP
    Aug 31 15:17:32 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=56, sent=368, time=0
    Aug 31 15:18:01 server postfix/smtpd[23501]: connect from mail-bw0-f53.google.com[209.85.214.53]
    Aug 31 15:18:01 server postfix/trivial-rewrite[23415]: warning: do not list domain marr.net.pl in BOTH mydestination and virtual_mailbox_domains
    Aug 31 15:18:01 server postfix/smtpd[23501]: AAA0981089: client=mail-bw0-f53.google.com[209.85.214.53]
    Aug 31 15:18:01 server postfix/cleanup[23505]: AAA0981089: message-id=
    Aug 31 15:18:01 server postfix/qmgr[23186]: AAA0981089: from=, size=1990, nrcpt=1 (queue active)
    Aug 31 15:18:03 server postfix/smtpd[23413]: connect from localhost[127.0.0.1]
    Aug 31 15:18:03 server postfix/smtpd[23413]: 783AA81091: client=localhost[127.0.0.1]
    Aug 31 15:18:03 server postfix/cleanup[23505]: 783AA81091: message-id=
    Aug 31 15:18:03 server postfix/qmgr[23186]: 783AA81091: from=, size=2623, nrcpt=1 (queue active)
    Aug 31 15:18:03 server postfix/trivial-rewrite[23415]: warning: do not list domain marr.net.pl in BOTH mydestination and virtual_mailbox_domains
    Aug 31 15:18:03 server amavis[23483]: (23483-01) Passed CLEAN, [209.85.214.53] [95.51.16.58] -> , Message-ID: , mail_id: miG2x2wWhC3W, Hits: -0.099, size: 1990, queued_as: 783AA81091, dkim_id=@gmail.com,[email protected], 1700 ms
    Aug 31 15:18:03 server postfix/smtp[23506]: AAA0981089: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=1.9, delays=0.19/0.01/0.01/1.7, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=23483-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 783AA81091)
    Aug 31 15:18:03 server postfix/qmgr[23186]: AAA0981089: removed
    Aug 31 15:18:03 server postfix/local[23511]: 783AA81091: to=, relay=local, delay=0.11, delays=0.04/0.02/0/0.04, dsn=5.1.1, status=bounced (unknown user: "marek")
    Aug 31 15:18:03 server postfix/cleanup[23505]: 924BD81092: message-id=<[email protected]>
    Aug 31 15:18:03 server postfix/bounce[23512]: 783AA81091: sender non-delivery notification: 924BD81092
    Aug 31 15:18:03 server postfix/qmgr[23186]: 924BD81092: from=<>, size=4488, nrcpt=1 (queue active)
    Aug 31 15:18:03 server postfix/qmgr[23186]: 783AA81091: removed
    Aug 31 15:18:14 server imapd: Connection, ip=[::1]
    Aug 31 15:18:14 server imapd: LOGIN, user=[email protected], ip=[::1], port=[51685], protocol=IMAP
    Aug 31 15:18:14 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=63, sent=368, time=0
    Aug 31 15:18:15 server postfix/smtp[23513]: 924BD81092: to=, relay=gmail-smtp-in.l.google.com[74.125.39.27]:25, delay=12, delays=0.04/0.01/4/7.5, dsn=2.0.0, status=sent (250 2.0.0 OK 1283260695 r6si7886736faq.15)
    Aug 31 15:18:15 server postfix/qmgr[23186]: 924BD81092: removed
    Aug 31 15:18:16 server imapd: Connection, ip=[::1]
    Aug 31 15:18:16 server imapd: LOGIN, user=[email protected], ip=[::1], port=[51686], protocol=IMAP
    Aug 31 15:18:16 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=56, sent=368, time=0
    Aug 31 15:18:17 server imapd: Connection, ip=[::1]
    Aug 31 15:18:17 server imapd: LOGIN, user=[email protected], ip=[::1], port=[51687], protocol=IMAP
    Aug 31 15:18:17 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 15:18:24 server imapd: Connection, ip=[::1]
    Aug 31 15:18:24 server imapd: LOGIN, user=[email protected], ip=[::1], port=[51688], protocol=IMAP
    Aug 31 15:18:24 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=82, sent=600, time=0
    Aug 31 15:18:26 server imapd: Connection, ip=[::1]
    Aug 31 15:18:26 server imapd: LOGIN, user=[email protected], ip=[::1], port=[51689], protocol=IMAP
    Aug 31 15:18:26 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=286, sent=1702, time=0
    Aug 31 15:18:29 server imapd: Connection, ip=[::1]
    Aug 31 15:18:29 server imapd: LOGIN, user=[email protected], ip=[::1], port=[51690], protocol=IMAP
    Aug 31 15:18:29 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 15:18:31 server postfix/smtpd[23501]: disconnect from mail-bw0-f53.google.com[209.85.214.53]
    Aug 31 15:18:47 server imapd: Connection, ip=[::1]
    Aug 31 15:18:47 server imapd: LOGIN, user=[email protected], ip=[::1], port=[51691], protocol=IMAP
    Aug 31 15:18:47 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=63, sent=368, time=0
    Aug 31 15:18:48 server imapd: Connection, ip=[::1]
    Aug 31 15:18:48 server imapd: LOGIN, user=[email protected], ip=[::1], port=[51692], protocol=IMAP
    Aug 31 15:18:48 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=56, sent=368, time=0
    Aug 31 15:19:29 server imapd: Connection, ip=[::1]
    Aug 31 15:19:29 server imapd: LOGIN, user=[email protected], ip=[::1], port=[51696], protocol=IMAP
    Aug 31 15:19:29 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 15:20:02 server postfix/smtpd[23501]: connect from localhost[127.0.0.1]
    Aug 31 15:20:02 server postfix/smtpd[23501]: lost connection after CONNECT from localhost[127.0.0.1]
    Aug 31 15:20:02 server postfix/smtpd[23501]: disconnect from localhost[127.0.0.1]
    Aug 31 15:20:02 server pop3d: Connection, ip=[::1]
    Aug 31 15:20:02 server pop3d: Disconnected, ip=[::1]
    Aug 31 15:20:02 server imapd: Connection, ip=[::1]
    Aug 31 15:20:02 server imapd: Disconnected, ip=[::1], time=0
    Aug 31 15:20:29 server imapd: Connection, ip=[::1]
    Aug 31 15:20:29 server imapd: LOGIN, user=[email protected], ip=[::1], port=[51708], protocol=IMAP
    Aug 31 15:20:29 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 15:21:29 server imapd: Connection, ip=[::1]
    Aug 31 15:21:29 server imapd: LOGIN, user=[email protected], ip=[::1], port=[51709], protocol=IMAP
    Aug 31 15:21:29 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 15:22:29 server imapd: Connection, ip=[::1]
    Aug 31 15:22:29 server imapd: LOGIN, user=[email protected], ip=[::1], port=[51710], protocol=IMAP
    Aug 31 15:22:29 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 15:23:03 server postfix/smtpd[23413]: timeout after END-OF-MESSAGE from localhost[127.0.0.1]
    Aug 31 15:23:03 server postfix/smtpd[23413]: disconnect from localhost[127.0.0.1]
    Aug 31 15:23:22 server postfix/anvil[23502]: statistics: max connection rate 1/60s for (smtp:209.85.214.53) at Aug 31 15:18:01
    Aug 31 15:23:22 server postfix/anvil[23502]: statistics: max connection count 1 for (smtp:209.85.214.53) at Aug 31 15:18:01
    Aug 31 15:23:22 server postfix/anvil[23502]: statistics: max cache size 1 at Aug 31 15:18:01
    Aug 31 15:23:29 server imapd: Connection, ip=[::1]
    Aug 31 15:23:29 server imapd: LOGIN, user=[email protected], ip=[::1], port=[43900], protocol=IMAP
    Aug 31 15:23:29 server imapd: LOGOUT, user=[email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 15:24:29 server imapd: Connection, ip=[::1]
    Aug 31 15:24:29 server imapd: LOGIN, user=[email protected], ip=[::1], port=[43901], protocol=IMAP
    Aug 31 15:24:29 server imapd: LOGOUT, user=marek@marr.net.pl, ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0
    Aug 31 15:25:01 server pop3d: Connection, ip=[::1]
    Aug 31 15:25:01 server pop3d: Disconnected, ip=[::1]
    Aug 31 15:25:01 server imapd: Connection, ip=[::1]
    Aug 31 15:25:01 server imapd: Disconnected, ip=[::1], time=0

    Code:
    Aug 31 09:51:26 server postfix/trivial-rewrite[18162]: warning: do not list domain marr.net.pl in BOTH mydestination and virtual_mailbox_domains
    Aug 31 09:55:17 server postfix/trivial-rewrite[18379]: warning: do not list domain marr.net.pl in BOTH mydestination and virtual_mailbox_domains
    Aug 31 12:41:58 server postfix/trivial-rewrite[20975]: warning: do not list domain marr.net.pl in BOTH mydestination and virtual_mailbox_domains
    Aug 31 14:34:21 server postfix[22619]: warning: valid_hostname: numeric hostname: 217.153.56.126
    Aug 31 14:34:21 server postfix[22619]: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: 217.153.56.126
    Aug 31 14:35:01 server postfix/smtpd[22643]: warning: valid_hostname: numeric hostname: 217.153.56.126
    Aug 31 14:35:01 server postfix/smtpd[22643]: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: 217.153.56.126
    Aug 31 14:35:01 server postfix/sendmail[22654]: warning: valid_hostname: numeric hostname: 217.153.56.126
    Aug 31 14:35:01 server postfix/sendmail[22654]: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: 217.153.56.126
    Aug 31 14:35:02 server postfix/master[12634]: warning: process /usr/lib/postfix/smtpd pid 22643 exit status 1
    Aug 31 14:35:02 server postfix/master[12634]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
    Aug 31 15:08:45 server postfix/trivial-rewrite[23319]: warning: do not list domain marr.net.pl in BOTH mydestination and virtual_mailbox_domains
    Aug 31 15:14:53 server postfix/trivial-rewrite[23415]: warning: do not list domain marr.net.pl in BOTH mydestination and virtual_mailbox_domains
    Aug 31 15:18:01 server postfix/trivial-rewrite[23415]: warning: do not list domain marr.net.pl in BOTH mydestination and virtual_mailbox_domains
    Aug 31 15:18:03 server postfix/trivial-rewrite[23415]: warning: do not list domain marr.net.pl in BOTH mydestination and virtual_mailbox_domains

    the mail queue and error mail log hasn't changed at all... i think im in dead spot...


    EDIT: oh wait, i don't really know why, but outgoing emails started to work... now only problem is with receiving them..

    EDIT: any further ideas? i have no one.
     
    Last edited: Aug 31, 2010
  6. matty

    matty Member

    Edit /etc/postfix/main.cf. Scroll down to the line that starts with

    mydestination =

    Either, remove the name marr.net.pl, OR, change it to be server.marr.net.pl if that isn't already there.

    While you have /etc/postfix/main.cf open, scroll to

    myhostname =

    Remove 217.153.56.126 and put server.marr.net.pl

    Save the file and restart postfix. See how you go then. :)
     
  7. Marr

    Marr New Member

    i feel dumb right now :) Thanks you guys, I don't know what would I do. Now everything works fine, both sending and receiving mail. I had to change mydestination from marr.net.pl to server.marr.net.pl and everything started to work. Again, thanks for your help.
     

Share This Page