RESOLVED: SMTP Setup Help - Elastix 2.0

Discussion in 'General' started by Ted, Oct 28, 2010.

  1. Ted

    Ted

    Joined:
    Sep 27, 2010
    Messages:
    17
    Likes Received:
    0
    Hi,

    I have Elastix 2.0 with all updates running. I have not been able to send email (i.e. vail mail) via SMTP setup.

    I have used the GUI setup in Elastix for Remote SMTP and also checked the main.cf file base on Tears for Fears.

    My setup:

    External Host (host myexternal domain name for mail and web site)

    ^

    Firewall/gateway

    ^

    Elastix Server


    I have setup a redirect on my external host for a sub domain that redirects back to my elastix server. (i.e. www.mywebname.com is my public domain name. sip.mywebname.com is redirected back to my firewall/gateway.)


    Below is my log file of the failed email:
    Oct 27 17:46:53 sip postfix/pickup[28337]: 5A071171145: uid=100 from=<asterisk>
    Oct 27 17:46:53 sip postfix/cleanup[28366]: 5A071171145: message-id=<Asterisk-4-740050626-102-2525@sip.mywebname.com>
    Oct 27 17:46:53 sip postfix/qmgr[28338]: 5A071171145: from=<asterisk@sip.mywebname.com>, size=7481, nrcpt=1 (queue active)
    Oct 27 17:46:55 sip postfix/smtp[28369]: 5A071171145: to=<john.smith@mywebname.com>, relay=mywebname.com[74.220.202.19]:25, delay=2.6, delays=0.51/0.42/0.78/0.88, dsn=5.0.0, status=bounced (host mywebname.com[74.220.202.19] said: 550 Administrative prohibition (in reply to end of DATA command))
    Oct 27 17:46:55 sip postfix/cleanup[28366]: C225517114E: message-id=<20101027234655.C225517114E@sip.mywebname.com>
    Oct 27 17:46:55 sip postfix/qmgr[28338]: C225517114E: from=<>, size=9416, nrcpt=1 (queue active)
    Oct 27 17:46:55 sip postfix/bounce[28376]: 5A071171145: sender non-delivery notification: C225517114E
    Oct 27 17:46:55 sip postfix/qmgr[28338]: 5A071171145: removed
    Oct 27 17:46:55 sip postfix/local[28378]: C225517114E: to=<asterisk@sip.mywebname.com>, relay=local, delay=0.15, delays=0.02/0.09/0/0.05, dsn=2.0.0, status=sent (delivered to mailbox)
    Oct 27 17:46:55 sip postfix/qmgr[28338]: C225517114E: removed


    The following is the bottom of main.cf:

    virtual_transport = lmtp:unix:/var/lib/imap/socket/lmtp
    relayhost = mail.mywebname.com:25
    smtp_sasl_auth_enable = yes
    smtp_sasl_password_maps = hash:/etc/postfix/sasl/passwd
    smtp_sasl_security_options =
    broken_sasl_auth_clients = yes
    mydomain = mywebname.com
    myhostname = sip. mywebname.com
    smtpd_tls_auth_only =
    smtp_use_tls = no
    smtpd_use_tls = no
    smtp_tls_note_starttls_offer = no
    smtpd_tls_loglevel =
    smtpd_tls_received_header = no
    smtpd_tls_session_cache_timeout =
    tls_random_source =
    smtp_tls_CAfile =

    Any help getting this configured would be greatly appreciated.


    Regards
    Ted
     
  2. coryjsanders

    Joined:
    Mar 25, 2010
    Messages:
    181
    Likes Received:
    0
    Re:SMTP Setup Help - Elastix 2.0

    Ted, Check out this thread: fixed problem - trouble receiving voicemail:email

    You do indeed have to edit main.cf. You have to get an understanding of how things are being sent. I am now having trouble myself. I can't get my dictations to send. I get an error when I tail the messages output similar to what I got when my VM:EM wasn't working. You have to edit some of the fields, send VM:EM, and watch the output. It will tell you what to fix. Kind of have to dig into it. Once you get it, you'll be a pro, though. Until you don't do it for awhile and have to learn it again. Best of luck, and let me know if you need more help.
     
  3. Ted

    Ted

    Joined:
    Sep 27, 2010
    Messages:
    17
    Likes Received:
    0
    Re:SMTP Setup Help - Elastix 2.0

    Hi Cory,

    Thanks for the help. I had reviewed the threads and tried the suggestions before my original post. I have even tried paid support (they thought it was a port forwarding issue which it is not).

    I am still having trouble, however. I did make some progress today by using the mail command. I have been able to send emails with the mail command but cannot send via VM. I checked with my hosting provider and had them watch the two messages I sent. They only saw the message send by the mail command. Nothing showed up in there logs for the second VM Email.

    My current main.cf where I can send email via the mail command is (I have tried many configurations for myorigin, mydomain and myhostname):

    myorigin = $myhostname
    relayhost = mail.mywebname.com
    smtp_sasl_auth_enable = yes
    smtp_sasl_password_maps = hash:/etc/postfix/sasl/passwd
    smtp_sasl_security_options =
    broken_sasl_auth_clients = yes
    mydomain = mywebname.com
    myhostname = sip.mywebname.com

    The command I used the send messages was:

    [root@sip ~]# mail ted.thomas@mywename.com
    Subjetct: What ever
    .
    Cc:


    I have tried changing the “serveremail” name in vm_general.inc but this did not have any effect on the VM getting through.


    THIS IS THE LOG OF THE ACCEPTED MAIL COMMAND LINE MESSAGE

    Nov 1 10:31:45 sip postfix/pickup[16377]: E3FB4171165: uid=0 from=<root>
    Nov 1 10:31:45 sip postfix/cleanup[16383]: E3FB4171165: message-id=<20101101163145.E3FB4171165@sip.mywebname.com>
    Nov 1 10:31:46 sip postfix/qmgr[16378]: E3FB4171165: from=<root@sip.mywebname.com>, size=376, nrcpt=1 (queue active)
    Nov 1 10:31:46 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 220-host302.hostmonster.com ESMTP Exim 4.69 #1 Mon, 01 Nov 2010 10:31:46 -0600
    Nov 1 10:31:46 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 220-We do not authorize the use of this system to transport unsolicited,
    Nov 1 10:31:46 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 220 and/or bulk e-mail.
    Nov 1 10:31:46 sip postfix/smtp[16385]: > mywebname.com[74.240.198.17]: EHLO sip.mywebname.com
    Nov 1 10:31:46 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 250-host302.hostmonster.com Hello sip.mywebname.com [174.59.73.145]
    Nov 1 10:31:46 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 250-SIZE 52428800
    Nov 1 10:31:46 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 250-PIPELINING
    Nov 1 10:31:46 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 250-AUTH PLAIN LOGIN
    Nov 1 10:31:46 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 250-STARTTLS
    Nov 1 10:31:46 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 250 HELP
    Nov 1 10:31:46 sip postfix/smtp[16385]: server features: 0x103d size 52428800
    Nov 1 10:31:46 sip postfix/smtp[16385]: Using ESMTP PIPELINING, TCP send buffer size is 4096
    Nov 1 10:31:46 sip postfix/smtp[16385]: maps_find: smtp_sasl_passwd: mywebname.com: not found
    Nov 1 10:31:46 sip postfix/smtp[16385]: maps_find: smtp_sasl_passwd: hash:/etc/postfix/sasl/passwd(0,lock|fold_fix): mail.mywebname.com = asterisk@mywebname.com:secrete
    Nov 1 10:31:46 sip postfix/smtp[16385]: smtp_sasl_passwd_lookup: host `mywebname.com' user `asterisk@mywebname.com' pass `secrete'
    Nov 1 10:31:46 sip postfix/smtp[16385]: starting new SASL client
    Nov 1 10:31:46 sip postfix/smtp[16385]: smtp_sasl_authenticate: mywebname.com[74.240.198.17]: SASL mechanisms PLAIN LOGIN
    Nov 1 10:31:46 sip postfix/smtp[16385]: xsasl_cyrus_get_user: asterisk@mywebname.com
    Nov 1 10:31:46 sip postfix/smtp[16385]: xsasl_cyrus_get_user: asterisk@mywebname.com
    Nov 1 10:31:46 sip postfix/smtp[16385]: xsasl_cyrus_get_passwd: secrete
    Nov 1 10:31:46 sip postfix/smtp[16385]: xsasl_cyrus_client_first: uncoded initial reply: asterisk@mywebname.com\0asterisk@mywebname.com\0secrete
    Nov 1 10:31:46 sip postfix/smtp[16385]: > mywebname.com[74.240.198.17]: AUTH PLAIN YXN0ZXJpc2tAbW91bnRhaW5jbS5jb20AYXN0ZXJpc2tAbW91bnRhaW5jbS5jb20Ac21va2V5NDA=
    Nov 1 10:31:46 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 235 Authentication succeeded
    Nov 1 10:31:46 sip postfix/smtp[16385]: > mywebname.com[74.240.198.17]: MAIL FROM:<root@sip.mywebname.com> SIZE=376 AUTH=<>
    Nov 1 10:31:46 sip postfix/smtp[16385]: > mywebname.com[74.240.198.17]: RCPT TO:<ted.thomas@mywebname.com>
    Nov 1 10:31:46 sip postfix/smtp[16385]: > mywebname.com[74.240.198.17]: DATA
    Nov 1 10:31:47 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 250 OK
    Nov 1 10:31:47 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 250 Accepted
    Nov 1 10:31:47 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 354 Enter message, ending with "." on a line by itself
    Nov 1 10:31:47 sip postfix/smtp[16385]: > mywebname.com[74.240.198.17]: .
    Nov 1 10:31:47 sip postfix/smtp[16385]: > mywebname.com[74.240.198.17]: QUIT
    Nov 1 10:31:47 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 250 OK id=1PCxIR-0006rc-2b
    Nov 1 10:31:47 sip postfix/smtp[16385]: E3FB4171165: to=<ted.thomas@mywebname.com>, relay=mywebname.com[74.240.198.17]:25, delay=1.4, delays=0.18/0.31/0.52/0.43, dsn=2.0.0, status=sent (250 OK id=1PCxIR-0006rc-2b)
    Nov 1 10:31:47 sip postfix/smtp[16385]: name_mask: resource
    Nov 1 10:31:47 sip postfix/smtp[16385]: name_mask: software
    Nov 1 10:31:47 sip postfix/smtp[16385]: disposing SASL state information
    Nov 1 10:31:47 sip postfix/qmgr[16378]: E3FB4171165: removed



    THIS IS THE LOG OF THE REJECTED VM EMAIL:

    Nov 1 10:32:25 sip postfix/pickup[16377]: E73FB171165: uid=100 from=<asterisk>
    Nov 1 10:32:25 sip postfix/cleanup[16383]: E73FB171165: message-id=<Asterisk-15-1955841306-102-2525@sip.mywebname.com>
    Nov 1 10:32:25 sip postfix/qmgr[16378]: E73FB171165: from=<asterisk@sip.mywebname.com>, size=9718, nrcpt=1 (queue active)
    Nov 1 10:32:26 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 220-host302.hostmonster.com ESMTP Exim 4.69 #1 Mon, 01 Nov 2010 10:32:26 -0600
    Nov 1 10:32:26 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 220-We do not authorize the use of this system to transport unsolicited,
    Nov 1 10:32:26 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 220 and/or bulk e-mail.
    Nov 1 10:32:26 sip postfix/smtp[16385]: > mywebname.com[74.240.198.17]: EHLO sip.mywebname.com
    Nov 1 10:32:26 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 250-host302.hostmonster.com Hello sip.mywebname.com [174.59.73.145]
    Nov 1 10:32:26 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 250-SIZE 52428800
    Nov 1 10:32:26 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 250-PIPELINING
    Nov 1 10:32:26 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 250-AUTH PLAIN LOGIN
    Nov 1 10:32:26 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 250-STARTTLS
    Nov 1 10:32:26 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 250 HELP
    Nov 1 10:32:26 sip postfix/smtp[16385]: server features: 0x103d size 52428800
    Nov 1 10:32:26 sip postfix/smtp[16385]: Using ESMTP PIPELINING, TCP send buffer size is 4096
    Nov 1 10:32:26 sip postfix/smtp[16385]: maps_find: smtp_sasl_passwd: mywebname.com: not found
    Nov 1 10:32:26 sip postfix/smtp[16385]: maps_find: smtp_sasl_passwd: hash:/etc/postfix/sasl/passwd(0,lock|fold_fix): mail.mywebname.com = asterisk@mywebname.com:secrete
    Nov 1 10:32:26 sip postfix/smtp[16385]: smtp_sasl_passwd_lookup: host `mywebname.com' user `asterisk@mywebname.com' pass `secrete'
    Nov 1 10:32:26 sip postfix/smtp[16385]: starting new SASL client
    Nov 1 10:32:26 sip postfix/smtp[16385]: smtp_sasl_authenticate: mywebname.com[74.240.198.17]: SASL mechanisms PLAIN LOGIN
    Nov 1 10:32:26 sip postfix/smtp[16385]: xsasl_cyrus_get_user: asterisk@mywebname.com
    Nov 1 10:32:26 sip postfix/smtp[16385]: xsasl_cyrus_get_user: asterisk@mywebname.com
    Nov 1 10:32:26 sip postfix/smtp[16385]: xsasl_cyrus_get_passwd: secrete
    Nov 1 10:32:26 sip postfix/smtp[16385]: xsasl_cyrus_client_first: uncoded initial reply: asterisk@mywebname.com\0asterisk@mywebname.com\0secrete
    Nov 1 10:32:26 sip postfix/smtp[16385]: > mywebname.com[74.240.198.17]: AUTH PLAIN YXN0ZXJpc2tAbW91bnRhaW5jbS5jb20AYXN0ZXJpc2tAbW91bnRhaW5jbS5jb20Ac21va2V5NDA=
    Nov 1 10:32:26 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 235 Authentication succeeded
    Nov 1 10:32:26 sip postfix/smtp[16385]: > mywebname.com[74.240.198.17]: MAIL FROM:<asterisk@sip.mywebname.com> SIZE=9718 AUTH=<>
    Nov 1 10:32:26 sip postfix/smtp[16385]: > mywebname.com[74.240.198.17]: RCPT TO:<ted.thomas@mywebname.com>
    Nov 1 10:32:26 sip postfix/smtp[16385]: > mywebname.com[74.240.198.17]: DATA
    Nov 1 10:32:26 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 250 OK
    Nov 1 10:32:26 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 250 Accepted
    Nov 1 10:32:26 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 354 Enter message, ending with "." on a line by itself
    Nov 1 10:32:26 sip postfix/smtp[16385]: header_token: multipart / mixed
    Nov 1 10:32:26 sip postfix/smtp[16385]: header_token: boundary = ----voicemail_1510225251885399885
    Nov 1 10:32:26 sip postfix/smtp[16385]: PUSH boundary ----voicemail_1510225251885399885
    Nov 1 10:32:26 sip postfix/smtp[16385]: header_token: text / plain
    Nov 1 10:32:26 sip postfix/smtp[16385]: header_token: 8bit
    Nov 1 10:32:26 sip postfix/smtp[16385]: header_token: audio / x-WAV
    Nov 1 10:32:26 sip postfix/smtp[16385]: header_token: base64
    Nov 1 10:32:26 sip postfix/smtp[16385]: POP boundary ----voicemail_1510225251885399885
    Nov 1 10:32:26 sip postfix/smtp[16385]: > mywebname.com[74.240.198.17]: .
    Nov 1 10:32:26 sip postfix/smtp[16385]: > mywebname.com[74.240.198.17]: QUIT
    Nov 1 10:32:26 sip postfix/smtp[16385]: < mywebname.com[74.240.198.17]: 550 Administrative prohibition
    Nov 1 10:32:26 sip postfix/smtp[16385]: connect to subsystem private/bounce
    Nov 1 10:32:26 sip postfix/smtp[16385]: send attr nrequest = 0
    Nov 1 10:32:26 sip postfix/smtp[16385]: send attr flags = 0
    Nov 1 10:32:26 sip postfix/smtp[16385]: send attr queue_id = E73FB171165
    Nov 1 10:32:26 sip postfix/smtp[16385]: send attr original_recipient = ted.thomas@mywebname.com
    Nov 1 10:32:26 sip postfix/smtp[16385]: send attr recipient = ted.thomas@mywebname.com
    Nov 1 10:32:26 sip postfix/smtp[16385]: send attr offset = 9943
    Nov 1 10:32:26 sip postfix/smtp[16385]: send attr dsn_orig_rcpt =
    Nov 1 10:32:26 sip postfix/smtp[16385]: send attr notify_flags = 0
    Nov 1 10:32:26 sip postfix/smtp[16385]: send attr status = 5.0.0
    Nov 1 10:32:26 sip postfix/smtp[16385]: send attr diag_type = smtp
    Nov 1 10:32:26 sip postfix/smtp[16385]: send attr diag_text = 550 Administrative prohibition
    Nov 1 10:32:26 sip postfix/smtp[16385]: send attr mta_type = dns
    Nov 1 10:32:26 sip postfix/smtp[16385]: send attr mta_mname = mywebname.com
    Nov 1 10:32:26 sip postfix/smtp[16385]: send attr action = failed
    Nov 1 10:32:26 sip postfix/smtp[16385]: send attr reason = host mywebname.com[74.240.198.17] said: 550 Administrative prohibition (in reply to end of DATA command)
    Nov 1 10:32:26 sip postfix/smtp[16385]: private/bounce socket: wanted attribute: status
    Nov 1 10:32:26 sip postfix/smtp[16385]: input attribute name: status
    Nov 1 10:32:26 sip postfix/smtp[16385]: input attribute value: 0
    Nov 1 10:32:26 sip postfix/smtp[16385]: private/bounce socket: wanted attribute: (list terminator)
    Nov 1 10:32:26 sip postfix/smtp[16385]: input attribute name: (end)
    Nov 1 10:32:26 sip postfix/smtp[16385]: E73FB171165: to=<ted.thomas@mywebname.com>, relay=mywebname.com[74.240.198.17]:25, delay=0.84, delays=0.02/0/0.39/0.43, dsn=5.0.0, status=bounced (host mywebname.com[74.240.198.17] said: 550 Administrative prohibition (in reply to end of DATA command))
    Nov 1 10:32:26 sip postfix/smtp[16385]: name_mask: resource
    Nov 1 10:32:26 sip postfix/smtp[16385]: name_mask: software
    Nov 1 10:32:26 sip postfix/smtp[16385]: disposing SASL state information
    Nov 1 10:32:26 sip postfix/cleanup[16383]: D0C36171166: message-id=<20101101163226.D0C36171166@sip.mywebname.com>
    Nov 1 10:32:26 sip postfix/qmgr[16378]: D0C36171166: from=<>, size=11653, nrcpt=1 (queue active)
    Nov 1 10:32:26 sip postfix/bounce[16394]: E73FB171165: sender non-delivery notification: D0C36171166
    Nov 1 10:32:26 sip postfix/qmgr[16378]: E73FB171165: removed
    Nov 1 10:32:26 sip postfix/local[16396]: D0C36171166: to=<asterisk@sip.mywebname.com>, relay=local, delay=0.11, delays=0.01/0.08/0/0.03, dsn=2.0.0, status=sent (delivered to mailbox)
    Nov 1 10:32:26 sip postfix/qmgr[16378]: D0C36171166: removed
    Nov 1 10:32:32 sip postfix/smtpd[16397]: fatal: bad numerical configuration: smtpd_tls_loglevel =
    Nov 1 10:32:33 sip postfix/master[15566]: warning: process /usr/libexec/postfix/smtpd pid 16397 exit status 1
    Nov 1 10:32:33 sip postfix/master[15566]: warning: /usr/libexec/postfix/smtpd: bad command startup – throttling


    Any suggestions would be greatly appreciated!

    Regards

    Ted
     
  4. coryjsanders

    Joined:
    Mar 25, 2010
    Messages:
    181
    Likes Received:
    0
    Re:SMTP Setup Help - Elastix 2.0

    I think your problem is sip.mywebname.com is not a fully qualified domain name, or FQDN.

    Here is an example of a good send, personal info redacted (noted by <myinfo>. Note I do not have a sip.myurl.com or anything.myurl.com. I think the routers are denying this because you do not have a FQDN. Fix this in your Network settings first and then look at main.cf:

    Nov 1 12:24:08 elastix postfix/qmgr[2682]: AE63CAC8AD3: removed
    Nov 1 12:25:39 elastix postfix/pickup[7554]: D5E75AC8AD3: uid=100 from=<asterisk>
    Nov 1 12:25:39 elastix postfix/cleanup[12057]: D5E75AC8AD3: message-id=<Asterisk-5-1390275775-2000-2732@elastix.<myurl>.com>
    Nov 1 12:25:39 elastix postfix/qmgr[2682]: D5E75AC8AD3: from=<asterisk@<myurl>.com>, size=11833, nrcpt=1 (queue active)
    Nov 1 12:25:40 elastix postfix/smtp[12059]: D5E75AC8AD3: to=<<myname@myurl>.com>, relay=mx00.1and1.com[<myurlipaddress>]:25, delay=1.1, delays=0.04/0/0.5/0.59, dsn=2.0.0, status=sent (250 Message 0LwKhi-1OVmZe2ZhO-017qqR accepted by mxus0.perfora.net)
    Nov 1 12:25:40 elastix postfix/qmgr[2682]: D5E75AC8AD3: removed


    Let me know.
     
  5. Ted

    Ted

    Joined:
    Sep 27, 2010
    Messages:
    17
    Likes Received:
    0
    Re:SMTP Setup Help - Elastix 2.0

    Cory,

    I finally resolved to problem. Since I was able to send email using the mail command, I started comparing the difference between the asterisk voicemail email and mail command email form root. It turned out to be the from name that asterisk was sending. To resolve the issue I had to change the “serveremail” setting in the /etc/asterisk/vm_general.inc file. I set mine to "asterisk@sip.mywebname.com". NOTE TO ALL: I had to do a "amportal restart" after updating the file to get the changes to take affect (this was not spelled out in Elastix w/o Tears"

    My email host was rejecting the message because the from name was showing as "asterick@" with no domain. This was easy to see looking at the var/spool/mail/ files.


    The Debug process I used was:

    1) Send email by leaving a message.

    a) look at var/log/maillog
    b) look at var/spool/mail/asterisk this file contains messages sent by asterisk

    2) send email by using the command line "mail"

    # mail sendname@yourtest.com
    Subject:> "enter subject"
    enter the body in this space
    .
    cc:

    a) look at var/log/maillog
    b) look at var/spool/mail/root this file contains messages sent by root

    3) look at differences

    One other note: to get greater detail in the maillog file change mail.cf to include:

    debug_peer_list = mywebname.com

    This provides a lot more information in the log. I was able to fix an issue with authentication because the detail was turned on.

    I hope this helps everyone.

    Regards
    Ted
     
  6. coryjsanders

    Joined:
    Mar 25, 2010
    Messages:
    181
    Likes Received:
    0
    Re:SMTP Setup Help - Elastix 2.0

    Thanks, Ted. Karma to you.
     
  7. diadiego86

    Joined:
    Nov 10, 2010
    Messages:
    24
    Likes Received:
    0
    Hi Ted

    Please ask your help, I want to set the fax to email exchange, the truth I am novice at this, and have not had success in the settings I have made.

    configure the remote SMTP, but not achieving results

    if I send a mail arrives from the console var / spool / mail / root

    if you look at the maillog is this error

    Feb 18 15:30:12 comunica postfix/pickup[32183]: B2D485F62339: uid=0 from=<root>
    Feb 18 15:30:12 comunica postfix/cleanup[32594]: B2D485F62339: message-id=<20110218203012.B2D485F62339@comunica.domain.com>
    Feb 18 15:30:12 comunica postfix/qmgr[32184]: B2D485F62339: from=<root@comunica.domain.com>, size=349, nrcpt=1 (queue active)
    Feb 18 15:30:12 comunica lmtpunix[31923]: accepted connection
    Feb 18 15:30:12 comunica lmtpunix[31923]: lmtp connection preauth'd as postman
    Feb 18 15:30:12 comunica master[32597]: about to exec /usr/lib/cyrus-imapd/lmtpd
    Feb 18 15:30:12 comunica lmtpunix[31923]: verify_user(domain.com!user.diego) failed: Mailbox does not exist
    Feb 18 15:30:12 comunica lmtpunix[32597]: executed
    Feb 18 15:30:12 comunica postfix/lmtp[32596]: B2D485F62339: to=<diego@domain.com>, relay=comunica.domain.com[/var/lib/imap/socket/lmtp], delay=0.2, delays=0.14/0/0/0.05, dsn=5.1.1, status=bounced (host comunica.domain.com[/var/lib/imap/socket/lmtp] said: 550-Mailbox unknown. Either there is no mailbox associated with this 550-name or you do not have authorization to see it. 550 5.1.1 User unknown (in reply to RCPT TO command))
    Feb 18 15:30:12 comunica postfix/cleanup[32594]: CEE545F62346: message-id=<20110218203012.CEE545F62346@comunica.domain.com>
    Feb 18 15:30:12 comunica postfix/bounce[32598]: B2D485F62339: sender non-delivery notification: CEE545F62346
    Feb 18 15:30:12 comunica postfix/qmgr[32184]: CEE545F62346: from=<>, size=2627, nrcpt=1 (queue active)
    Feb 18 15:30:12 comunica postfix/qmgr[32184]: B2D485F62339: removed
    Feb 18 15:30:12 comunica postfix/local[32599]: CEE545F62346: to=<root@comunica.domain.com>, relay=local, delay=0.13, delays=0.06/0/0/0.06, dsn=2.0.0, status=sent (delivered to mailbox)
    Feb 18 15:30:12 comunica postfix/qmgr[32184]: CEE545F62346: removed


    thank you very much
     
  8. Ted

    Ted

    Joined:
    Sep 27, 2010
    Messages:
    17
    Likes Received:
    0
    Hi,

    Try turning on "debug_peer_list = mywebname.com" in the mail.cf file. This displays more information with if very helpful in debugging. I would not have figured out my problem without it.

    Regards
    Ted
     

Share This Page