• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4462
  • Last Modified:

how to relay mails from zimbra

hi friend,
i had configured postfix in ubuntu. now i am configuring zimbra. i have to relay mails from smtp6.mail.pw so i edited mai.cf

 vi /opt/zimbra/postfix/conf/main.cf

relayhost = smtp6.mail.pw

and saved it when i reboot my zimbra machine relayhost is empty how to fix this.

second like in postfix v create sasl authentication i.e sasl_passwd

how to create sasl_passwd for authentication in zimbra.
0
pawanopensource
Asked:
pawanopensource
  • 3
  • 2
2 Solutions
 
madunixChief Information Security Officer Commented:
check zimbra wiki http://wiki.zimbra.com/index.php?title=Main_Page  and search "mail relay"

madunix
0
 
pawanopensourceAuthor Commented:
hey i logged in through admin console and than under GLOBAL SETTING there is a tab MTA and in that there is Relay MTA for external delivery: (here i gave my relay address)  now when i am sending email like
from dipesh@tm.local to pawan.lal@gmail.com i get this error message

The mail system

<pawan.lal@gmail.com>: host smtp1.mail.pw[70.87.29.14] said: 554 5.7.1
    <pawan.lal@gmail.com>: Relay access denied (in reply to RCPT TO command)

i think i had done mistake in sasl_passwd, plz guide me so that i can rectify this error and start relaying mails.

thx
0
 
jar3817Commented:
That server (smtp1.mail.pw) probably requires authentication to relay. Check this page on how to set that up:

http://wiki.zimbra.com/index.php?title=Outgoing_SMTP_Authentication
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
pawanopensourceAuthor Commented:
Enabling SMTP authentication

Create a text file mapping which name/password should be used for each given outbound destination:

echo mailrelay.example.com username:password > /opt/zimbra/conf/relay_password

Create a postfix lookup table:

postmap hash:/opt/zimbra/conf/relay_password
postmap command is not working can u plz gide.
0
 
jar3817Commented:
You can set all of this up in the admin console, without having to go through the files manually you know. Just aim your browser at https://yourzimbraserversdomain.com:7071/zimbraAdmin

It should be under Configuration, Global Settings, MTA...

0
 
pawanopensourceAuthor Commented:
friend i had already done that way only by global setting MTA. problem is with while i creating sasl_passwd files authentication is getting fail thats why mails r not relaying.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now