
16th September 2006, 08:39
|
|
Junior Member
|
|
Join Date: Aug 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

16th September 2006, 08:45
|
|
Junior Member
|
|
Join Date: Aug 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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..
|

17th September 2006, 13:39
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
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?
|

17th September 2006, 18:40
|
|
Junior Member
|
|
Join Date: Aug 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|

18th September 2006, 12: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
|
|
What's in /etc/hosts?
|

18th September 2006, 12:21
|
|
Junior Member
|
|
Join Date: Aug 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

19th September 2006, 15: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
|
|
Run
Code:
postconf -e 'myorigin = main1.advancedlogicdesign.net'
and restart Postfix.
|

20th September 2006, 04:31
|
|
Junior Member
|
|
Join Date: Aug 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
hi falko,
done this
Quote:
Run
Code:
postconf -e 'myorigin = main1.advancedlogicdesign.net'
and restart Postfi
|
but nothing happen, loop back to myself still on my log. is there any other factor do i need to consider?
thanks and best regards
|

21st September 2006, 14:03
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
|
Originally Posted by estokwa
but nothing happen, loop back to myself still on my log.
|
What's the exact error message?
Do you have a hosts file in /var/spool/postfix/etc?
|

24th September 2006, 22:25
|
|
Junior Member
|
|
Join Date: Aug 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
hi falko, i've been absent for a while in this forum,
Quote:
|
What's the exact error message?
|
usually this is the erro on my log
Quote:
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
|
Quote:
|
Do you have a hosts file in /var/spool/postfix/etc?
|
i don't have any file on that directory......
thanks and regards
|
| 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
|
|
|
All times are GMT +2. The time now is 11:32.
|
|
Recent comments
2 days 2 hours ago
2 days 11 hours ago
2 days 14 hours ago
2 days 15 hours ago
2 days 16 hours ago
2 days 18 hours ago
2 days 19 hours ago
2 days 21 hours ago
3 days 13 hours ago
3 days 13 hours ago