.qmail Help

Discussion in 'qmail' started by Drak, Feb 26, 2014.

  1. Drak

    Drak New Email

    Joined:
    Feb 26, 2014
    Messages:
    3
    Likes Received:
    0
    Hi All

    Really new to all this qmail stuff and stuck on something im hoping you guys can help me with.

    this is what i have been told i need todo.

    cd /var/qmail/popusers/domain.co.uk
    create .qmail-info with - addy@domain.co.uk
    in it

    but what i need to konw is how do i create the .qmail-info as when i try to type "create .qmail-info" it doesnt work and im a real noob on all this.

    Thanks in advance

    Drak
     


  2. popowich

    popowich EQ Forum Admin Staff Member

    Joined:
    Aug 12, 2008
    Messages:
    8,995
    Likes Received:
    120
    Hi Drak,

    The text editor I prefer to use is called vi

    You can use this command to "create" a file:

    vi .qmail-info

    press "i" to go into insert mode

    When you are done typing in the address type this to save:

    esc key, then :wq!

    The man pages are your friend. Start typing a variety of "man {command}" to learn a lot of new commands and their features.

    For this particular task, here is an alternate command that will accomplish the same thing faster than using vi:

    echo "addy@domain.co.uk" > .qmail-info

    Technically, you should put a & in front of addresses listed in your .qmail files.

    &addy@domain.co.uk

    :welcome: to Email Questions!
     

  3. Drak

    Drak New Email

    Joined:
    Feb 26, 2014
    Messages:
    3
    Likes Received:
    0
    Sorry for the delay in a thank you ive been away on business.

    I did manage to make the changes as shown above but i am still having issues.

    My steps

    created a .qmail-drak in /var/qmail/popusers/domain.co.uk

    the .qmail-drak had &drak@blahblah.co.uk and nothing else.

    i then saved the qmail hoping when i send an email to drak@domain.co.uk it would then forward a copy to drak@blahblah.co.uk but no forward email seems to get to my account.

    is there a step i missed or a service i had to restart.

    Many Thanks

    Drak
     
  4. popowich

    popowich EQ Forum Admin Staff Member

    Joined:
    Aug 12, 2008
    Messages:
    8,995
    Likes Received:
    120
    Double check the permissions on the .qmail file you created to make sure qmail can read it.

    Can you provide an ls -la and cat of /var/qmail/popusers/domain.co.uk/.qmail-drak

    What do the mail logs say?

    No services require a restart when editing .qmail files.
     
  5. Drak

    Drak New Email

    Joined:
    Feb 26, 2014
    Messages:
    3
    Likes Received:
    0
    ls

    -rw-r--r--

    Cat

    &drak@blahblah.co.uk
     
  6. popowich

    popowich EQ Forum Admin Staff Member

    Joined:
    Aug 12, 2008
    Messages:
    8,995
    Likes Received:
    120
    That looks good. What is getting logged in your mail logs?
     

Want to reply or ask your own question?

It only takes a minute to sign up (and it's free!). Click the orange sign up button to choose a username and then you can ask your own questions on the forum.
Loading...