- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail catch_all_configuration
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
Forums
Discussions
Discussions
Discussions
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
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
11-28-2005 08:27 AM
11-28-2005 08:27 AM
Sendmail catch_all_configuration
I had a question about sendmail.
Im trying it at my workplace and want to have a catch_all email configured in that ie , for Eg: if some one emails at Len@abc.com(which is not existing email) then that email should get forwarded/bounced to , mailadmin@abc.com .
Whats the way to setup POP accounts , ie you can pop to any client like Outlook all your mails frm server?
Is this possible in Sendmail? Pl let me know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2005 08:48 AM
11-28-2005 08:48 AM
Re: Sendmail catch_all_configuration
Sendmail does not do POP. Sendmail just sends and receives mail and puts it in a mailbox. If you want to get you unix mail via a POP3 client, then you'll have to install a POP3 server.
I use QPOPPER for this on a couple of servers. It works well and is fairly easy to set up. Qpopper, with all appropriate docs, is available at: http://www.eudora.com/products/unsupported/qpopper/index.html
As for your sendmail issue: I'm not sure how you do that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2005 09:41 AM
11-28-2005 09:41 AM
Re: Sendmail catch_all_configuration
Here is few docs that can help you understanding and configuring :
'Sendmail 8.X Cookbook' :
http://www1.itrc.hp.com/service/iv/docDisplay.do?docId=prodITRC/DE_SW_UX_sendmail_EN_01_E/sendmail.doc
DOC:
http://docs.hp.com/en/5991-0707/ch02s07.html
Also chek this link:
http://www1.itrc.hp.com/service/iv/node.do?node=prodITRC%2
FWW_Start%2FN1%7C20%7C5%7C3%7C12%7C2
Hope this can help,
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2005 09:58 AM
11-28-2005 09:58 AM
Re: Sendmail catch_all_configuration
in /etc/mail/virtusertable add: @yourdomain.com emailusername
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2005 09:59 AM
11-28-2005 09:59 AM
Re: Sendmail catch_all_configuration
makemap hash /etc/mail/virtusertable
then restart sendmail.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2005 10:28 AM
11-28-2005 10:28 AM
Re: Sendmail catch_all_configuration
sendmail when it comes to SMTP.
Download the latest sendmail from sendmail.org
and read about "mailertable" and "virtualusers" dbm
files or just use HP's sendmail in /usr/newconfig/etc/mail/cf/cf
to build a new sendmail.cf file
m4 ../m4/cf.m4 generic-hpux10.mc >sendmail.cf.new
I have my sendmail servers setup to
translate address user@a.com to go to
user@b.com with virtualusers table and
anything matching @domain1.com or @domain2.com to
go to another relay.
exp:
You need to have in the generic-hpux10.mc or
other .mc file name:
FEATURE(virtusertable)dnl
and/or
FEATURE(mailertable)dnl
These will build the rules into your new sendmail.cf file
To build the dbm file virtusertable.
Create a file called virtusertable and
put recipient addresses you want to translate:
Len@abc.com mailadmin@abc.com
Run:
makemap dbm /etc/mail/virtusertable ail/virtusertable
This will create virtusertable.dir and virtusertable.pag that sendmail uses.
When sending to address Len@abc.com.
The new recipient address will be mailadmin@abc.com.
You may or may not need to edit sendmail.cw
depending on the address.
For mailertable dbm that does re-routing.
Do the same as above with file name as
is for FEATURE above mailertable.
And put in /etc/mail/mailertable file entries
like:
domain1.com smtp:someotherrelay.domain.com
.domain1.com smtp:someotherrelay.domain.com
sub.domain1.com smtp:someotherrelay.domain.com
domain2.com smtp:[128.166.1.2]
Build a new sendmail.cf with the generic .mc
file and do a diff with /etc/mail/sendmail.cf
to see what if any changes there are.
Also check the header in the sendmail.cf
which will show you what features, etc...
are built into the sendmail.cf.
There are a lot of other features and anyone
one of them, with or without them added, can
mess up your whole day if you don't
understand how they all interact with each
other. Be careful with sendmail.cw.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2005 10:59 AM
11-30-2005 10:59 AM
Re: Sendmail catch_all_configuration
When I run the command
makemap dbm /etc/mail/virtusertable ail/virtusertable
I get the following error
makemap dbm /etc/mail/virtualusertable < /etc/mail/voi fi.txt
makemap: Need to recompile with -DNDBM for dbm support
[root@voifimatchdb mail]# makemap -dndbm /etc/mail/virtualusertable < /etc/mail /virtualuser
makemap: invalid option -- n