View Single Post
  #1  
Old 6th December 2007, 13:20
Merrigan Merrigan is offline
Junior Member
 
Join Date: Jun 2006
Location: Pretoria
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Question Virtual Users And Domains With Postfix, Courier And MySQL (Ubuntu 7.10)

HI All,

I have been following this HOWTO for the better part of my day.

Everything went perfectly according to the howto, except that it could not log into the MySQL server. I changed it all - and it seems to be working more than just a little bit perfectly now.

The Problem is the following:

I am unable to send mail to any local user on the machine itself - Thunderbird reports no errors, but my mail log spits out the following:

Code:
Dec  6 12:30:51 ubuntuer postfix/smtpd[4894]: connect from unknown[192.168.0.15]
Dec  6 12:30:51 ubuntuer postfix/smtpd[4894]: DA2A21F36A9: client=unknown[192.168.0.15], sasl_method=PLAIN, sasl_username=merrigan@lewendewoord.co.za
Dec  6 12:30:51 ubuntuer postfix/cleanup[4898]: DA2A21F36A9: message-id=<4757CFBE.5030005@lewendewoord.co.za>
Dec  6 12:30:51 ubuntuer postfix/qmgr[4657]: DA2A21F36A9: from=<merrigan@lewendewoord.co.za>, size=544, nrcpt=2 (queue active)
Dec  6 12:30:52 ubuntuer postfix/smtpd[4894]: disconnect from unknown[192.168.0.15]
Dec  6 12:30:52 ubuntuer postfix/smtpd[4901]: connect from localhost[127.0.0.1]
Dec  6 12:30:52 ubuntuer postfix/smtpd[4901]: 1179F1F36AA: client=localhost[127.0.0.1]
Dec  6 12:30:52 ubuntuer postfix/cleanup[4898]: 1179F1F36AA: message-id=<4757CFBE.5030005@lewendewoord.co.za>
Dec  6 12:30:52 ubuntuer postfix/qmgr[4657]: 1179F1F36AA: from=<merrigan@lewendewoord.co.za>, size=896, nrcpt=2 (queue active)
Dec  6 12:30:52 ubuntuer postfix/trivial-rewrite[4914]: warning: do not list domain lewendewoord.co.za in BOTH mydestination and virtual_mailbox_domains
Dec  6 12:30:52 ubuntuer postfix/trivial-rewrite[4914]: warning: do not list domain lewendewoord.co.za in BOTH mydestination and virtual_mailbox_domains
Dec  6 12:30:52 ubuntuer postfix/local[4917]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Dec  6 12:30:52 ubuntuer postfix/smtpd[4901]: disconnect from localhost[127.0.0.1]
Dec  6 12:30:52 ubuntuer amavis[4021]: (04021-05) Passed CLEAN, LOCAL [192.168.0.15] [192.168.0.15] <merrigan@lewendewoord.co.za> -> <merrigan@lewendewoord.co.za>,<wimmel@lewendewoord.co.za>, Message-ID: <4757CFBE.5030005@lewendewoord.co.za>, mail_id: DbZm8+wFUp4E, Hits: -, queued_as: 1179F1F36AA, 205 ms
Dec  6 12:30:52 ubuntuer postfix/smtp[4899]: DA2A21F36A9: to=<merrigan@lewendewoord.co.za>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.29, delays=0.08/0/0.01/0.21, dsn=2.6.0, status=sent (250 2.6.0 Ok, id=04021-05, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 1179F1F36AA)
Dec  6 12:30:52 ubuntuer postfix/smtp[4899]: DA2A21F36A9: to=<wimmel@lewendewoord.co.za>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.29, delays=0.08/0/0.01/0.21, dsn=2.6.0, status=sent (250 2.6.0 Ok, id=04021-05, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 1179F1F36AA)
Dec  6 12:30:52 ubuntuer postfix/qmgr[4657]: DA2A21F36A9: removed
Dec  6 12:30:52 ubuntuer postfix/local[4902]: 1179F1F36AA: to=<merrigan@lewendewoord.co.za>, relay=local, delay=0.12, delays=0.04/0/0/0.07, dsn=5.1.1, status=bounced (unknown user: "merrigan")
Dec  6 12:30:53 ubuntuer postfix/local[4917]: 1179F1F36AA: to=<wimmel@lewendewoord.co.za>, relay=local, delay=1.3, delays=0.04/0.02/0/1.2, dsn=5.1.1, status=bounced (unknown user: "wimmel")
Dec  6 12:30:53 ubuntuer postfix/cleanup[4898]: 558771F36A9: message-id=<20071206103053.558771F36A9@lewendewoord.co.za>
Dec  6 12:30:53 ubuntuer postfix/qmgr[4657]: 558771F36A9: from=<>, size=2953, nrcpt=1 (queue active)
Dec  6 12:30:53 ubuntuer postfix/trivial-rewrite[4914]: warning: do not list domain lewendewoord.co.za in BOTH mydestination and virtual_mailbox_domains
Dec  6 12:30:53 ubuntuer postfix/bounce[4903]: 1179F1F36AA: sender non-delivery notification: 558771F36A9
Dec  6 12:30:53 ubuntuer postfix/qmgr[4657]: 1179F1F36AA: removed
Dec  6 12:30:53 ubuntuer postfix/local[4902]: 558771F36A9: to=<merrigan@lewendewoord.co.za>, relay=local, delay=0.04, delays=0.02/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "merrigan")
Dec  6 12:30:53 ubuntuer postfix/qmgr[4657]: 558771F36A9: removed
This server is only for testing the HOWTO, and is luckily not the production one.

Also - I am unable to send any mail to any user outside of the domain, which is weird as well - since I set the transport table with the following:

Code:
+--------------------+------------------------------+
| domain             | transport                    |
+--------------------+------------------------------+
| lewendewoord.co.za | :                            | 
| *                  | smtp:mail.lewendewoord.co.za | 
+--------------------+------------------------------+
Any help would be much appreciated?

Thanx a LOT!
__________________
-- M
The Silent Observer
Reply With Quote
Sponsored Links