Re: postfix can't send and receive mails

2008-11-12 Thread tôba
On Wed, 12 Nov 2008 14:57:54 +0800 (CST) Stephen Liu [EMAIL PROTECTED] wrote: --- lee [EMAIL PROTECTED] wrote: On Tue, 11 Nov 2008 12:59:10 +0800 (CST) Stephen Liu [EMAIL PROTECTED] wrote: Nov 11 02:41:55 xen05 postfix/smtpd[3445]: NOQUEUE: reject: RCPT from

Re: postfix can't send and receive mails

2008-11-12 Thread lee
On Wed, 12 Nov 2008 11:00:13 +0300 tôba [EMAIL PROTECTED] wrote: So, I suggest you to put your FAI smtp server if you have home connection and your server do not have a fqdn. And he likely needs to set up for some kind of authentication against the host he wants to use as a relay so that his

Re: postfix can't send and receive mails

2008-11-12 Thread lee
On Wed, 12 Nov 2008 01:47:29 -0600 lee [EMAIL PROTECTED] wrote: http://www.postfix.org/virtual.8.html: virtual_mailbox_domains ($virtual_mailbox_maps) Postfix is final destination for the specified list of domains; mail is delivered via the $vir-

Re: postfix can't send and receive mails (SOLVED) - resend

