Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Qmail Alias with period
Results 1 to 4 of 4

Thread: Qmail Alias with period

  1. #1

    Qmail Alias with period

    Hi gurus out there,

    I just wonder how could i make a qmail alias having a period. I used the example below:

    jay.manalo@domain.com with a username "jay" on my RH9.0 running qmail-1.03.

    Any help will be very much appreciated.

    TIA

  2. #2

    Re:Qmail Alias with period

    I'm not sure why you need to alias that name but what I would do it just use virtual hosts. I run a Qmail-1.03 server with about 30 diff domains. Set your /var/qmail/control/virtualdomains file to look like this.

    user@domain.com:unixname

    jay.mandal@domain.com:jay



    I wrote this scripts, very cheasy but it works for me. The server is Solaris 9 so it differs a bit.

    echo "Please enter the new qmail username.";
    read NAME;
    useradd -m $NAME;
    passwd $NAME;
    echo "$NAME has been added as a UNIX user.";
    sleep 1;
    echo "Adding qmail Maildir to $NAME.";
    /usr/local/src/qmail-1.03/maildirmake /export/home/$NAME/Maildir;
    sleep 1;
    cp /qmail/.qmail-default /export/home/$NAME
    echo "Copied .qmail-default to $NAME's home directory.";
    sleep 1;
    echo "Changing ownership of $NAME's files to $NAME.";
    chown $NAME /export/home/$NAME
    chown $NAME /export/home/$NAME/*
    chown $NAME /export/home/$NAME/Maildir/*
    chown $NAME /export/home/$NAME/.qmail-default
    sleep 1;
    /qmail/qmailuseradd
    echo "$NAME has been added to the qmail database.";
    qmailctl reload

  3. #3
    Senior Member
    Join Date
    Nov 2001
    Posts
    419

    Re:Qmail Alias with period

    Just create a file like this.

    .qmail-jay:manalo with "jay" inside.

    HTH (Hope This Helps)

  4. #4

    Re:Qmail Alias with period

    [quote author=datamike link=board=4;threadid=8438;start=0#msg76838 date=1074178678]
    I'm not sure why you need to alias that name but what I would do it just use virtual hosts. I run a Qmail-1.03 server with about 30 diff domains. Set your /var/qmail/control/virtualdomains file to look like this.

    user@domain.com:unixname

    jay.mandal@domain.com:jay

    [/quote]

    Should this entry on virtualdomain require fastforward to be installed?

    Thanks

Similar Threads

  1. Adding an Alias to Network Bridge
    By elpato77 in forum Linux - Hardware, Networking & Security
    Replies: 10
    Last Post: 07-17-2009, 04:36 PM
  2. Owner for the alias list in sendmail
    By honey bee in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 04-17-2007, 11:32 AM
  3. qmail
    By lynOS in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 04-20-2004, 05:05 AM
  4. alias for root
    By Black666 in forum Linux - General Topics
    Replies: 4
    Last Post: 06-25-2002, 02:46 PM
  5. Qmail
    By flandercan in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 05-17-2002, 07:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •