Carlos E. R. wrote:
Hi,
I though I had this solved, but it is not so.
I had defined:
relayhost = [smtp.telefonica.net]
but my stupid ISP rejects some from domains I need to send from, like @users.sourceforge.net to @lists.sourceforge.net.
This is the verbose log excerpted:
Jan 25 14:47:04 nimrodel postfix/smtp[31626]: < smtp.telefonica.net[213.4.149.228]: 220 ctsmtpout3.frontal.correo ESMTP Service (7.2.056.6) ready Jan 25 14:47:04 nimrodel postfix/smtp[31626]: > smtp.telefonica.net[213.4.149.228]: EHLO nimrodel.valinor ... Jan 25 14:47:04 nimrodel postfix/smtp[31626]: > smtp.telefonica.net[213.4.149.228]: AUTH LOGIN ... Jan 25 14:47:04 nimrodel postfix/smtp[31626]: < smtp.telefonica.net[213.4.149.228]: 235 LOGIN authentication successful
I am thus authenticated, no?
Yes.
Jan 25 14:47:04 nimrodel postfix/smtp[31626]: > smtp.telefonica.net[213.4.149.228]: MAIL FROM:<***@users.sourceforge.net> SIZE=4437 BODY=8BITMIME AUTH=<> Jan 25 14:47:04 nimrodel postfix/smtp[31626]: > smtp.telefonica.net[213.4.149.228]: RCPT TO:<***@lists.sourceforge.net> ORCPT=rfc822;****@lists.sourceforge.net Jan 25 14:47:04 nimrodel postfix/smtp[31626]: > smtp.telefonica.net[213.4.149.228]: DATA Jan 25 14:47:04 nimrodel postfix/smtp[31626]: < smtp.telefonica.net[213.4.149.228]: 553 MAIL FROM:<****@users.sourceforge.net> domain not accepted
Either they (telefonica) require that you use their domain as sender domain or they fubared their dns servers and used something like reject_unknown_sender_domain with broken dns. Only the postmaster of smtp.telefonica.net can tell you.
So I want to attempt sending again from my local postfix (yes, on dynamic IP). I remove the "relayhost = [smtp.telefonica.net]" line, and edit the transport file:
localhost smtp: valinor smtp: nimrodel.valinor smtp:
Don't you want to send mails for these recipients to your own host? In that case you should tell your box to use "local:" as transport. Though I wonder why that should be necessary. Postfix uses the default transport for the domain class if the domain is member of mydestination, relay_domains or virtual_mailbox_domains: mydestination local_transport relay_domains relay_transport virtual_mailbox_domains virtual_transport postconf -d local_transport relay_transport virtual_transport local_transport = local:$myhostname relay_transport = relay virtual_transport = virtual Setting the transport to smtp: practically tells Postfix to use the relay_host. (^-^)
I think I also need to define my transport based on the "FROM" address, not the destination, but I don't know or rather forgot if this is possible. Guess I'll have to RTFM. O:-)
Yes, this is possible with "sender_dependent_relayhost = yes", but please define first, what sender address should use what host as nexthop. -- Sandy List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org