2008-11-12 Thread lee
On Wed, 12 Nov 2008 21:25:24 +0800 (CST) Stephen Liu [EMAIL PROTECTED] wrote: building postfix virtual which is my goal. Hm, if you want to make it virtual only, I guess you would have to have an empty mydestinations and add all the domains for which mail is to be delivered locally (that is

Re: postfix can't send and receive mails (SOLVED) - resend

2008-11-12 Thread Stephen Liu
Hi lee, Your advice solves my pending problem. Thanks. I'm following this howto; http://flurdy.com/docs/postfix/edition5.html building postfix virtual which is my goal. This is my 5th round. All previous tests failed (following other howto NOT relating to this howto). On Wed, 12 Nov

Re: postfix can't send and receive mails (SOLVED) - resend

2008-11-12 Thread Stephen Liu
--- lee [EMAIL PROTECTED] wrote: On Wed, 12 Nov 2008 21:25:24 +0800 (CST) Stephen Liu [EMAIL PROTECTED] wrote: building postfix virtual which is my goal. Hm, if you want to make it virtual only, I guess you would have to have an empty mydestinations and add all the domains for which

Re: postfix can't send and receive mails (SOLVED)

2008-11-12 Thread Stephen Liu
Hi lee, On Wed, 12 Nov 2008 14:57:54 +0800 (CST) Stephen Liu [EMAIL PROTECTED] wrote: # grep relayhost /etc/postfix/main.cf relayhost = Ok, I guess that would mean that there are no hosts specified for which xen05 is allowed to relay mail. comment out that line

Re: postfix can't send and receive mails (SOLVED) - resend

2008-11-12 Thread lee
On Thu, 13 Nov 2008 00:15:07 +0800 (CST) Stephen Liu [EMAIL PROTECTED] wrote: I have the database maildb created Do you really need to use a database? It would be much easier if you could use a text file to list domains and users. Once it's works, you can still switch to using a database. I

Re: postfix can't send and receive mails

2008-11-12 Thread Stephen Liu
--- tôba [EMAIL PROTECTED] wrote: On Wed, 12 Nov 2008 14:57:54 +0800 (CST) Stephen Liu [EMAIL PROTECTED] wrote: --- lee [EMAIL PROTECTED] wrote: On Tue, 11 Nov 2008 12:59:10 +0800 (CST) Stephen Liu [EMAIL PROTECTED] wrote: Nov 11 02:41:55 xen05 postfix/smtpd[3445]:

Re: postfix can't send and receive mails

2008-11-12 Thread lee
If commenting out the line mydestination = $myhostname, localhost.$mydomain, localhost, satimis.com on main.cf all incoming mails are rejected. That is how it's supposed to be. You *only* need what is in virtual_domain_maps, with *correct* entries there, and an *empty* mydestinations. You

Re: postfix can't send and receive mails

2008-11-11 Thread Stephen Liu
--- lee [EMAIL PROTECTED] wrote: On Tue, 11 Nov 2008 12:59:10 +0800 (CST) Stephen Liu [EMAIL PROTECTED] wrote: Nov 11 02:41:55 xen05 postfix/smtpd[3445]: NOQUEUE: reject: RCPT from unknown[121.34.170.57]: 554 5.7.1 [EMAIL PROTECTED]: Relay access denied; from=[EMAIL PROTECTED]

Re: postfix can't send and receive mails

2008-11-11 Thread lee
On Wed, 12 Nov 2008 14:57:54 +0800 (CST) Stephen Liu [EMAIL PROTECTED] wrote: # grep relayhost /etc/postfix/main.cf relayhost = Ok, I guess that would mean that there are no hosts specified for which xen05 is allowed to relay mail. comment out that line 'mydestination';

Re: postfix can't send and receive mails

2008-11-10 Thread Rico Secada
On Mon, 10 Nov 2008 05:38:21 -0600 Ron Johnson [EMAIL PROTECTED] wrote: On 11/10/08 04:19, Stephen Liu wrote: Hi folks, Debian Etch Postfix can't send and receive mails. On running; # /etc/init.d/postfix check # tail /var/log/mail.log Nov 10 10:00:56 xen05

Re: postfix can't send and receive mails

2008-11-10 Thread Ron Johnson
On 11/10/08 07:00, Rico Secada wrote: On Mon, 10 Nov 2008 05:38:21 -0600 Ron Johnson [EMAIL PROTECTED] wrote: On 11/10/08 04:19, Stephen Liu wrote: Hi folks, [snip] Nov 10 10:00:56 xen05 amavis[3329]: Internal decoder for .tnef Nov 10 10:00:56 xen05 amavis[3329]: No decoder for .exe

Re: postfix can't send and receive mails

2008-11-10 Thread Stephen Liu
--- Ron Johnson [EMAIL PROTECTED] wrote: On 11/10/08 04:19, Stephen Liu wrote: Hi folks, Debian Etch Postfix can't send and receive mails. On running; # /etc/init.d/postfix check # tail /var/log/mail.log Nov 10 10:00:56 xen05 amavis[3329]: No decoder

Re: postfix can't send and receive mails

2008-11-10 Thread tôba
On Mon, 10 Nov 2008 21:22:02 +0800 (CST) Stephen Liu [EMAIL PROTECTED] wrote: --- Ron Johnson [EMAIL PROTECTED] wrote: On 11/10/08 04:19, Stephen Liu wrote: Hi folks, Debian Etch Postfix can't send and receive mails. On running; # /etc/init.d/postfix

Re: postfix can't send and receive mails

2008-11-10 Thread Stephen Liu
, delays=56/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused) Nov 10 13:11:52 xen05 postfix/smtpd[3006]: disconnect from localhost.localdomain[127.0.0.1] postfix still can't send/receive mails. ... connect to 127.0.0.1[127.0.0.1]: Connection

Re: postfix can't send and receive mails

2008-11-10 Thread tôba
localhost.localdomain[127.0.0.1] postfix still can't send/receive mails. ... connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024) .. Why port 10024 comes into play? Oh yes, that's normal because of amavis. See your main.cf file. Tha happens when amavis is dead

Re: postfix can't send and receive mails

2008-11-10 Thread Stephen Liu
--- tôba [EMAIL PROTECTED] wrote: - snip - # find / -name amavisd-new /usr/share/doc/amavisd-new /usr/share/lintian/overrides/amavisd-new /usr/sbin/amavisd-new /etc/cron.daily/amavisd-new /etc/cron.d/amavisd-new /etc/logcheck/ignore.d.workstation/amavisd-new

Re: postfix can't send and receive mails

