HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Virtual User and Domain wit POSTFIX,etc using FEDORA 5 (http://www.howtoforge.com/forums/showthread.php?t=6895)

estokwa 16th September 2006 09:39

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.

estokwa 16th September 2006 09:45

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..

falko 17th September 2006 14:39

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?

estokwa 17th September 2006 19:40

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?

falko 18th September 2006 13:08

What's in /etc/hosts?

estokwa 18th September 2006 13:21

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

falko 19th September 2006 16:08

Run
Code:

postconf -e 'myorigin = main1.advancedlogicdesign.net'
and restart Postfix.

estokwa 20th September 2006 05:31

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

falko 21st September 2006 15:03

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?

estokwa 24th September 2006 23:25

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


All times are GMT +2. The time now is 03:33.

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