Results 1 to 5 of 5

Thread: How to authenticate when sending to local user

  1. #1
    tonnuchimse is offline Member
    Join Date
    Aug 2011
    Posts
    13
    Rep Power
    4

    Default How to authenticate when sending to local user

    Hello,
    I've successfully configured Outgoing SMTP Authentication. So If I want to send to outside domain, I must authenticated before sending.
    But If I send to other guy in local domain (from a@mydomain.com to b@mydomain.com), I can do it without authentication.
    So is there any way to change this?
    Thank you very much

  2. #2
    tonnuchimse is offline Member
    Join Date
    Aug 2011
    Posts
    13
    Rep Power
    4

    Default

    Hello,
    I've configured SMTP Auth following RestrictPostfixRecipients - Zimbra :: Wiki
    In smtpd_sender_restrictions, I have two parameters:
    reject_authenticated_sender_login_mismatch
    reject_unauthenticated_sender_login_mismatch.
    With this configuration, user using POP server can not send email (to local or outside) without authentication.
    But if user using Zimbra client or using webmail, they can not send email and they receive notification
    Delivery Failure Notification: Invalid address: John Smith <a@domain.com>. com.zimbra.cs.mailbox.MailSender$SafeSendFailedExc eption: MESSAGE_NOT_DELIVERED; chained exception is: com.zimbra.cs.mailclient.smtp.InvalidRecipientExce ption: RCPT failed: Invalid recipient a@domain.com: 553 5.7.1 <a@domain.com>: Sender address rejected: not logged in
    So I think the problem is that Zimbra client or webmail can not send authentication parameter to MTA.
    So I want to know how Zimbra client or webmail actually work? Is there anyway to extend authentication from Zimbra client or webmail to MTA to be able to send email
    Thank you very much

  3. #3
    tuanta's Avatar
    tuanta is offline Active Member
    Join Date
    Feb 2008
    Location
    Hanoi
    Posts
    42
    Rep Power
    7

    Default

    Quote Originally Posted by tonnuchimse View Post
    I've configured SMTP Auth following RestrictPostfixRecipients - Zimbra :: Wiki
    This should not be the right way to solve your problem.

    To get your goals, you should separate the "way" Zimbra server send/receive mails (using SMTP port 25) and the one end-user push mails to Zimbra (using Submission port 587).
    To prevent users from using SMTP port 25, you can configure your firewall to filter this port from LAN-side access.
    Kind Regards,
    Tuan

    Official website: http://www.iwayvietnam.com/
    Weblog: http://blog.iwayvietnam.com/tuanta/
    -----

    Zimbra is the best ever FOSS I've worked with.

  4. #4
    tonnuchimse is offline Member
    Join Date
    Aug 2011
    Posts
    13
    Rep Power
    4

    Default

    Hi all,
    There is some mistake of my previous post. I follow the guide RestrictPostfixSenders - Zimbra :: Wiki
    and it works. I can force user to authentication when sending both local and outside network.
    So this problem is resolved. Please help me to close this case
    Thank you very much

  5. #5
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    Default

    Quote Originally Posted by tonnuchimse View Post
    Hi all,
    There is some mistake of my previous post. I follow the guide RestrictPostfixSenders - Zimbra :: Wiki
    and it works. I can force user to authentication when sending both local and outside network.
    So this problem is resolved. Please help me to close this case
    Thank you very much
    The correct solution to your problem is mentioned in post # 3 above, your users should be using the correct Submission port 587 (which requires authentication) not port 25 - that port is for MTAs to communicate not submit mail for delivery.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  3. DNS Questions and Trouble Installing
    By smurraysb in forum Installation
    Replies: 22
    Last Post: 03-14-2008, 03:27 PM
  4. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM

Posting Permissions

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