2008-11-10 Thread Stephen Liu
--- tôba [EMAIL PROTECTED] wrote: - snip - Oh yes, that's normal because of amavis. See your main.cf file. Tha happens when amavis is dead or hangs. I suggest a /etc/init.d/amavisd-new start Hi Tôba, Thanks for your advice. I don't have

postfix can't send and receive mails

2008-11-10 Thread Stephen Liu
Hi folks, Debian Etch Postfix can't send and receive mails. On running; # /etc/init.d/postfix check # tail /var/log/mail.log Nov 10 10:00:56 xen05 amavis[3329]: No decoder for .arj tried: arj, unarj Nov 10 10:00:56 xen05 amavis[3329]: No decoder for .arc tried: nomarch, arc

Re: postfix can't send and receive mails

2008-11-10 Thread Ron Johnson
On 11/10/08 04:19, Stephen Liu wrote: Hi folks, Debian Etch Postfix can't send and receive mails. On running; # /etc/init.d/postfix check # tail /var/log/mail.log Nov 10 10:00:56 xen05 amavis[3329]: No decoder for .arj tried: arj, unarj Nov 10 10:00:56 xen05 amavis[3329

Re: postfix can't send and receive mails

2008-11-10 Thread M.Lewis
Ron Johnson wrote: On 11/10/08 07:00, Rico Secada wrote: On Mon, 10 Nov 2008 05:38:21 -0600 Ron Johnson [EMAIL PROTECTED] wrote: On 11/10/08 04:19, Stephen Liu wrote: Hi folks, [snip] Nov 10 10:00:56 xen05 amavis[3329]: Internal decoder for .tnef Nov 10 10:00:56 xen05 amavis[3329]: No

Re: postfix can't send and receive mails

2008-11-10 Thread Ron Johnson
On 11/10/08 13:33, M.Lewis wrote: Ron Johnson wrote: On 11/10/08 07:00, Rico Secada wrote: On Mon, 10 Nov 2008 05:38:21 -0600 Ron Johnson [EMAIL PROTECTED] wrote: On 11/10/08 04:19, Stephen Liu wrote: Hi folks, [snip] Nov 10 10:00:56 xen05 amavis[3329]: Internal decoder for .tnef Nov 10

Re: postfix can't send and receive mails

2008-11-10 Thread tôba
On Tue, 11 Nov 2008 00:38:55 +0800 (CST) Stephen Liu [EMAIL PROTECTED] wrote: --- tôba [EMAIL PROTECTED] wrote: - snip - # find / -name amavisd-new /usr/share/doc/amavisd-new /usr/share/lintian/overrides/amavisd-new /usr/sbin/amavisd-new /etc/cron.daily/amavisd-new

Re: postfix can't send and receive mails

2008-11-10 Thread Stephen Liu
--- tôba [EMAIL PROTECTED] wrote: - snip - But mail sent on Gmail to [EMAIL PROTECTED] has been rejected. # tail /var/log/mail.log Nov 10 16:35:16 xen05 postfix/cleanup[2898]: 490F07829B: message-id=[EMAIL PROTECTED] Nov 10 16:35:16 xen05 postfix/smtpd[2896]: disconnect from

Re: postfix can't send and receive mails

2008-11-10 Thread lee
On Tue, 11 Nov 2008 12:59:10 +0800 (CST) Stephen Liu [EMAIL PROTECTED] wrote: Nov 11 02:41:55 xen05 postfix/smtpd[3445]: NOQUEUE: reject: RCPT from unknown[121.34.170.57]: 554 5.7.1 [EMAIL PROTECTED]: Relay access denied; from=[EMAIL PROTECTED] to=[EMAIL PROTECTED] proto=ESMTP

Re: postfix can't send and receive mails

2008-11-10 Thread lee
On Tue, 11 Nov 2008 00:09:03 -0600 lee [EMAIL PROTECTED] wrote: BTW, if you think exim, a domain --- as in: to relay|accept mail for --- is always a FQDN (letting aside, maybe, localhost). That is important to understand, and if this is any different with postfix, I'd be curious to know how.