LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 06-20-2007, 07:14 AM   #1
Jeozp
Member
 
Registered: Dec 2004
Distribution: Debian
Posts: 40

Rep: Reputation: 15
Postfix with pop3 AND aliases


Greetings to you all
I have a question which I haven't been able to find a reference here or on Google.

I would like to be able to mix aliases and pop3.

Let me explain. I have an exchange server in the office which receives mail from a postfix server. This I achieved via aliases. So in the aliases file I have a line like so:
jeozp: jezozp@mydomain.local
where jeozp is my email address and jezozp is my username on the exchange server.

I would now like to be able to create a pop3 mailbox on the postfix server for jezozp but not for any others (I don't have good experience with exchanges pop3connector).
So how can I achieve this?
Transport tabels, Virtual tables? What would that look like?
What would I need to put in my main.cf? Which pop3 service to use?

any help would be apriciated

i am using Debian etch/testing and postfix 2.3.8-2+b1
and here is the output of my postconf -n

alias_database = hash:/etc/aliases2
alias_maps = hash:/etc/aliases2
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
disable_vrfy_command = yes
inet_interfaces = all
inet_protocols = ipv4
mailbox_size_limit = 0
mydestination = tango.com.hr, mail.tango.com.hr, triger.tango.com.hr, localhost.tango.com.hr, localhost, triger.localhost
myhostname = mail.tango.com.hr
mynetworks = 127.0.0.0/8 10.10.0.0/23 #192.168.150.0/24 192.168.201.0/24
myorigin = $mydomain
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = Tango Communications, play nice.
smtpd_client_restrictions = reject_rbl_client list.dsbl.org reject_rbl_client dnsbl.sorbs.net reject_rbl_client cbl.abuseat.org reject_rbl_client cbl.abuseat.org
smtpd_helo_required = yes
smtpd_sender_restrictions = reject_non_fqdn_sender
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
 
Old 06-20-2007, 11:17 AM   #2
oli
Member
 
Registered: Jun 2007
Location: Australia
Distribution: Centos and Fedora
Posts: 34

Rep: Reputation: 16
You could install Dovecot, then add a new user account for 'jezozp'. Then you'd just need to add an entry into your aliases file to direct mail into the mailbox of your new user and you should be able to download it with any standard pop3 email client.

Postfix is an MTA so the POP3 issues is seperate.
 
Old 06-21-2007, 07:13 AM   #3
Jeozp
Member
 
Registered: Dec 2004
Distribution: Debian
Posts: 40

Original Poster
Rep: Reputation: 15
First of, thanks for the reply
I didn't do what you suggested exactly, I installed dovecot but I didn't create any mailboxes. I just created a unix user jeozp and mail is now delivered to /var/mail/jeozp
Which is ok. But...

now I would like to have mail be picked up by pop3 for subdomains as well.
for example I have jeozp[at]sub1.mydomain.com and jeozp[at]sub2.mydomain.com and of course it all ends up at the same place (/var/mail/jeozp)
How can I make them different?

Just when I thought I might get away easy too
 
Old 06-21-2007, 07:22 AM   #4
oli
Member
 
Registered: Jun 2007
Location: Australia
Distribution: Centos and Fedora
Posts: 34

Rep: Reputation: 16
This page explains what you are trying to do:
http://www.postfix.org/VIRTUAL_READM...#virtual_alias

 
Old 06-21-2007, 10:24 AM   #5
Jeozp
Member
 
Registered: Dec 2004
Distribution: Debian
Posts: 40

Original Poster
Rep: Reputation: 15
Ahhh the polite way to say RTFM,
nice to see my sig wasn't made for nothing
Thank you again and thank you a lot, u helped immensely
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup aliases in postfix? (Debian) Jeozp Linux - Software 1 02-03-2005 12:52 PM
postfix and mysql aliases problem paintcheck200 Linux - Networking 0 01-06-2005 09:22 PM
Postfix aliases riotpunk Linux - Software 1 07-23-2004 03:39 AM
postfix aliases\users help nidputerguy Linux - Networking 11 02-08-2004 08:18 PM
Postfix and the aliases file MasterC Linux - General 5 01-16-2003 03:40 PM


All times are GMT -5. The time now is 03:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration