Re: [opensuse] postfix relay host problem.

2008-01-27 Thread Carlos E. R.

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



The Sunday 2008-01-27 at 09:26 -0500, James Knott wrote:


Carlos E. R. wrote:


The Sunday 2008-01-27 at 10:46 +0100, Theo v. Werkhoven wrote:


but my stupid ISP rejects some from domains I need to send from, like
@users.sourceforge.net to @lists.sourceforge.net.



Why do you (ab)use the Envelope From header to set the from address?
Use the body From: in its stead, then your ISP won't complain.
Set the envelope 'Mail From:' to whatever your ISP wants.


I don't change the envelope from in any way, none of my mail programs
allow me to change it. Therefore, I assume both the envelope from and
"normal" from are the same.


Are you saying your email apps don't support a reply to address?


No, not at all. I say that I can't manually set the "envelope from" 
address. The only MUA that allows this is mutt.


- -- 
Cheers,

   Carlos E. R.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHnJq4tTMYHG2NR9URAn88AKCCv4L7KcGZqM5vKhIRamgZAH6zqwCeMxZ/
e2C0HvDKYpi9aUsg8XWtMUU=
=u3Wq
-END PGP SIGNATURE-
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] postfix relay host problem.

2008-01-27 Thread James Knott
Carlos E. R. wrote:
>
>
> The Sunday 2008-01-27 at 10:46 +0100, Theo v. Werkhoven wrote:
>
> >> but my stupid ISP rejects some from domains I need to send from, like
> >> @users.sourceforge.net to @lists.sourceforge.net.
>
> > Why do you (ab)use the Envelope From header to set the from address?
> > Use the body From: in its stead, then your ISP won't complain.
> > Set the envelope 'Mail From:' to whatever your ISP wants.
>
> I don't change the envelope from in any way, none of my mail programs
> allow me to change it. Therefore, I assume both the envelope from and
> "normal" from are the same.

Are you saying your email apps don't support a reply to address?

-- 
Use OpenOffice.org 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] postfix relay host problem.

2008-01-27 Thread Carlos E. R.

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



The Sunday 2008-01-27 at 10:46 +0100, Theo v. Werkhoven wrote:


but my stupid ISP rejects some from domains I need to send from, like
@users.sourceforge.net to @lists.sourceforge.net.


Why do you (ab)use the Envelope From header to set the from address?
Use the body From: in its stead, then your ISP won't complain.
Set the envelope 'Mail From:' to whatever your ISP wants.


I don't change the envelope from in any way, none of my mail programs 
allow me to change it. Therefore, I assume both the envelope from and 
"normal" from are the same.


- -- 
Cheers,

   Carlos E. R.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHnHvbtTMYHG2NR9URAkEZAJ0W+DJM2rG27JAd6VhPr58OjnYNLQCdF5mS
mGGx8rekgi17vyKjl0H+DEo=
=OFOT
-END PGP SIGNATURE-
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] postfix relay host problem.

2008-01-27 Thread Theo v. Werkhoven
Fri, 25 Jan 2008, by [EMAIL PROTECTED]:

> 
> 
> 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.

Why do you (ab)use the Envelope From header to set the from address?
Use the body From: in its stead, then your ISP won't complain.
Set the envelope 'Mail From:' to whatever your ISP wants.

Theo
-- 
Theo v. WerkhovenRegistered Linux user# 99872 http://counter.li.org
ICBM 52 13 26N , 4 29 47E. +  ICQ: 277217131
SUSE 10.3  +   Jabber: [EMAIL PROTECTED]
Kernel 2.6.22  +   See headers for PGP/GPG info.
Claimer: any email I receive will become my property. Disclaimers do not apply.
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] postfix relay host problem.

2008-01-25 Thread Carlos E. R.

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



The Friday 2008-01-25 at 23:38 +0100, Sandy Drobic wrote:


Carlos E. R. wrote:


 Now, what I want to get working is this:

 sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay


Er.. hello?!? I just gave you a complete, tested and working example in my 
previous post. Granted, my file wasn't named sender_relay (this is an 
ARBITRARY name you can decide yourself!). My example used the file name 
"sender_relayhost".


Sorry O:-)

That was in another mail I saw later.



Once again:

/etc/postfix/main.cf:
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relayhost
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smtp_relayhost_auth
smtp_sasl_security_options = noanonymous
smtp_sender_dependent_authentication = yes


yep, yep.



/etc/postfix/sender_relayhost
[EMAIL PROTECTED][mail.gmx.de]
[EMAIL PROTECTED][mail.gmx.de]

/etc/postfix/smtp_relayhost_auth:
[EMAIL PROTECTED][EMAIL PROTECTED]:password1
[EMAIL PROTECTED][EMAIL PROTECTED]:password2


Aye, aye, sir!  :-)

