View Single Post
  #13  
Old 22nd June 2007, 14:53
nox171 nox171 is offline
Member
 
Join Date: Dec 2006
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm sorry but for privacy reasons I can't post here the content of /etc/postfix/local-host-names and /etc/postfix/virtusertable
Maybe if you tell me what I have to look for...

This is the output for

postconf -n:

Code:
server1:~ # postconf -n
alias_maps = hash:/etc/aliases
biff = no
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
disable_mime_output_conversion = no
html_directory = /usr/share/doc/packages/postfix/html
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 0
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = /etc/postfix/local-host-names
mydomain = myhosts.com
myhostname = server1.$mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relayhost =
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = no
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_relay_domains
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
strict_8bitmime = no
strict_rfc821_envelopes = no
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
Of course there is an account for not_info@hosteddomain.com on the receiving mail server but, as I can understand, postfix just looks inside without trying to send the email. It thinks to be the mailserver. It looks for the user and cannot find it. So I, as a postmaster, receive the email of not delivery report with "user unknow" as error.

Making a practical example:

this is the shop address: shop.examplegift.com
shop owner email address: bookings.examplegift.com
client1 email address (generic): client1@genericmail.com
clent2 email address (same company): client2@examplegift.com


Case 1:
Someone with a generic email address (client1) registers himself on the OSCommerce shop.
When he purchases something there are two emails sent. One email is sent to the shop owner and the other to the client.
Mail to the owner: OK (since I've added the user on ISPConfig - see previous post)
Mail to client1: OK

Case 2:
Someone from the same shop's company, or someone else for whom i'm hosting the website on the same server, purchases anything this is what happens:

Mail to owner: OK
Mail to client2: postmaster receives the NDR (user unknow)


I hope that the picture of the situation is clearer now.
This is really odd and for me, not a good linux user , it is very difficult to fix something like that.

Thanks

Last edited by nox171; 24th June 2007 at 00:16.
Reply With Quote