Announcement

Collapse
No announcement yet.

Error code: Message could not be sent to the following recipients

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

  • Error code: Message could not be sent to the following recipients

    Hi there

    i just got OX on my Debian etch AMD64 box but i can't get the user to send emails out from the box they all resive mail.?

    when i login as the testuser and try to send a mail to testuser@bigballs.dk from testuser@bigballs.dk

    01-04-2008 03:36 PM-->Error code: Message could not be sent to the following recipients: [testuser@bigballs.dk] (MSG-0018,-1118007592-5)

    here is the open-xchange.log.0

    Jan 4, 2008 3:49:01 PM com.openexchange.ajax.Mail action
    SEVERE: MSG-0018 Category=1 Message=Message could not be sent to the following recipients: [testuser@bigballs.dk] exceptionID=-1118007592-7
    MSG-0018 Category=1 Message=Message could not be sent to the following recipients: [testuser@bigballs.dk] exceptionID=-1118007592-7
    at com.openexchange.api2.MailInterfaceImpl.handleMess agingException(MailInterfaceImpl.java:5722)
    at com.openexchange.api2.MailInterfaceImpl.sendMessag e(MailInterfaceImpl.java:3402)
    at com.openexchange.ajax.Mail.action(Mail.java:2544)
    at com.openexchange.ajax.AJAXServlet.fireUploadEvent( AJAXServlet.java:920)
    at com.openexchange.ajax.Mail.doPost(Mail.java:2459)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:709)
    at com.openexchange.ajax.AJAXServlet.service(AJAXServ let.java:399)
    at com.openexchange.ajax.SessionServlet.service(Sessi onServlet.java:138)
    at com.openexchange.ajax.PermissionServlet.service(Pe rmissionServlet.java:86)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
    at com.openexchange.tools.ajp13.AJPv13Request.respons e(AJPv13Request.java:92)
    at com.openexchange.tools.ajp13.AJPv13RequestHandler. createResponse(AJPv13RequestHandler.java:363)
    at com.openexchange.tools.ajp13.AJPv13Connection.crea teResponse(AJPv13Connection.java:168)
    at com.openexchange.tools.ajp13.AJPv13Listener.run(AJ Pv13Listener.java:245)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
    com.sun.mail.smtp.SMTPAddressFailedException: 554 5.7.1 <testuser@bigballs.dk>: Sender address rejected: Access denied

    at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTranspo rt.java:1196)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTr ansport.java:584)
    at com.openexchange.api2.MailInterfaceImpl.sendMessag e(MailInterfaceImpl.java:3392)
    ... 13 more
    Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 554 5.7.1 <testuser@bigballs.dk>: Sender address rejected: Access denied

    at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTranspo rt.java:1094)
    ... 15 more
    Jan 4, 2008 3:49:03 PM com.openexchange.sessiond.SessionHandler getSession
    FINE: getSession <fbb00223aef306dcabb601f8e825faa9>
    Jan 4, 2008 3:49:03 PM com.openexchange.ajax.request.ContactRequest <init>
    FINE: use timezone string: Europe/Berlin
    Jan 4, 2008 3:49:03 PM com.openexchange.ajax.request.ContactRequest <init>
    FINE: use user timezone: sun.util.calendar.ZoneInfo[id="Europe/Berlin",offset=3600000,dstSavings=3600000,useDayli ght=true,transitions=143,lastRule=java.util.Simple TimeZone[id=Europe/Berlin,offset=3600000,dstSavings=3600000,useDaylig ht=true,startYear=0,startMode=2,startMonth=2,start Day=-1,startDayOfWeek=1,startTime=3600000,startTimeMode =2,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=3600000,endTimeMode=2]]
    Jan 4, 2008 3:49:03 PM com.openexchange.pooling.ReentrantLockPool get
    FINEST: Get time: 0, Created: false
    Jan 4, 2008 3:49:03 PM com.openexchange.groupware.contact.ContactMySql getSqlCommand
    FINE: ContactSQL Query: SELECT co.field01,co.field65,co.field66,co.field67,co.cha nging_date,co.fid,co.cid,co.created_from,co.creati ng_date,co.changed_from,co.changing_date, co.intfield01 from prg_contacts AS co WHERE co.cid = 1 AND ( (co.field01 LIKE '%testuser@bigballs.dk%') OR (co.field65 LIKE '%testuser@bigballs.dk%') OR (co.field66 LIKE '%testuser@bigballs.dk%') OR (co.field67 LIKE '%testuser@bigballs.dk%') ) AND (fid = 6 or fid =30) AND (field65 is not null OR field66 is not null OR field67 is not null) AND ((co.pflag = 1 and co.created_from = 4) OR (co.pflag is null)) ORDER BY co.field02 ASC
    Jan 4, 2008 3:49:03 PM com.openexchange.pooling.ReentrantLockPool back
    FINEST: Back time: 0


    can any one give my a hand ?

  • #2
    What does your main.cf look like?

    Comment


    • #3
      main.cf

      myhostname = mail.bigballs.dk
      mydestination = $myhostname,localhost.$mydomain

      mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp

      virtual_alias_domains = mysql:/etc/postfix/ox_domains.cf
      virtual_alias_maps = mysql:/etc/postfix/ox_user_aliases.cf, mysql:/etc/postfix/ox_aliases.cf, mysql:/etc/postfix/ox_resource_aliases.cf, mysql:/etc/postfix/ox_group_aliases.cf

      smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/ox_externaldomaincheck.cf
      smtpd_restriction_classes = local_only
      local_only = check_recipient_access mysql:/etc/postfix/ox_domains.cf, reject

      smtpd_recipient_restrictions = check_sender_access mysql:/etc/postfix/ox_senderrestrictions.cf, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
      smtpd_tls_cert_file = /etc/ssl/certs/eecert.pem
      smtpd_tls_key_file = /etc/ssl/private/eekey.pem
      procmail_destination_concurrency_limit = 1
      procmail_destination_recipient_limit = 1
      ~
      Last edited by Guest; 01-04-2008, 09:34 PM.

      Comment


      • #4
        Try to add the following line to main.cf:
        Code:
        mynetworks = 127.0.0.0/8, <<server_ip>>

        Comment


        • #5
          wow thats works

          why didnt that come with the OX installer ?

          Comment

          Working...
          X