All you have to do is set sendmail to relay all mail through your exchange server (the DS directive in sendmail.cf) and then you are sorted, the only difference between it directly talking to the exchange server is one extra 'Received from' header on the e-mail.
Paul Tyreman wrote:
An of course, its SMTP that I need.
I don't want sendmail to send mail to the exchange server, I want to use the exchange server to send the mail in the first place !
What I want to do is forget about sendmail, and make an account on the exchange server for asterisk to send mail from.
Can that be done ?
Thanks, Paul.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Hajime Lanning Posted At: 25 April 2004 19:40 Posted To: Asterisk-Users Conversation: [Asterisk-Users] Using Exchange to send voicemail message Subject: Re: [Asterisk-Users] Using Exchange to send voicemail message
IMAP and POP3 are used for the MUA to get access to a mailbox. They are not used for delivering messages to a mailbox, but for reading message out of a mailbox.
What you are looking for, is an SMTP gateway. Sendmail is an SMTP MTA that can be configured to send the email (via SMTP/ESMTP) to the Exchange server.
All you really need to do is have the DNS MX records for foo.com pointing to your Exchange server. Then, in voicemail.conf you would have the email address set to [EMAIL PROTECTED]
Of course, change foo.com to whatever your domain, for the Exchange server, is. And, make sure you have the SMTP connector configured for Exchange.
<quote who="Paul Tyreman"> > Hi, > > I run a local exchange server and would like asterisk to send > voicemail notification messages via exchange. > > I have had a look at the voicemail.conf file, but I can't see how I > would go about configuring it to use an account set up on exchange ? > The exchange account would have both POP3 and IMAP access, so how can > I tell Asterisk to use the exchange account rather then sendmail ? > > Thanks, Paul.
-- END OF LINE -MCP _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
-- Alex Brett [EMAIL PROTECTED] +44 (0)870 744 2170 http://www.loho.co.uk/ _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
