
1st March 2009, 14:00
|
|
Junior Member
|
|
Join Date: Feb 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail Ubuntu 8.10
Hi all,
I am trying to set up postfix mail as per the Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.10) tutorial.
I have the following error
warning: do not list domain xxxx.com in BOTH virtual_alias_domain and virtual_mailbox_domains.
This is what it sends back in email messages
This is the mail system at host daijisuanji.oxnee.com.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<slohning@oxnee.com> (expanded from <stephen.lohning@oxnee.com>): mail for
192.168.1.150 loops back to myself
Any one go any ideas what I am doing wrong?
|

2nd March 2009, 13:54
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
What's in your main.cf?
|

3rd March 2009, 12:56
|
|
Junior Member
|
|
Join Date: Feb 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
main.cf
Hi all,
I have posted the result of postconf -n
hope you can see my mistake, thanks
------------------------------------------------------------------------------
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = amavis:[127.0.0.1]:10024
html_directory = /usr/share/doc/postfix/html
inet_interfaces = all
inet_protocols = all
mailbox_command =
mailbox_size_limit = 0
mydestination = localhost, localhost.localdomain
mydomain = oxnee.com
myhostname = daijisuanji.oxnee.com
mynetworks = 127.0.0.0/8,192.168.1.0/24
myorigin = /etc/mailname
proxy_interfaces = 220.245.128.252
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
readme_directory = /usr/share/doc/postfix
receive_override_options = no_address_mappings
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_client_restrictions = permit_mynetworks,
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_limit = 51200000
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_minimum_uid = 5000
virtual_overquota_bounce = yes
virtual_transport = virtual
virtual_uid_maps = static:5000
|

4th March 2009, 13:29
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Looks ok. But why do you have
proxy_interfaces = 220.245.128.252?
|

5th March 2009, 04:51
|
|
Junior Member
|
|
Join Date: Feb 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
proxy_interfaces
Hi Falko,
I though from reading the documentation that it may require this as the mail server is sitting behind a router which is natting the real IP address.
Internet -->220.245.128.252[router ]---> 192.168.1.150
|

5th March 2009, 19:08
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
No, please disable that line and try again.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.10)
|
mrtot |
HOWTO-Related Questions |
26 |
29th December 2008 12:36 |
|
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.10)
|
mathie |
HOWTO-Related Questions |
3 |
14th December 2008 15:02 |
|
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.04
|
superman |
HOWTO-Related Questions |
3 |
23rd October 2008 09:19 |
|
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail Ubuntu 8.04
|
paulodani |
HOWTO-Related Questions |
7 |
4th June 2008 00:46 |
|
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.04
|
mtzcesar |
HOWTO-Related Questions |
3 |
1st June 2008 10:57 |
All times are GMT +2. The time now is 04:23.
|
|
Recent comments
22 hours 35 min ago
1 day 5 hours ago
1 day 9 hours ago
1 day 10 hours ago
1 day 19 hours ago
2 days 4 hours ago
2 days 5 hours ago
2 days 9 hours ago
2 days 13 hours ago
2 days 13 hours ago