- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- IMAP working with sendmail, ultimately with exchan...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2005 07:50 PM
тАО06-09-2005 07:50 PM
Now I need IMAP running on a Hpux server for an Oracle product and have installed cyrus with IExpress.
Reading the documentation that comes with it, for my version of sendmail, all I should need to do is add:
For Sendmail 8.9.x and earlier, use the cyrus mailer definition in the Sendmail distribution:
define(`confLOCAL_MAILER', `cyrus')
MAILER(`cyrus')
to get IMAP playing nicely with sendmail
root@hpuxbox:/opt> what /usr/sbin/sendmail
/usr/sbin/sendmail:
version.c 8.9.3.1 (Berkeley) 05/05/2003 (PHNE_28810)
but then I just get this error when I try starting sendmail:
root@hpuxbox:/> /sbin/init.d/sendmail start
/etc/mail/sendmail.cf: line 721: unknown configuration line "define(`confLOCAL_M
AILER', `cyrus')"
/etc/mail/sendmail.cf: line 722: MAILER(`cyrus'): A= argument required
554 /etc/mail/sendmail.cf: line 721: unknown configuration line "define(`confLOC
AL_MAILER', `cyrus')"
554 /etc/mail/sendmail.cf: line 722: MAILER(`cyrus'): A= argument required
Am I putting the cyrus entry in the wrong section of the sendmail.cf file?
To be honest, I'm kinda intimidated by this configuration file, so any help would be greatly appreciated and recognized with points.
thanks,
Kevin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2005 08:50 PM
тАО06-09-2005 08:50 PM
Re: IMAP working with sendmail, ultimately with exchange
This option you are being asked to add looks like a typical sendmail.mc (macro) entry. This macro file helps you build a new sendmail.cf file and is easier than editing the sendmail.cf file directly.
See the README file in /usr/contrib/sendmail/usr/newconfig/etc/mail/cf. There are probably other good posts on the site for using sendmail macro files.
Good luck - with sendmail, you need it!
KB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2005 12:17 AM
тАО06-10-2005 12:17 AM
Re: IMAP working with sendmail, ultimately with exchange
The keyword define is not a valid entry in sendmail.cf . It is a macro defenition keyword which is used in sendmail.mc file .
You may already have a sendmail.mc file with ur sendmail distribution in the directory /etc/mail normally. Edit this file and add the two entries specified there. Afterwards u need to create the sendmail.cf file from this macro file using 'm4' macro processor. copy ur current sendmail.cf file and create the new sendmail.cf file using the command 'm4 sendmail.mc > sendmail.cf' . Then try starting sendmail .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2005 12:24 AM
тАО06-10-2005 12:24 AM
Re: IMAP working with sendmail, ultimately with exchange
I suspect you have minimal configuration alterations in sendmail.cf anyway. Try comparing (using diff) with the vanilla HP sendmail.cf in /usr/newconfig/etc/mail.
Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2005 12:43 AM
тАО06-10-2005 12:43 AM
Re: IMAP working with sendmail, ultimately with exchange
I've checked my server & there's no directory called /usr/contrib/sendmail
I also searched all the disks for a sendmail.mc and nogo on that one too.
so I made a copy of my sendmail.cf and then ran the command you gave to create a new one with this cyrus macro and then:
m4 sendmail.mc > sendmail.cf.new
#cat sendmail.cf.new
MAILER(cyrus)
that's hugely different from my sendmail.cf file:
root@mybox:/etc/mail> wc -l sendmail.cf*
2183 sendmail.cf
3 sendmail.cf.new
Hmm. I think my instincts about sendmail might have been right! cheers again Keith & Bejoy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2005 07:22 PM
тАО06-10-2005 07:22 PM
Re: IMAP working with sendmail, ultimately with exchange
u should make a sendmail.cf file from a fully defined sendmail.mc , u cant make it from a file which only contains the MAILER(cyrus) entry . It should be a macro defenition file ( sendmail.mc ) which holds all the defenitions of ur setup . If possible get one sendmail.mc file of some other servers which is having the same sendmail version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2005 07:51 PM
тАО06-10-2005 07:51 PM
Re: IMAP working with sendmail, ultimately with exchange
/etc/inetd.conf
imap stream tcp nowait root /usr/sbin/imapd imapd
/etc/services
imap 143/tcp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2005 03:03 AM
тАО06-13-2005 03:03 AM
Re: IMAP working with sendmail, ultimately with exchange
I've installed the UW-IMAP as you suggested. changed the inetd.conf and services, and restarted inetd (double-checked it is running) but I still am seeing signs that the IMAP server isn't okay:
$ telnet myimapserver 143
Connecting To myimapserver...
Could not open connection to the host,
on port 143: Connect failed
anyone know of anywhere you could point me to get help with this? logfiles? resource on the web?
cheers,
Kevin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2005 11:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2005 07:26 PM
тАО06-13-2005 07:26 PM
Re: IMAP working with sendmail, ultimately with exchange
, check also it is listening on 127.0.0.1 only or on all of ur ips, do a 'telnet localhost 143' also.