Ive been trying to configure my postfix with virtual users, but I have a problem, with my port 25 on the client nothing works, so, if i change /etc/postfix/master.cf and i change
smtp inet n - - - - smtpd
26 inet n - - - - smpt , it works, read the mails I sent before set that port and I can send mails, but later, if I send more mails, it just dont get them... but I still can send.
I tried with the port 587 but I still have that problem. I really dont know whats wrong.
I created a mx register that points to mydomain.com (instead m.mydomain.com or mail.mydomain.com)
When I test the configuration on my client (Outlook) it doesnt show any errors, like if would be reading all, but I guess when I change the port the connection is being refused
Here is what i set on my postfix/main.cf
myhostname = mydomain.com alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = relayhost = mynetworks = 127.0.0.0/8 192.168.1.0/24 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all html_directory = /usr/share/doc/postfix/html 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_sasl_authenticated_header = yes smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf virtual_create_maildirsize = yes virtual_maildir_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_canon$ content_filter = amavis:[127.0.0.1]:10024 receive_override_options = no_address_mappings
I checked my ports 587 and 110 and they both return they are opened.
Any idea about this issue?
I moved to the port 25 again, it receives very good.. but cant send, im sending on webmail, makes me think its a policy of isp (due port 25) still, when I change the port to 587 sends but doesnt receive (which has no sense, port 110 to download should be working).