Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th September 2006, 08:39
estokwa estokwa is offline
Junior Member
 
Join Date: Aug 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default Virtual User and Domain wit POSTFIX,etc using FEDORA 5

i need some help with my mail server setup "loopback to my self" in particular, i use your how to set up and rigth now i can't move forward, because of the said problem. i browsed every thread in this forum but still i can't solve my problem.

here is my mail log:
Sep 15 23:33:23 main1 postfix/smtpd[23670]: connect from unknown[192.168.1.1]
Sep 15 23:33:23 main1 postfix/smtp[23683]: warning: host main1.advancedlogicdesign.net[75.15.235.254] greeted me with my own hostname main1.advancedlogicdesign.net
Sep 15 23:33:23 main1 postfix/smtp[23683]: warning: host main1.advancedlogicdesign.net[75.15.235.254] replied to HELO/EHLO with my own hostname main1.advancedlogicdesign.net
Sep 15 23:33:23 main1 postfix/smtp[23683]: 27F871C80108: to=<tech@advancedlogicdesign.net>, relay=main1.advancedlogicdesign.net[75.15.235.254], delay=0, status=bounced (mail for main1.advancedlogicdesign.net loops back to myself)
Sep 15 23:33:23 main1 postfix/cleanup[23675]: 6CBB71C80109: message-id=<20060916063323.6CBB71C80109@main1.advancedlogi cdesign.net>
Sep 15 23:33:23 main1 postfix/smtpd[23670]: disconnect from unknown[192.168.1.1]
Sep 15 23:33:23 main1 postfix/qmgr[23627]: 6CBB71C80109: from=<>, size=4097, nrcpt=1 (queue active)
Sep 15 23:33:23 main1 postfix/qmgr[23627]: 27F871C80108: removed
Sep 15 23:33:24 main1 postfix/smtp[23683]: 6CBB71C80109: to=<estokwahimenez@yahoo.com>, relay=smtp.prodigy.net[207.115.20.26], delay=1, status=sent (250 2.0.0 k8G6Rm8B031354 Message accepted for delivery)
Sep 15 23:33:24 main1 postfix/qmgr[23627]: 6CBB71C80109: removed





i been working with this problem for couple of days now.... please help me.
Reply With Quote
Sponsored Links
  #2  
Old 16th September 2006, 08:45
estokwa estokwa is offline
Junior Member
 
Join Date: Aug 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

and here is my main.cf
______
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
mydestination = main1.advancedlogicdesign.net, localhost, localhost.localdomain
unknown_local_recipient_reject_code = 550
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.2.8/samples
myhostname = main1.advancedlogicdesign.net
mynetworks = 127.0.0.0/8
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
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
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
relayhost = smtp.sbcglobal.net

-----
thanks again and more power..
Reply With Quote
  #3  
Old 17th September 2006, 13:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

The mydestination line looks ok in main.cf. Is main1.advancedlogicdesign.net or advancedlogicdesign.net one of the domains you have in the domains table in the MySQL database?
What's your server's public IP address?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 17th September 2006, 18:40
estokwa estokwa is offline
Junior Member
 
Join Date: Aug 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi falko,
the domain on my db is advancedlogicdesign.net and my public ip is 75.15.235.254 which is dynamic.

i am just wondering about this lines on my log
Sep 15 23:33:23 main1 postfix/smtpd[23670]: connect from unknown[192.168.1.1]
Sep 15 23:33:23 main1 postfix/smtp[23683]: warning: host main1.advancedlogicdesign.net[75.15.235.254] greeted me with my own hostname main1.advancedlogicdesign.net
Sep 15 23:33:23 main1 postfix/smtp[23683]: warning: host main1.advancedlogicdesign.net[75.15.235.254] replied to HELO/EHLO with my own hostname main1.advancedlogicdesign.net
Sep 15 23:33:23 main1 postfix/smtp[23683]: 27F871C80108:
.........
Sep 15 23:33:23 main1 postfix/smtpd[23670]: disconnect from unknown[192.168.1.1]

are this normal?
Reply With Quote
  #5  
Old 18th September 2006, 12:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

What's in /etc/hosts?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 18th September 2006, 12:21
estokwa estokwa is offline
Junior Member
 
Join Date: Aug 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi falko,
this is the only info in my /etc/hosts

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.1.111 main1.advancedlogicdesign.net main1
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig creates virtual domain even when the mail server is external mxc General 1 25th July 2006 12:32
user name conflicts - append domain? mxc Installation/Configuration 1 4th May 2006 07:24
Another Problem: Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP bluegrass Installation/Configuration 24 8th March 2006 01:41
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs pontifex HOWTO-Related Questions 2 26th October 2005 17:54
postfix config jmroth Installation/Configuration 6 18th September 2005 15:58


All times are GMT +2. The time now is 07:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.