[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Postfix troubles



I decided to use Postfix and fetchmail to get email from my ISP's POP
server and to send using my ISP's smtp server. So far, fetchmail is
working the way I'd like it to.

I am having some problems with Postfix. I added the following lines to
/etc/postfix/main.cf after reading the Postfix FAQ esp. the Dialup
section:

relayhost = smtp.pathcom.com

delay_warning_time = 4

With this configuration change, I can send email to non-local address
without any problems. 

Also, I am able to send email to my local account (ie
ssahmed@localhost). However, I can't seem to send email to the root user
locally. Whenever I try, Postfix relays email for root@localhost to my
ISP's smtp server which bounces it back to me.

I tried the instructions in the Postfix FAQ in the section "Delivering
some users locally while sending mail as user@domain" and I got an a
message in one of the logfiles:

Jun 26 20:16:17 phoenix postfix/smtpd[790]: fatal: open database /etc/postfix/virtual.db: No such file or directory
Jun 26 20:16:18 phoenix postfix/master[244]: warning: process /usr/lib/postfix/smtpd pid 790 exit status 1
Jun 26 20:16:18 phoenix postfix/master[244]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling

So currently, email for root@localhost is going to my ISP's smtp server
which is wrong. This is the configuration I'd like:

(1) email to user@localhost is delivered locally to that user if that user
exists, otherwise it gets rejected

(2) email to user (no domain specified) is treated like (1)

My system is woody. Version of postfix installed is:

ii  postfix  0.0.20000531.SNAPSHOT-1  A high-performance mail transport agent

Thanks for any info.

-- 
Salman Ahmed
ssahmed AT pathcom DOT com

http://www.pathcom.com/~ssahmed
GnuPG Key fingerprint = A6DB 6C85 DE5A 33BB E873  E437 58B2 09CD 977B 900B




Reply to: