This is a discussion on postfix relay not allowed (again) within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; please take a look a this asap i locked mail for my office... I just completed installation of Postfix and ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
please take a look a this asap
i locked mail for my office... I just completed installation of Postfix and Courier using MySQL, following isp style config with virtual user I'm happy every thing seems ok, i configured it as mx for my domain i can receive mails from outside and from local users every pop3 client can't send mail outside every time is relay not allowed the postfix server has 2 ip address 1) lan 192.168.1.11 1) wan public & static xx.yy.xxx.yyy this is my postfix configuration alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes config_directory = /etc/postfix inet_interfaces = all mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 myhostname = mail.bridgecomm.it mynetworks = 127.0.0.0/8 myorigin = /etc/mailname 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 recipient_delimiter = + relayhost = smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_tls_cert_file = /etc/postfix/smtpd.cert smtpd_tls_key_file = /etc/postfix/smtpd.key smtpd_tls_session_cache_database = btree:${queue_directory}/ smtpd_scache smtpd_use_tls = yes transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf virtual_alias_domains = virtual_alias_maps = proxy:mysql:/etc/postfix/mysql- virtual_forwardings.cf, mysql:/etc/postfix/mysql- virtual_email2email.cf virtual_gid_maps = static:5000 virtual_mailbox_base = /home/vmail virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql- virtual_domains.cf virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql- virtual_mailboxes.cf virtual_uid_maps = static:5000 ***** imho default configuration of mta should deliver mail outside for it's users... it should be not 'relay' really thanks for any help. |
|
|||
|
On Mon, 18 Feb 2008 14:16:36 -0800 (PST)
adriano.ghezzi@gmail.com wrote: > solved! > simply postfix don't permit to be used as smtp server when you are > outside from your lan > :-< Not by default, which is a good thing. You need to tell Postfix what is acceptable to relay and which methods to use to tell the difference. Chris |
|
|||
|
On 18 feb, 18:16, adriano.ghe...@gmail.com wrote:
> solved! > simply postfix don't permit to be used as smtp server when you are > outside from your lan > :-< Hi, Adriano, what did you change in your config.?, it seems i´m having the same problem. Thanks. |
|
|||
|
On Mar 26, 6:09 am, jjcs...@gmail.com wrote:
> On 18 feb, 18:16, adriano.ghe...@gmail.com wrote: > > > solved! > > simply postfix don't permit to be used as smtp server when you are > > outside from your lan > > :-< > > Hi, Adriano, what did you change in your config.?, it seems i´m having > the same problem. > > Thanks. The list of permitted IPs is stored in the mynetworks setting. mynetworks = 127.0.0.0/8 If you want others to be able to relay, you need to add their IP / network to that list. Example: mynetworks = 127.0.0.0/8, 10.0.0.0/8,192.168.0.0/16,169.254.0.0/16 More info on: http://www.postfix.org/basic.html For more information: http://www.postfix.org/basic.html |
![]() |
| Thread Tools | |
| Display Modes | |
|
|