Announcement

Collapse
No announcement yet.

Can not send an Email!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can not send an Email!

    Hi,
    i can't send any email and i don't know why.
    I hope someone can help me.

    thx

    Code:
     Fehlermeldung: Interner Fehler: 501 Syntax: HELO hostname (MAIL-0020,-1623822898-17)
    mail.err
    Code:
    Sep  2 21:09:48 webmail postfix/trivial-rewrite[17081]: fatal: mysql:/etc/postfix/ox_domains.cf(0,lock|fold_fix): table lookup problem
    mail.info
    Code:
    Sep  2 22:35:15 webmail cyrus/imap[23401]: login: localhost [127.0.0.1] marc plaintext User logged in
    Sep  2 22:35:15 webmail postfix/smtpd[23402]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
    Sep  2 22:35:15 webmail postfix/smtpd[23402]: connect from localhost[127.0.0.1]
    Sep  2 22:36:05 webmail postfix/smtpd[23402]: lost connection after HELO from localhost[127.0.0.1]
    Sep  2 22:36:05 webmail postfix/smtpd[23402]: disconnect from localhost[127.0.0.1]
    Sep  2 22:39:25 webmail postfix/anvil[23295]: statistics: max connection rate 1/60s for (smtp:127.0.0.1) at Sep  2 22:31:27
    Sep  2 22:39:25 webmail postfix/anvil[23295]: statistics: max connection count 1 for (smtp:127.0.0.1) at Sep  2 22:31:27
    Sep  2 22:39:25 webmail postfix/anvil[23295]: statistics: max cache size 1 at Sep  2 22:31:27
    mail.log
    Code:
    Sep  2 22:35:15 webmail cyrus/master[23401]: about to exec /usr/lib/cyrus/bin/imapd
    Sep  2 22:35:15 webmail cyrus/imap[23401]: executed
    Sep  2 22:35:15 webmail cyrus/imap[23401]: accepted connection
    Sep  2 22:35:15 webmail cyrus/imap[23401]: login: localhost [127.0.0.1] marc plaintext User logged in
    Sep  2 22:35:15 webmail postfix/smtpd[23402]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
    Sep  2 22:35:15 webmail postfix/smtpd[23402]: connect from localhost[127.0.0.1]
    Sep  2 22:36:05 webmail postfix/smtpd[23402]: lost connection after HELO from localhost[127.0.0.1]
    Sep  2 22:36:05 webmail postfix/smtpd[23402]: disconnect from localhost[127.0.0.1]
    Sep  2 22:36:24 webmail cyrus/master[22386]: process 23401 exited, status 0
    Sep  2 22:39:25 webmail postfix/anvil[23295]: statistics: max connection rate 1/60s for (smtp:127.0.0.1) at Sep  2 22:31:27
    Sep  2 22:39:25 webmail postfix/anvil[23295]: statistics: max connection count 1 for (smtp:127.0.0.1) at Sep  2 22:31:27
    Sep  2 22:39:25 webmail postfix/anvil[23295]: statistics: max cache size 1 at Sep  2 22:31:27
    Sep  2 22:39:45 webmail cyrus/master[23532]: about to exec /usr/lib/cyrus/bin/imapd
    Sep  2 22:39:45 webmail cyrus/imap[23532]: executed
    Sep  2 22:39:45 webmail cyrus/imap[23532]: accepted connection
    Sep  2 22:39:45 webmail cyrus/imap[23532]: login: localhost [127.0.0.1] marc plaintext User logged in
    Sep  2 22:39:45 webmail cyrus/master[23533]: about to exec /usr/lib/cyrus/bin/imapd
    Sep  2 22:39:45 webmail cyrus/imap[23533]: executed
    Sep  2 22:39:45 webmail cyrus/imap[23533]: accepted connection
    Sep  2 22:39:45 webmail cyrus/imap[23532]: seen_db: user marc opened /var/lib/cyrus/user/m/marc.seen
    Sep  2 22:39:45 webmail cyrus/imap[23532]: open: user marc opened INBOX
    Sep  2 22:39:45 webmail cyrus/imap[23533]: login: localhost [127.0.0.1] marc plaintext User logged in
    Sep  2 22:40:45 webmail cyrus/master[22386]: process 23533 exited, status 0
    Sep  2 22:40:54 webmail cyrus/master[22386]: process 23532 exited, status 0
    Last edited by Guest; 09-03-2007, 01:02 AM.

  • #2
    Hi,
    i changed the /etc/hosts and i get another error now:

    Code:
    Fehlermeldung: Senden der Nachricht an folgende Empfänger fehlgeschlagen: [BlackReloaded <blackreloaded@freenet.de>] (MAIL-0018,1418596433-7)
    Code:
    Sep  3 10:04:17 kohlbau postfix/smtpd[11024]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 <marc@kohlbau.de>: Sender address rejected: Access denied; from=<marc@kohlbau.de> to=<blackreloaded@freenet.de> proto=ESMTP helo=<webmail>
    Any idea?

    Marc Kohlbau

    Comment


    • #3
      Fix it

      Hi,
      okay i fixed it. The problem was the host of my vserver

      Marc

      Comment


      • #4
        i have also the same problem:

        i will send a eMail to @gmx.de and @gmx.net:

        Fehlermeldung: Senden der Nachricht an folgende Empfänger fehlgeschlagen: [blabla@gmx.de] (MSG-0018,1345359840-766)
        I have no idea

        Comment


        • #5
          Does "blabla"@gmx.de exist? Is the DNS lookup working correctly at that server?

          Greetings.

          Comment


          • #6
            my dns test

            test on my server:

            root@back2roots:~# nslookup
            > gmx.net
            Server: 192.168.123.1
            Address: 192.168.123.1#53

            Non-authoritative answer:
            Name: gmx.net
            Address: 213.165.65.50

            > gmx.de
            Server: 192.168.123.1
            Address: 192.168.123.1#53

            Non-authoritative answer:
            Name: gmx.de
            Address: 213.165.65.50

            Comment


            • #7
              is there any more log output? check /var/log/mail.* and /var/log/open-xchange/open-xchange.log.0 while sending the mail

              Greetings.

              Comment


              • #8
                cat mail.log
                Oct 2 19:50:58 back2roots postfix/smtpd[31114]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 <info-xxx@gmx.de>: Recipient address rejected: User unknown in virtual alias table;
                from=<my@mail.net> to=<info-xxx@gmx.de> proto=ESMTP helo=<back2roots>
                Oct 2 19:50:58 back2roots postfix/smtpd[31114]: disconnect from localhost[127.0.0.1]
                cat open-xchange.log.0
                Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 <info-xxx@gmx.de>:
                Recipient address rejected: User unknown in virtual alias table
                Last edited by Guest; 10-02-2007, 08:01 PM.

                Comment


                • #9
                  i got the same problem

                  Jan 3 15:34:09 crapz cyrus/imap[30902]: login: localhost [127.0.0.1] crapz plaintext User logged in
                  Jan 3 15:34:09 crapz postfix/smtpd[30903]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
                  Jan 3 15:34:09 crapz postfix/smtpd[30903]: connect from localhost[127.0.0.1]
                  Jan 3 15:34:10 crapz postfix/trivial-rewrite[30906]: warning: do not list domain bigballs.dk in BOTH mydestination and virtual_alias_domains
                  Jan 3 15:34:10 crapz postfix/smtpd[30903]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 <xxxx@bigballs.dk>: Sender address rejected: Access denied; from=<xxx@bigballs.dk> to=<xxx@fullrate.dk> proto=ESMTP helo=<bigballs.dk>
                  Jan 3 15:34:10 crapz postfix/smtpd[30903]: disconnect from localhost[127.0.0.1]
                  Jan 3 15:34:18 crapz cyrus/imap[30902]: Fatal error: open() on /dev/null failed
                  Jan 3 15:34:19 crapz cyrus/master[21645]: process 30902 exited, status 75
                  Jan 3 15:34:19 crapz cyrus/master[21645]: service imap pid 30902 in BUSY state: terminated abnormally
                  Jan 3 15:34:37 crapz cyrus/master[30978]: about to exec /usr/lib/cyrus/bin/imapd
                  Jan 3 15:34:37 crapz cyrus/imap[30978]: executed
                  Jan 3 15:34:37 crapz cyrus/master[30979]: about to exec /usr/lib/cyrus/bin/imapd


                  i cant see what the bip im doing worng

                  Comment


                  • #10
                    Originally posted by Crapz View Post
                    Jan 3 15:34:09 crapz cyrus/imap[30902]: login: localhost [127.0.0.1] crapz plaintext User logged in
                    Jan 3 15:34:09 crapz postfix/smtpd[30903]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
                    Jan 3 15:34:09 crapz postfix/smtpd[30903]: connect from localhost[127.0.0.1]
                    Jan 3 15:34:10 crapz postfix/trivial-rewrite[30906]: warning: do not list domain bigballs.dk in BOTH mydestination and virtual_alias_domains
                    Jan 3 15:34:10 crapz postfix/smtpd[30903]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 <xxxx@bigballs.dk>: Sender address rejected: Access denied; from=<xxx@bigballs.dk> to=<xxx@fullrate.dk> proto=ESMTP helo=<bigballs.dk>
                    Jan 3 15:34:10 crapz postfix/smtpd[30903]: disconnect from localhost[127.0.0.1]
                    Jan 3 15:34:18 crapz cyrus/imap[30902]: Fatal error: open() on /dev/null failed
                    Jan 3 15:34:19 crapz cyrus/master[21645]: process 30902 exited, status 75
                    Jan 3 15:34:19 crapz cyrus/master[21645]: service imap pid 30902 in BUSY state: terminated abnormally
                    Jan 3 15:34:37 crapz cyrus/master[30978]: about to exec /usr/lib/cyrus/bin/imapd
                    Jan 3 15:34:37 crapz cyrus/imap[30978]: executed
                    Jan 3 15:34:37 crapz cyrus/master[30979]: about to exec /usr/lib/cyrus/bin/imapd


                    i cant see what the bip im doing worng
                    Fixed thanks :;D

                    Comment


                    • #11
                      Hi,

                      I seem to be having the same problem. I can receive mail to any domain hosted by the open-xchange server, except if it is _from_ any domain hosted by the open-xchange server.

                      For example:

                      mail domains hosted = example.com, example2.com

                      If I try to send an email from a@example.com to b@example2.com it fails.

                      Also if I try to send from a@example.com to b@example.com it fails.

                      The failure message is like this:

                      Code:
                      NOQUEUE: reject: RCPT from mta01.xtra.co.nz[210.54.141.254]: 554 5.7.1 <a@example.com>: Sender address rejected: Access denied; from=<a@example.com> to=<b@example2.com> proto=ESMTP helo=<mta01.xtra.co.nz
                      or this:

                      Code:
                      NOQUEUE: reject: RCPT from fep02.xtra.co.nz[210.54.141.244]: 554 5.7.1 <a@example.com>: Sender address rejected: Access denied; from=<a@example.com> to=<b@example.com> proto=ESMTP helo=<fep02.xtra.co.nz>
                      Is there a way I can test "Sender address rejected: Access denied" in the postfix configuration?

                      Thanks for any help!

                      Comment


                      • #12
                        Some more information:

                        I know that the problem is with this line in /etc/postfix/main.cf:

                        Code:
                        smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/ox_externaldomaincheck.cf
                        If I comment this out and restart postfix all works fine.

                        I'm not sure how to test/change this but I've tried this:

                        Code:
                        # postmap -q example.co.nz mysql:/etc/postfix/ox_externaldomaincheck.cf
                        permit_mynetworks,permit_sasl_authenticated,reject
                        and I'm not sure how to read it, but it looks like it should work ... right?

                        Comment

                        Working...
                        X