I got it working a minute ago.



 But there is no sample sender_relay file, so I'm stuck. I'm googling it,
 and so far what I have found are questions but no answers. I only found
 this:


See above (^-^)

Documented is the parameter "sender_dependent_relayhost_maps".


Yep, the parameter is documented, what is not is a sample file, as they 
have for transport, virtual, etc.




Grin! You need sleep. (^-°)


Sure!

- -- 
Cheers,

   Carlos E. R.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHmmpZtTMYHG2NR9URAiIAAJ9Kj2SriS7+l5/buR+Z/xWVK4lOUACfeEZs
QM7Pj63nOOveJjhfTYdQcE8=
=hZfa
-END PGP SIGNATURE-

Re: [opensuse] postfix relay host problem.

2008-01-25 Thread Carlos E. R.

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Content-ID: <[EMAIL PROTECTED]>


The Friday 2008-01-25 at 22:44 +0100, Sandy Drobic wrote:


 That part I solved in the transport file with this syntax:

 lists.sourceforge.net   :
 users.sourceforge.net   :

 localhost   :
 valinor :
 nimrodel.valinor:
 .localhost  :
 .valinor:
 .nimrodel.valinor   :

 #Default:
 *smtp:[smtp.telefonica.net]


I liked your previous configuration with relayhost better. This is exactly 
the same, only the configuration needs much more lines. (^-^)


Except that exceptions did not work, or I did it wrong. I didn't find a 
way to handle the "users.sourceforge.net" line.




>  I think you need to look up the sender_dependent_relayhost_maps
>  parameter in postfix.


Simple: domain or user as key and relayhost as result. That's why it is 
called

 "...relayhost_maps" (^-°)


I guess! But sometimes I very thick headed O:-)


A sender-dependent override for the global relayhost parameter setting. The 
tables are searched by the envelope sender address and @domain. My example 
uses the extreme (two senders that use the same relayhost but different 
authentication.


Yes, I also need that.



 But there is no sample "sender_relay" file to guide me :-/

 I have just googled that parameter and found many people asking for a
 solution for the very same problem I have: sending to diferent smtp relay
 hosts depending on the "from" address, and using the correct auth id each
 time for each server, based as well on the from address.


Strange... Anyway, here's a sample I used to verify that it works:

/etc/postfix/main.cf:
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relayhost
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smtp_relayhost_auth
smtp_sasl_security_options = noanonymous
smtp_sender_dependent_authentication = yes


Ok, except for the "sender_dependent_relayhost_maps" I had the same thing. 
And "smtp_sasl_security_options" was empty.




/etc/postfix/sender_relayhost
[EMAIL PROTECTED]   [mail.gmx.de]
[EMAIL PROTECTED]   [mail.gmx.de]


I'll try right now.


/etc/postfix/smtp_relayhost_auth:
[EMAIL PROTECTED]   [EMAIL PROTECTED]:password1
[EMAIL PROTECTED]   [EMAIL PROTECTED]:password2



[...]


It works! Thanks :-)


I think we talked about this time ago, but I most have lost my notes, or 
didn't save them properly. Sounds familiar.



I configured my postfix with no default relay, so if I don't specify one 
my postfix will try to send itself. If the sender matches, then it will 
use the addecuate relay. And, if I understand correctly, if I define a 
particular transport rule, it will override the sender_relay rule.


Next thing is to check what will happen with bounces. Or wait.


- -- 
Cheers,

   Carlos E. R.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHmmiUtTMYHG2NR9URAkOXAJ9ZATpCbc8fVwmtY6hKxJu0hnGyVgCeOE+D
Brp+l2Ja7ZOW74LCP0lItyI=
=h5s3
-END PGP SIGNATURE-

Re: [opensuse] postfix relay host problem.

2008-01-25 Thread Sandy Drobic

Carlos E. R. wrote:


Now, what I want to get working is this:

sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay


Er.. hello?!? I just gave you a complete, tested and working example in my 
previous post. Granted, my file wasn't named sender_relay (this is an 
ARBITRARY name you can decide yourself!). My example used the file name 
"sender_relayhost".


Once again:

/etc/postfix/main.cf:
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relayhost
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smtp_relayhost_auth
smtp_sasl_security_options = noanonymous
smtp_sender_dependent_authentication = yes

/etc/postfix/sender_relayhost
[EMAIL PROTECTED][mail.gmx.de]
[EMAIL PROTECTED][mail.gmx.de]

/etc/postfix/smtp_relayhost_auth:
[EMAIL PROTECTED][EMAIL PROTECTED]:password1
[EMAIL PROTECTED][EMAIL PROTECTED]:password2



But there is no sample sender_relay file, so I'm stuck. I'm googling it, 
and so far what I have found are questions but no answers. I only found 
this:


See above (^-^)

Documented is the parameter "sender_dependent_relayhost_maps".

