Default Mail


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Default Mail
# 1  
Old 07-07-2008
Default Mail

hi all,
is it possible in apache conf file to specify ServerName mail.* , meaning I'm trying to achieve is that when you type mail.yourdomain.com or mail.yourotherdomain.com that it opens default mail directory?
# 2  
Old 07-08-2008
You are mixing up things:
  1. The main config file for Apache is httpd.conf.
  2. As described in the documentation on Welcome! - The Apache Software Foundation, ServerName is just for the server to identify itself.
  3. What is a defailt mail directory? On Unix/Linux usually mail is - if delivered - in the mbox of every single user. I don't know what you mean.
  4. On what OS are you running?
  5. Whatever URL your Apache is running at, you can publish any directory of your filesystem, even that, where your "default mail directory" resides. Check the <directory></directory> directives and maybe set some <Options> to get it working. There are usually helpful commented examples in the httpd.conf already.
# 3  
Old 07-08-2008
Thank you for your answer, I didn't state my problem appropriately ... what I'm trying to achieve is this .. I have horde webmail installed at /usr/share/horde so I make <Virtualhost> entry for it document root is /usr/share/horde and ServerName is mail.mydomain.com and it works everything is fine ..now what I'd like is to make some kind of directive like mail* to read from /usr/share/horde -> meaning that when I type mail.anydomain.com that I get transfered to the same page as when I typed mail.mydomain.com .. tnx
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Client was not authenticated to send anonymous mail during MAIL FROM (in reply to MAIL FROM comm

I am having trouble getting mail to work on a red hat server. At first I was getting this message. Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies

2. Shell Programming and Scripting

How to send mail using PHP mail function On apache server.?

Hello, I am using centos-6.2 I have apache server,php5 on my system and I want to send mail using sendmail on my system. when I try to send mail from shell that time mail is succesfully sent to respective address() but when I try to send it through webbrowser I am not able to send it.... (1 Reply)
Discussion started by: Kiran ursal
1 Replies

3. UNIX for Dummies Questions & Answers

Minimal Mail Server Setup for Local Mail Transfer

I am trying to get stored mail out of an old mail client. I figured that the easiest way to do it is with IMAP by logging in with both clients. I can copy the mail to the server from the old mail client, and back down into the new mail client. Rather than using a real mail account on the... (2 Replies)
Discussion started by: nixie
2 Replies

4. OS X (Apple)

Why are the subjects of deleted mail messages still in Mail Viewing pane?

I was wondering -- when I delete a mail message, I know it goes into the trash, but I've noticed that the subject lines of messages are still in the viewing pane, and I have to delete them as well. Can anyone tell me why this is, and where they are? (1 Reply)
Discussion started by: Straitsfan
1 Replies

5. UNIX for Advanced & Expert Users

need to configure mail setting to send mail to outlook mail server

i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail. actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies

6. UNIX for Dummies Questions & Answers

How to send html file in a mail not as an attachment but it should display in the mail in table for

Hi The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment . cat Employee.sql SET VERIFY OFF SET PAGESIZE 200 SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON - HEAD... (0 Replies)
Discussion started by: mani_isha
0 Replies

7. Solaris

how to forward mail in /var/mail/username to external mail

Dear All, Now I use solaris 10 and I try to forward mail from /var/mail/username to their external mail so what should I do? thank u in advance (2 Replies)
Discussion started by: unitipon
2 Replies

8. UNIX for Dummies Questions & Answers

mail problem (NOT Mail or Mail.app)

When I try to use the CLI mail, I get the following error. What's wrong? Welcome to Darwin! % mail root Subject: test test . EOT % /etc/mail/sendmail.cf: line 81: fileclass: cannot open /etc/mail/local-host-names: Group writable directory Do I just need to change the... (1 Reply)
Discussion started by: chenly
1 Replies
Login or Register to Ask a Question