IMAP, z-push, sending mail not working...

Discussion in 'Installation/Configuration' started by pebkac, Apr 28, 2010.

  1. pebkac

    pebkac Member HowtoForge Supporter

    hey all,

    I recently added z-push to my ispconfig server running on ubuntu. It works great with my HTC Touch Pro2 and love that the mail get's pushed out. My problem is when replying to or sending out new email from that account on my phone the mail never shows in the sent items and never arrives. I watched the mail log and it does seem to hit it but nothing else happens. I did notice in the logs that is shows coming from [email protected] which is not the account I configured on my phone...any ideas??

    Code:
    Apr 28 13:20:01 pebkac postfix/smtpd[10789]: connect from localhost.localdomain[127.0.0.1]
    Apr 28 13:20:01 pebkac postfix/smtpd[10789]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
    Apr 28 13:20:01 pebkac postfix/smtpd[10789]: disconnect from localhost.localdomain[127.0.0.1]
    Apr 28 13:20:56 pebkac pop3d: Connection, ip=[::ffff:64.134.226.177]
    ip=[::ffff:64.134.226.177], port=[35625], top=0, retr=0, rcvd=24, sent=101058, time=1
    Apr 28 13:21:50 pebkac imapd: Connection, ip=[::1]
    Apr 28 13:21:50 pebkac imapd: LOGIN, [email protected], ip=[::1], port=[55650], protocol=IMAP
    Apr 28 13:21:50 pebkac imapd: LOGOUT, [email protected], ip=[::1], headers=0, body=0, rcvd=180, sent=551, time=0
    Apr 28 13:21:50 pebkac postfix/pickup[10400]: 2708761B9: uid=33 from=<[email protected]>
    Apr 28 13:21:50 pebkac postfix/cleanup[10818]: 2708761B9: message-id=<[email protected]>
    Apr 28 13:21:50 pebkac postfix/qmgr[20895]: 2708761B9: from=<[email protected]>, size=448, nrcpt=1 (queue active)
    Apr 28 13:21:50 pebkac postfix/smtpd[10824]: connect from localhost.localdomain[127.0.0.1]
    Apr 28 13:21:50 pebkac postfix/smtpd[10824]: 82D8861B7: client=localhost.localdomain[127.0.0.1]
    Apr 28 13:21:50 pebkac postfix/cleanup[10818]: 82D8861B7: message-id=<[email protected]>
    Apr 28 13:21:50 pebkac postfix/qmgr[20895]: 82D8861B7: from=<[email protected]>, size=927, nrcpt=1 (queue active)
    Apr 28 13:21:50 pebkac postfix/smtpd[10824]: disconnect from localhost.localdomain[127.0.0.1]
    Apr 28 13:21:50 pebkac amavis[28040]: (28040-15) Passed CLEAN, <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: gyOI8I-e0yMf, Hits: 8.492, size: 448, queued_as: 82D8861B7, 363 ms
    Apr 28 13:21:50 pebkac postfix/smtp[10821]: 2708761B9: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.52, delays=0.12/0.02/0.01/0.37, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=28040-15, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 82D8861B7)
    Apr 28 13:21:50 pebkac postfix/qmgr[20895]: 2708761B9: removed
    
     
  2. edge

    edge Active Member Moderator

    Does the account work okay when you use it with a 'normal' e-mail client in IMAP mode?
    Also. Did you have a look in the spam map of Gmail?
     
  3. pebkac

    pebkac Member HowtoForge Supporter

    I figured out my problem, Verizon (my isp started blocking port 25)


    On a side note, when I send an email from my phone, the From field is blank. How do I get it to show my name, and the reply to address is [email protected], not my email address????



    --Steve
     
  4. edge

    edge Active Member Moderator

    Hi Steve,

    The way I fixed this (unofficial fix) was by adding a space in define('IMAP_DEFAULTFROM', ' ')

    You can set this in the z-push/config.php file.
    Look for:
    Code:
    ('IMAP_DEFAULTFROM', '')
    and change it to
    Code:
    ('IMAP_DEFAULTFROM', ' ')
    Note the space between the ' '
     

Share This Page