View previous topic :: View next topic |
Author |
Message |
Rooney Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Sonic/5.gif)
Joined: 07 Aug 2003 Posts: 193 Location: Sheffield, UK
|
Posted: Sat Jan 29, 2005 7:22 pm Post subject: exim with alias |
|
|
how do i create alias for users currently im using exim+courier-imapd and maildir.
e.g. i have a user.
bob@domain.co.uk - where as this is a system user and i want the alias robert@domain.co.uk to go to the same maildir. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
servermonk Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1563898794403cfda5aabc0.gif)
Joined: 07 Nov 2003 Posts: 182 Location: MI
|
Posted: Sat Jan 29, 2005 7:43 pm Post subject: |
|
|
I have a router setup in my conf that looks like this:
Code: | virtual:
driver = redirect
domains = dsearch;/etc/exim/valiases
data = ${lookup{$local_part}lsearch*{/etc/exim/valiases/$domain}}
group = mail
file_transport = address_file
pipe_transport = address_pipe |
where /etc/exim/valiases/ contains files named whateverdomain.com that contain:
so in this case you would have a file there named "domain.co.uk" that contained:
hope that helps ![Smile :)](images/smiles/icon_smile.gif) _________________ Gentoo makes me wanna shoop. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Rooney Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Sonic/5.gif)
Joined: 07 Aug 2003 Posts: 193 Location: Sheffield, UK
|
Posted: Sat Jan 29, 2005 7:58 pm Post subject: |
|
|
This is what i have done but i just doesent seem to work.
Code: |
system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch{/etc/exim/aliases}}
user = exim
file_transport = address_file
pipe_transport = address_pipe
|
and then completed the file /etc/exim/aliases with the relevant names e.g.
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
servermonk Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1563898794403cfda5aabc0.gif)
Joined: 07 Nov 2003 Posts: 182 Location: MI
|
Posted: Sat Jan 29, 2005 8:26 pm Post subject: |
|
|
I have that system_aliases router as well but try adding the virtual router under it and see if that works better for you ![Smile :)](images/smiles/icon_smile.gif) _________________ Gentoo makes me wanna shoop. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Rooney Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Sonic/5.gif)
Joined: 07 Aug 2003 Posts: 193 Location: Sheffield, UK
|
Posted: Sun Jan 30, 2005 3:06 pm Post subject: |
|
|
servermonk wrote: | I have that system_aliases router as well but try adding the virtual router under it and see if that works better for you ![Smile :)](images/smiles/icon_smile.gif) |
still no luck when i do this mail doesent appear at the system user never mind the aliases lol, any other ideas |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
servermonk Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1563898794403cfda5aabc0.gif)
Joined: 07 Nov 2003 Posts: 182 Location: MI
|
Posted: Sun Jan 30, 2005 3:41 pm Post subject: |
|
|
Can you post a snipit of the exim_main.log so I can see what's not working? I can also put a copy of my full exim.conf up for you if you like. _________________ Gentoo makes me wanna shoop. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
servermonk Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1563898794403cfda5aabc0.gif)
Joined: 07 Nov 2003 Posts: 182 Location: MI
|
Posted: Sun Jan 30, 2005 5:12 pm Post subject: |
|
|
well, here's my conf file anyway. I'm sure it could help a little
http://genfu.org/files/exim.conf
Let me know if you have any questions about it. It's using maildir, clamAV, DNSRBLs and spamassassin. _________________ Gentoo makes me wanna shoop. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|