[swilt...@your-ab6cd29f8e ~]$ telnet fakessh.eu 2525 Trying 87.98.186.232... Connected to fakessh.eu (87.98.186.232). Escape character is '^]'. 220 r13151.ovh.net ESMTP Postfix helo fakessh.eu 250 r13151.ovh.net mail from:<john.swilt...@wanadoo.fr> 250 2.1.0 Ok rcpt to:<fake...@fakessh.eu> 250 2.1.5 Ok data 354 End data with <CR><LF>.<CR><LF> test . 250 2.0.0 Ok: queued as 54375180C7 quit 221 2.0.0 Bye Connection closed by foreign host. [swilt...@your-ab6cd29f8e ~]$
Can I send mail via fakessh.eu but I can not be the sender of the mail and I must be able to send mail to any address if the sender is me [r...@r13151 ~]# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 2 header_checks = regexp:/etc/postfix/header_checks home_mailbox = Maildir/ html_directory = no local_recipient_maps = unix:passwd.byname $alias_maps mail_spool_directory = /var/spool/mail mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain mydomain = fakessh.eu mynetworks = 192.168.0.0/24, 127.0.0.0/8 ,87.98.186.232 myorigin = $mydomain newaliases_path = /usr/bin/newaliases.postfix readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES relay_domains = sample_directory = /usr/share/doc/postfix-2.3.3/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtpd_client_restrictions = permit_mynetworks smtpd_recipient_restrictions = permit_mynetworks check_relay_domains reject_unauth_destination permit_inet_interfaces permit_sasl_authenticated permit_mx_backup smtpd_sasl_auth_enable = yes unknown_local_recipient_reject_code = 550 virtual_alias_domains = fakessh.eu virtual_alias_maps = hash:/etc/postfix/virtual [r...@r13151 ~]# sorry for the cross post Le lundi 05 janvier 2009 à 22:46 +0100, swilting a écrit : > swilting wrote: > > I know my question may sound silly > > I well send mails to my address but I can not do it when the domain > name > is different > > > > i top-post sorry > i newbie > > postconf -n > [r...@r13151 ~]# postconf -n > alias_database = hash:/etc/aliases > alias_maps = hash:/etc/aliases > command_directory = /usr/sbin > config_directory = /etc/postfix > daemon_directory = /usr/libexec/postfix > debug_peer_level = 2 > header_checks = regexp:/etc/postfix/header_checks > home_mailbox = Maildir/ > html_directory = no > local_recipient_maps = unix:passwd.byname $alias_maps > mail_spool_directory = /var/spool/mail > mailq_path = /usr/bin/mailq.postfix > manpage_directory = /usr/share/man > mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain > mydomain = fakessh.eu > mynetworks = 192.168.0.0/24, 127.0.0.0/8 ,87.98.186.232 > myorigin = $mydomain > newaliases_path = /usr/bin/newaliases.postfix > readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES > relay_domains = $mydestination > sample_directory = /usr/share/doc/postfix-2.3.3/samples > sendmail_path = /usr/sbin/sendmail.postfix > setgid_group = postdrop > smtpd_client_restrictions = permit_mynetworks > smtpd_data_restrictions = reject_unauth_pipelining > smtpd_end_of_data_restrictions = check_policy_service > unix:private/policy > smtpd_helo_restrictions = reject_unknown_sender_domain > smtpd_recipient_restrictions = permit_mynetworks check_relay_domains > reject_unauth_destination permit_inet_interfaces > permit_sasl_authenticated permit_mx_backup > smtpd_sasl_auth_enable = yes > unknown_local_recipient_reject_code = 550 > virtual_alias_domains = fakessh.eu virtual_alias_maps = > hash:/etc/postfix/virtual > [r...@r13151 ~]# > Le lundi 05 janvier 2009 à 12:19 -0600, Noel Jones a écrit : > > swilting wrote: > > > how to have a sure postfix safe and stable > > > > > > > > > > > > Postfix itself is always safe and stable. The rest depends on > > how you configure it. Here's everything you need: > > http://www.postfix.org/documentation.html > > > > If you have a more specific question, you'll get a more > > specific answer. > > > > >