Results 1 to 7 of 7

Thread: When an Automatic Forward action is perform?

  1. #1
    riravedra is offline Intermediate Member
    Join Date
    Aug 2007
    Location
    Barcelona
    Posts
    19
    Rep Power
    7

    Question When an Automatic Forward action is perform?

    I am interested in knowing when there is realized the action to order a message of automatic form after a user provision a zimbraMailForwardingAddress.

    I have looked through the forums and the wiki and can't find any topics related to this so maybe someone could help me out.
    Only, I've read at User Alias Mapping and Mail Transport with Postfix & LDAP - Zimbra :: Wiki
    that the Postfix application looks in LDAP for an entry called zimbraMailForwardingAddress.

    My problem is the following one:
    1. user1 assign to zimbraMailForwardingAddress a value user2@erroneousDomain.com
    2. user2 sends an email to user1
    3. user1 receives the email
    4. user2 receives an "Undelivered Mail Returned to Sender" because user1 has mal-formed his automatic forwarding address.


    I wonder if it can be possible that user2 was avoiding to know this mistake and was notified to the user1.

    Zimbra Server knows when an email is forwarded to another one or only is known by Postfix?
    Can I generate a log saying that a message is being automatic forwarded?

    Thanks in advance

  2. #2
    riravedra is offline Intermediate Member
    Join Date
    Aug 2007
    Location
    Barcelona
    Posts
    19
    Rep Power
    7

    Default When an Automatic Forward action is perform?

    Hi all,
    Can someone help me?

    I just need to know if i can log all automatic forwarded messages when they are sended by postfix app ?

    I believe that I have quite controlled in the zimbraServer, but not when acts postfix.

    Thanks

  3. #3
    dwmtractor's Avatar
    dwmtractor is offline Moderator
    Join Date
    Jul 2007
    Location
    San Jose, CA
    Posts
    1,027
    Rep Power
    9

    Default

    Have you checked /var/log/zimbra.log or mail.log? They record virtually every action of the mail transport, and so with grep I would think you could find what you are looking for. If you need to get a report on a regular basis, write a script to grep the appropriate stuff out of those logs and send it to a new file or even an email to yourself.

  4. #4
    riravedra is offline Intermediate Member
    Join Date
    Aug 2007
    Location
    Barcelona
    Posts
    19
    Rep Power
    7

    Default

    thanks dwmtractor, I have just verified the file "mail.info" and i've found next after sending email:


    1. senderUser sends a message to receiverOkUser
    2. receiverOkUser has enabled Address to forward mail to: to automaticForwardedKoUser@externalDomain.com
    3. An error occurs when a message is sent to automaticForwardedKoUser


    Nov 19 08:35:59 zimbraServer postfix/qmgr[19768]: 13F882C036:from=<senderUser@domain.com>, size=1096, nrcpt=2 (queue active)
    Nov 19 08:36:04 zimbraServer zmtomcatmgr[2486]: status requested
    Nov 19 08:36:04 zimbraServer zmtomcatmgr[2486]: status OK
    Nov 19 08:36:11 zimbraServer postfix/smtpd[2560]: connect from localhost[127.0.0.1]
    Nov 19 08:36:11 zimbraServer postfix/smtpd[2560]: 9CBB12C037:client=localhost[127.0.0.1]
    Nov 19 08:36:11 zimbraServer postfix/cleanup[2356]: 9CBB12C037:message-id=<6882443.01195457755242.JavaMail.root@zimbraSer ver>
    Nov 19 08:36:11 zimbraServer postfix/smtpd[2560]: disconnect from localhost[127.0.0.1]
    Nov 19 08:36:11 zimbraServer postfix/qmgr[19768]: 9CBB12C037:from=<senderUser@domain.com>, size=1693, nrcpt=2 (queue active)
    Nov 19 08:36:12 zimbraServer postfix/smtp[2357]: 13F882C036:to=<receiverOkUser@domain.com>, relay=127.0.0.1[127.0.0.1], delay=13,status=sent (250 Ok: queued as 9CBB12C037)
    Nov 19 08:36:12 zimbraServer postfix/smtp[2357]: 13F882C036:to=<automaticForwardedKoUser@externalDo main.com>,orig_to=<receiverOkUser@domain.com>, relay=127.0.0.1[127.0.0.1], delay=13,status=sent (250 Ok: queued as 9CBB12C037)
    Nov 19 08:36:12 zimbraServer postfix/qmgr[19768]: 13F882C036: removed
    Nov 19 08:36:12 zimbraServer postfix/smtp[2561]: 9CBB12C037:to=<automaticForwardedKoUser@externalDo main.com>, relay=none, delay=1,status=bounced (Host or domain name not found. Name service error for name=domain.com1 type=A: Host not found)
    Nov 19 08:36:12 zimbraServer postfix/lmtp[2562]: 9CBB12C037:to=<receiverOkUser@domain.com>, relay=domain.com[192.168.2.55], delay=1,status=sent (250 2.1.5 OK)
    Nov 19 08:36:12 zimbraServer postfix/cleanup[2356]: 9D7992C038:message-id=<20071119073612.9D7992C038@domain.com>
    Nov 19 08:36:12 zimbraServer postfix/qmgr[19768]: 9D7992C038: from=<>,size=3756, nrcpt=1 (queue active)
    Nov 19 08:36:12 zimbraServer postfix/qmgr[19768]: 9CBB12C037: removed
    Nov 19 08:36:13 zimbraServer postfix/lmtp[2562]: 9D7992C038:to=<senderUser@domain.com>, relay=domain.com[192.168.2.55], delay=1,status=sent (250 2.1.5 OK)
    Nov 19 08:36:13 zimbraServer postfix/qmgr[19768]: 9D7992C038: removed
    The only reference from a forwarded message is orig_to ?

    Is there a way from ZimbraServer to control this behaviour without having to generate a external script ?


    By way of curiosity, the last two records indicate that a message to senderUser is sent telling that there has been an "internal" mistake sending a message to automaticForwardedKoUser.
    But in my modest opinion, why senderUser has to know this error?
    Would not it be better to report to receiverOkUser ?

    I wait to have expressed correctly and in an intelligible way.

    Thanks

  5. #5
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,473
    Rep Power
    56

    Default

    Quote Originally Posted by riravedra View Post
    Nov 19 08:36:12 zimbraServer postfix/smtp[2561]: 9CBB12C037:to=<automaticForwardedKoUser@externalDo main.com>, relay=none, delay=1,status=bounced (Host or domain name not found. Name service error for name=domain.com1 type=A: Host not found)
    Doesn't that error tell you what the real problem is?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    riravedra is offline Intermediate Member
    Join Date
    Aug 2007
    Location
    Barcelona
    Posts
    19
    Rep Power
    7

    Default

    Yes, I know the problem, because I needed to generate an example where there is a mistake to show you what happens when it occurs.

    I am not interested in the error itself. Rather, i'm interested in the fact not alert the senderUser -originally who send the first email-, to warn of error receiverOkUser -that enabled an automatic redirect to an external account-.

  7. #7
    amsin's Avatar
    amsin is offline New Member
    Join Date
    Nov 2007
    Posts
    3
    Rep Power
    7

    Question

    Quote Originally Posted by riravedra View Post
    Yes, I know the problem, because I needed to generate an example where there is a mistake to show you what happens when it occurs.

    I am not interested in the error itself. Rather, i'm interested in the fact not alert the senderUser -originally who send the first email-, to warn of error receiverOkUser -that enabled an automatic redirect to an external account-.
    Hi,

    I am also looking for the same, as only the original recipient should get NDR not the original sender. From the original sender view, message is already delivered to the recipient. Is there a way we can send all NDRs to an account instead of sending to the sender or is there a way to disable sending NDR in postfix? As a wish list, can Zimbra have an option to create a mail filter to forward mails based on subject or address to another address.

    Zimbra rocks...

    Rgds,

    *** Great day to all ***

    Registered linux user : #453287 (hxxp://counter.li.org/)
    Last edited by amsin; 11-19-2007 at 10:34 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Errors installing Outlook Connector
    By Tim G in forum Zimbra Connector for Outlook
    Replies: 57
    Last Post: 05-05-2011, 02:27 PM
  2. Problems installing ZCS connector for Outlook
    By Millburn357 in forum Zimbra Connector for Outlook
    Replies: 18
    Last Post: 11-25-2009, 10:07 AM
  3. Outlook 03 - Connector Issue
    By Sonny Ali in forum Zimbra Connector for Outlook
    Replies: 9
    Last Post: 09-06-2007, 10:35 AM
  4. Error Installing Outlook Connector
    By DanO in forum Zimbra Connector for Outlook
    Replies: 17
    Last Post: 08-28-2007, 09:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •