Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 6th April 2010, 12:41 AM
ckts37 Offline
Registered User
 
Join Date: Apr 2010
Posts: 1
windows_7firefox
Fedora 12 x64, Postfix, etc/aliases, PHP

Hey everyone,

I wasn't quite sure whether this belonged under networking or not.

Basically, I need to route all e-mails to mydomain.com to one PHP script, and store the results in the DB.

The keyword/username before "@mydomain.com" needs to be stored in a column by itself (this word is chosen by the user and provides them with a matching vanity URL and webmail address).

I think I need to set up wildcards in my alias/config files...
/etc/postfix/virtual:
Code:
@mydomain.com webmail@mydomain.com
/etc/aliases:
Code:
webmail@mydomain.com: "| php -q /var/www/webmail_incoming.php"
I think I'd need some way to retain the username before the '@', so that when I hit /etc/aliases, I could give webmail_incoming.php that username through $_GET, maybe?

Thanks in advance for any assistance!
Reply With Quote
Reply

Tags
etc or aliases, fedora, php, postfix, x64

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 12: IP Aliases HOWTO Quasaur Installation and Live Media 2 13th February 2010 05:21 AM
Fedora-DS does not dereferencing aliases? sergeykam Servers & Networking 1 23rd June 2008 10:48 PM
Postfix is not able to access /etc/aliases sentry Servers & Networking 2 25th January 2006 12:58 AM
Postfix: /etc/aliases.db: Permission denied diabolik Using Fedora 5 13th October 2005 08:21 AM
postfix aliases files Ivan Using Fedora 1 17th June 2005 04:03 AM


Current GMT-time: 19:55 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat