LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 03-06-2007, 05:04 AM   #1
Teukka
LQ Newbie
 
Registered: Aug 2003
Location: Finland
Distribution: Debian, Fedora, FreeBSD, OpenBSD
Posts: 22

Rep: Reputation: 15
Postfix virtual accounts + shell account


Hi

Postfix is working just fine, all mailboxes are virtual but now I need to receive mail to certain local unix account because I need to set up virtual vacation module:

"Virtual Vacation is done with a local shell account that can receive email. The email is then handled by a Perl script which sends the vacation message back to the sender."

This is the virtual part of postfix main.cf file

virtual_mailbox_base = /home/virtual
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minumum_uid = 1001
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 104857600
virtual_gid_maps = static:1001
virtual_transport = virtual
virtual_uid_maps = static:1001
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = boo boo.
virtual_overquota_bounce = yes
transport_maps= mysql:/etc/postfix/mysql_transport_maps.cf
relay_domains = mysql:/etc/postfix/mysql_relay_domains_maps.cf


So how can I make this happen on postfix (main.cf?) I have ALL my domains etc. on MySQL database and atm my local users can't receive any mail, there has been no need for that before this...

Anybody any idea?

Last edited by Teukka; 03-07-2007 at 04:22 AM.
 
Old 03-17-2007, 07:46 PM   #2
Teukka
LQ Newbie
 
Registered: Aug 2003
Location: Finland
Distribution: Debian, Fedora, FreeBSD, OpenBSD
Posts: 22

Original Poster
Rep: Reputation: 15
anybody any help... im frustrating, because i dont get that thing :/
 
Old 04-02-2007, 07:32 AM   #3
Teukka
LQ Newbie
 
Registered: Aug 2003
Location: Finland
Distribution: Debian, Fedora, FreeBSD, OpenBSD
Posts: 22

Original Poster
Rep: Reputation: 15
nobody has postfix installed with virtual mailboxes and vacation module working??
 
Old 04-02-2007, 01:55 PM   #4
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
I had a very similar scenario working a while back where the message was sent to the user's INBOX and then to another mailbox where a pipe would send the vacation message. It would do it once per day and for the first message from the sender. You can get a sample from the Postfix State-of-the-Art Book (google it). However, this way is very clumpsy and slow, but it's the fastest alternative with virtual accounts and Dovecot. You can use procmail with system accounts, but I don't like system accounts; I'd rather have a blackbox setup. Other MDA's have built in filtering, such as Courier, I think Qmail also. But the best one is Cyrus SIEVE - that's what I use now. It is truly the best mail filtering server out there. However, setting up Cyrus has a very steep learning curve; it's not as easy to setup as Dovecot and others; but the flexibility you get is tremendous - many commercial and non-commercial Email systems are based on Cyrus.
 
  


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
Multi-Server account creation or Domain accounts antony.booth Linux - Enterprise 5 01-17-2007 05:58 PM
Postfix -> Virtual Email Accounts cccc Linux - General 6 09-22-2006 04:04 AM
VIrtual accounts nderitualex Linux - Newbie 1 03-21-2005 04:39 AM
Virtual accounts nderitualex Linux - General 1 03-21-2005 04:04 AM
Virtual accounts in Postfix technochef Linux - Software 2 10-25-2004 05:12 PM


All times are GMT -5. The time now is 07:25 PM.

Main Menu
Advertisement
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