Heck, i've been trying to figure this out for 2 days now....
I managed to get working most of parts of my mail server...
But there's 2 issues.... going to ask only 1 for now...
I've set up postfix... and it works until I try to use virtual accounts.
sql lookup seams to work fine {well virtual aliases work}
but the problem is when i try to send mail to virtual user mail doesn't get delivered
I don't understand how to make postfix aware of virtual accouns....
/var/log/maillog
nothing show in /var/log/messages
EDIT
I've read a ton of info... I even tried to read howto in German. lol.
I managed to get working most of parts of my mail server...
But there's 2 issues.... going to ask only 1 for now...
I've set up postfix... and it works until I try to use virtual accounts.
sql lookup seams to work fine {well virtual aliases work}
but the problem is when i try to send mail to virtual user mail doesn't get delivered
Code:
# mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
8621B895D 267 Fri Jan 29 21:55:56 root@bsdroot.lv
(unknown user: "aldis")
aldis@bsdroot.lv
-- 0 Kbytes in 1 Request.
I don't understand how to make postfix aware of virtual accouns....
/var/log/maillog
Code:
Jan 29 21:55:17 rootbsd postfix/master[18296]: terminating on signal 15
Jan 29 21:55:17 rootbsd postfix/postfix-script[18541]: starting the Postfix mail system
Jan 29 21:55:17 rootbsd postfix/master[18542]: daemon started -- version 2.6.5, configuration /usr/local/etc/postfix
Jan 29 21:55:17 rootbsd postfix/qmgr[18544]: 74C7288F4: from=<killasmurf86@gmail.com>, size=2949, nrcpt=1 (queue active)
Jan 29 21:55:17 rootbsd postfix/local[18547]: 74C7288F4: to=<aldis@bsdroot.lv>, orig_to=<root@bsdroot.lv>, relay=local, delay=328,
delays=328/0.02/0/0.03, dsn=4.1.1, status=SOFTBOUNCE (unknown user: "aldis")
Jan 29 21:55:22 rootbsd dovecot: dovecot: Killed with signal 15 (by pid=0 uid=0 code=)
Jan 29 21:55:22 rootbsd dovecot: Dovecot v1.2.10 starting up
Jan 29 21:55:22 rootbsd dovecot: auth(default): pgsql: Connected to mail
Jan 29 21:55:43 rootbsd postfix/postsuper[18592]: 7123C8886: removed
Jan 29 21:55:43 rootbsd postfix/postsuper[18592]: 74C7288F4: removed
Jan 29 21:55:43 rootbsd postfix/postsuper[18592]: 68C2C8885: removed
Jan 29 21:55:43 rootbsd postfix/postsuper[18592]: Deleted: 3 messages
Jan 29 21:55:56 rootbsd postfix/pickup[18543]: 8621B895D: uid=0 from=<root>
Jan 29 21:55:56 rootbsd postfix/cleanup[18599]: 8621B895D: message-id=<20100129195556.8621B895D@bsdroot.lv>
Jan 29 21:55:56 rootbsd postfix/qmgr[18544]: 8621B895D: from=<root@bsdroot.lv>, size=267, nrcpt=1 (queue active)
Jan 29 21:55:56 rootbsd postfix/local[18547]: 8621B895D: to=<aldis@bsdroot.lv>, orig_to=<root>, relay=local, delay=0.07, delays=0.06/0/0/0.01,
dsn=4.1.1, status=SOFTBOUNCE (unknown user: "aldis")
Jan 29 22:05:17 rootbsd postfix/qmgr[18544]: 8621B895D: from=<root@bsdroot.lv>, size=267, nrcpt=1 (queue active)
Jan 29 22:05:17 rootbsd postfix/local[18672]: 8621B895D: to=<aldis@bsdroot.lv>, orig_to=<root>, relay=local, delay=561, delays=561/0.02
/0/0.03, dsn=4.1.1, status=SOFTBOUNCE (unknown user: "aldis")
Jan 29 22:12:08 rootbsd postfix/postfix-script[18740]: stopping the Postfix mail system
Jan 29 22:12:08 rootbsd postfix/master[18542]: terminating on signal 15
Jan 29 22:12:08 rootbsd postfix/postfix-script[18814]: starting the Postfix mail system
Jan 29 22:12:08 rootbsd postfix/master[18815]: daemon started -- version 2.6.5, configuration /usr/local/etc/postfix
nothing show in /var/log/messages
EDIT
I've read a ton of info... I even tried to read howto in German. lol.