Grin! You need sleep. (^-°)
--
Sandy

List replies only please!
Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] postfix relay host problem.

2008-01-25 Thread Carlos E. R.

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



The Friday 2008-01-25 at 21:17 +0100, Sandy Drobic wrote:

...

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.


It seems the former. I was told that they had dropped this policy, and for 
some time I was able to relay some mail, but either it didn't last, or it 
is random. As to asking the postmaster, that's impossible: you have to 
phone customer service which is attended by very nice voices that know 
nothing aside from the very usual.






 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.valinorsmtp:


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



I got that part running this way:

lists.sourceforge.net   :
users.sourceforge.net   :

localhost   :
valinor :
nimrodel.valinor:
.localhost  :
.valinor:
.nimrodel.valinor   :

#Default:
*smtp:[smtp.telefonica.net]



Now, what I want to get working is this:

sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay


But there is no sample sender_relay file, so I'm stuck. I'm googling it, 
and so far what I have found are questions but no answers. I only found 
this:


sender_relay:
@example.com[thisrelay.example.com]
@example.net[thatrelay.example.com]

Some people have complained that with this setup they have another 
problem: when an email is rejected, the bounced mail is attempted to be 
sent through the relay host (empty envelope from) and it is dutifully 
rejected by the relay, obviously. The bounced should use the local 
transport instead. So far I haven't deduced how to avoid that (and I have 
suffered that problem in my tests, too).


For instance, I found a thread in 
 
where finally they say:


] If I can do it, anybody can. Go back about two weeks in the archives. 
] Victor gave me some pretty good advice on how it was done.


and I'm trying to locate that message with no luck so far.

...


 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.


That's no problem. Each from address gets a different relay host, except 
two redirectors that have none and I have to attempt to send from my 
postfix directly.


The above solution in "transport" is a temporary workaround while I find 
some docu about "sender_relay"


- -- 
Cheers,

   Carlos E. R.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHmmAjtTMYHG2NR9URAqcOAJ42URJaV7kf8hLy6+IWgnHdMYRJwgCdFPjv
S08piMG0peOMobpN1lZPatE=
=gao6
-END PGP SIGNATURE-
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] postfix relay host problem.

2008-01-25 Thread Sandy Drobic

Carlos E. R. wrote:


That part I solved in the transport file with this syntax:

lists.sourceforge.net   :
users.sourceforge.net   :

localhost   :
valinor :
nimrodel.valinor:
.localhost  :
.valinor:
.nimrodel.valinor   :

#Default:
*smtp:[smtp.telefonica.net]


I liked your previous configuration with relayhost better. This is exactly the 
same, only the configuration needs much more lines. (^-^)



I think you need to look up the sender_dependent_relayhost_maps
parameter in postfix.


Simple: domain or user as key and relayhost as result. That's why it is called 
 "...relayhost_maps" (^-°)


A sender-dependent override for the global relayhost parameter setting. The 
tables are searched by the envelope sender address and @domain. My example 
uses the extreme (two senders that use the same relayhost but different 
authentication.



But there is no sample "sender_relay" file to guide me :-/

I have just googled that parameter and found many people asking for a 
solution for the very same problem I have: sending to diferent smtp 
relay hosts depending on the "from" address, and using the correct auth 
id each time for each server, based as well on the from address.


Strange... Anyway, here's a sample I used to verify that it works:

/etc/postfix/main.cf:
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relayhost
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smtp_relayhost_auth
smtp_sasl_security_options = noanonymous
smtp_sender_dependent_authentication = yes

/etc/postfix/sender_relayhost
[EMAIL PROTECTED]   [mail.gmx.de]
[EMAIL PROTECTED]   [mail.gmx.de]

/etc/postfix/smtp_relayhost_auth:
[EMAIL PROTECTED]   [EMAIL PROTECTED]:password1
[EMAIL PROTECTED]   [EMAIL PROTECTED]:password2



--
Sandy

List replies only please!
Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] postfix relay host problem.

2008-01-25 Thread Carlos E. R.

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



The Friday 2008-01-25 at 20:02 +0100, Per Jessen wrote:


Carlos E. R. wrote:


So... what is the proper configuration of the transport file, so that
all mails are sent through my ISP relay host, with some exceptions,
like local mail?




That part I solved in the transport file with this syntax:

lists.sourceforge.net   :
users.sourceforge.net   :

localhost   :
valinor :
nimrodel.valinor:
.localhost  :
.valinor:
.nimrodel.valinor   :

#Default:
*smtp:[smtp.telefonica.net]




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:-)


Hola Carlos,

I think you need to look up the sender_dependent_relayhost_maps
parameter in postfix.


Ah! Yes, that's it.

But this feature has almost no documentation. The only text I found is in 
"RELEASE_NOTES-2.3":


