[OT] Re: MTA and fcc-hook
On Wed 09.Jan.08 19:46, Michelle Konzack wrote: Am 2008-01-08 19:46:58, schrieb Rado S: =- Lucas GR wrote on Tue 8.Jan'08 at 18:57:11 +0100 -= I was wondering if it could be possible to use differents smtp servers depending of the destinatary of the email. exim, postfix or courier, even ssmtp or msmtp can not change the SMTP-Relay on the fly. This is a config option from the MTA. (Just for the sake of correctness.) Of those, at least postfix can do it. See transport(5) for more information. Perhaps this configuration is only possible in my MTA. Right Well, no, but Rado and Kyle have already provided some answers. -- redondos signature.asc Description: Digital signature
Re: MTA and fcc-hook
Yes, it did work very well :) With the help of this hint i could discover the reason of why it ignored the record set in the folder-hook. It was because of this line at fcc-hooks: fcc-hook .* =mailboxes/mydir Once the line is commented and all folder-hooks are set up everything works perfectly! Thank You All for your help Lucas J González
Re: MTA and fcc-hook
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday, January 11 at 04:25 AM, quoth Lucas GR: > I would like to auto save a copy of the sent email in the same > mailbox where it is sent from. This should do it: fcc-hook . ^ ~Kyle - -- Testing can show the presence of errors, but not their absence. -- E. W. Dijkstra -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iD8DBQFHh53vBkIOoMqOI14RAhn3AJ9ylSbgu6/i9Qfsm/yvNS7OwRVE2QCdGATD Jie/aGsynjTmb8gxnaq64qU= =6REO -END PGP SIGNATURE-
Re: MTA and fcc-hook
El 0, Michelle Konzack <[EMAIL PROTECTED]> escribió: > How do you want archive this from mutt? > exim, postfix or courier, even ssmtp or msmtp can not change the > SMTP-Relay on the fly. This is a config option from the MTA. I was thinking of a macro wich reconfigured and restarted exim or whatever MTA. But I didn't try. Though it would be actually a mutt action, just a trigger. Or having differente "profiles" or MTA versions and using a folder-hook with every mailbox/MTA. I am now getting familiar with mutt but i didn't see this options implemented. That's why i asked about it. Thank you for clarifying this points. :)
Re: MTA and fcc-hook
Am 2008-01-08 19:46:58, schrieb Rado S: > =- Lucas GR wrote on Tue 8.Jan'08 at 18:57:11 +0100 -= > > > I was wondering if it could be possible to use differents smtp > > servers depending of the destinatary of the email. > > Yes, see "send-hook" cmd and "sendmail" var. How do you want archive this from mutt? exim, postfix or courier, even ssmtp or msmtp can not change the SMTP-Relay on the fly. This is a config option from the MTA. > > Perhaps this configuration is only possible in my MTA. Right > See faq for this. Where? Thanks, Greetings and nice Day Michelle Konzack Systemadministrator Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ # Debian GNU/Linux Consultant # Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSN LinuxMichi 0033/6/6192519367100 Strasbourg/France IRC #Debian (irc.icq.com) signature.pgp Description: Digital signature
Re: MTA and fcc-hook
Hi again, Thank you for your help. Now emails are sent from where i want to, I would like to auto save a copy of the sent email in the same mailbox where it is sent from. In muttrc I have: set record=+mailboxes/mydir In folder-hooks I have: folder-hook =mailboxes/mydir2 set [EMAIL PROTECTED] realname=myname record=+mailboxes/mydir2 But, and this is what I can't understand, when I send an email from =mailboxes/mydir2, its copy is still saved under =mailboxes/mydir. What I define in fcc-hooks works fine, but i can't get it done with all the messages sent from this mailbox. What am I misunderstanding?
Re: MTA and fcc-hook
=- Lucas GR wrote on Tue 8.Jan'08 at 18:57:11 +0100 -= > I was wondering if it could be possible to use differents smtp > servers depending of the destinatary of the email. Yes, see "send-hook" cmd and "sendmail" var. > Perhaps this configuration is only possible in my MTA. See faq for this. -- © Rado S. -- You must provide YOUR effort for your goal! EVERY effort counts: at least to show your attitude. You're responsible for ALL you do: you get what you give.
MTA and fcc-hook
Hi, I was wondering if it could be possible to use differents smtp servers depending of the destinatary of the email. For example, using dinamic IP services as it is my case servers like gmail won't accept email coming from my domain, so I have to use their own smtp server. But, is it possible to send email directly from my host to specific email addresses? Perhaps this configuration is only possible in my MTA. Regards, Lucas