- - Sender-dependent smarthost lookup tables.  The maps are searched
  with the sender address and with the sender @domain.  The result
  overrides the global relayhost setting, but otherwise has identical
  behavior. See the postconf(5) manual page for more details.

  Example:
/etc/postfix/main.cf:
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay



And the postconf(5) manual page doesn't clarify much:

   sender_dependent_relayhost_maps (default: empty)

   A sender-dependent override for the global relayhost parameter
   setting. The tables are searched by the envelope sender address and
   @domain.

   This information is overruled with relay_transport,
   default_transport and with the transport(5) table.

   For safety reasons, this feature does not allow $number
   substitutions in regular expression maps.

   This feature is available in Postfix 2.3 and later.


But there is no sample "sender_relay" file to guide me :-/

I have just googled that parameter and found many people asking for a 
solution for the very same problem I have: sending to diferent smtp relay 
hosts depending on the "from" address, and using the correct auth id each 
time for each server, based as well on the from address.


I have a lot to read...


- -- 
Cheers,

   Carlos E. R.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHmkkjtTMYHG2NR9URAm3XAKCIaJeessJzAm2YtAWBCDRy1LgXIQCdFtEv
YbfTwSkJkuWeWiKqCTtrusk=
=zu0O
-END PGP SIGNATURE-
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] postfix relay host problem.

2008-01-25 Thread Sandy Drobic

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:<[EMAIL PROTECTED]> SIZE=4437 BODY=8BITMIME AUTH=<>
Jan 25 14:47:04 nimrodel postfix/smtp[31626]: > 
smtp.telefonica.net[213.4.149.228]: RCPT TO:<[EMAIL PROTECTED]> 
ORCPT=rfc822;[EMAIL PROTECTED]
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:<[EMAIL PROTECTED]> 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.valinorsmtp:


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] postfix relay host problem.

2008-01-25 Thread Per Jessen
Carlos E. R. wrote:

> So... what is the proper configuration of the transport file, so that
> all mails are sent through my ISP relay host, with some exceptions,
> like local mail?
 
> 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:-)

Hola Carlos,

I think you need to look up the sender_dependent_relayhost_maps
parameter in postfix.  



/Per Jessen, Zürich

-- 
http://www.spamchek.com/ - your spam is our business.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[opensuse] postfix relay host problem.

2008-01-25 Thread Carlos E. R.

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



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?

Jan 25 14:47:04 nimrodel postfix/smtp[31626]: > smtp.telefonica.net[213.4.149.228]: MAIL 
FROM:<[EMAIL PROTECTED]> SIZE=4437 BODY=8BITMIME AUTH=<>
Jan 25 14:47:04 nimrodel postfix/smtp[31626]: > smtp.telefonica.net[213.4.149.228]: 
RCPT TO:<[EMAIL PROTECTED]> ORCPT=rfc822;[EMAIL PROTECTED]
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:<[EMAIL PROTECTED]> domain not accepted
...
Jan 25 14:47:04 nimrodel postfix/smtp[31626]: send attr diag_text = 553 MAIL FROM:<[EMAIL PROTECTED]> domain not accepted 
...

Jan 25 14:47:04 nimrodel postfix/smtp[31626]: C6751B73BC: to=<[EMAIL PROTECTED]>, 
relay=smtp.telefonica.net[213.4.149.228]:25, delay=0.81, delays=0.08/0.07/0.58/0.08, 
dsn=5.0.0, status=bounced (host smtp.telefonica.net[213.4.149.228] said: 553 MAIL 
FROM:<[EMAIL PROTECTED]> domain not accepted (in reply to MAIL FROM command)


So I'm rejected, and I'm a client using an IP of them. I know this is not 
a problem on other countries, but... Spain is different. :-/



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.valinorsmtp:

*smtp:smtp.telefonica.net


Problem? Local mails are sent to smtp.telefonica.net too - including 
emails of the content filter :-/



I then try:


localhost   smtp:nimrodel.valinor
valinor smtp:nimrodel.valinor
nimrodel.valinorsmtp:nimrodel.valinor

*smtp:smtp.telefonica.net


but I can't send local mails:


Jan 25 15:10:04 nimrodel postfix/smtp[721]: 66E8DD2D91: 
to=<[EMAIL PROTECTED]>, relay=none, delay=0.11, delays=0.11/0/0/0, 
dsn=5.4.6, status=bounced (mail for nimrodel.valinor loops back to myself)




So... what is the proper configuration of the transport file, so that all 
mails are sent through my ISP relay host, with some exceptions,

like local mail?

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:-)


- -- 
Cheers,

   Carlos Robinson

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD4DBQFHmgmztTMYHG2NR9URAkUPAJYzTnb0+rj77VKS7BNHlPLonoK3AJwJlJ9J
kUnbhocH+L6FCiw7grhE4w==
=m+TC
-END PGP SIGNATURE-
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]