I use a modem dial up connection; that means that my IP is not fixed, the connection is not permanent, and that I don't have a domain name. I have two ISP, and several mail accounts. Normal, so far? :-) Ok. I have SuSE 8.2. I use postfix (previously I used sendmail) for sending my email, direct, ie, without using the ISPs relays. It is simpler, because each ISP doesn't look well upon me trying to use one server to send email from the other accounts. It works fine... except when it doesn't. The problem is that some destinations do not accept smtp connections coming from ranges blocked because of RBL, residential ranges, or such things. RBL blocking on ranges is so unfair as when a kid does something bad in school and the teacher punishes the whole class. And there is nothing I can do: the IPs are not mine to complain about it. (teleline, by other name terra, by other name _the_ telephone company, is the biggest ISP here. They don't answer client queries or complains by email: it has to be by pay phone, a 906 that may cost around 1$ a minute. If some one complains about spam (to abuse@whatever or similar email), there is a high probability that it would be ignored (I tried once). That explains why they could be included in the RBL). So... the solution should be use my provider relay (three at least), assuming that it hasn't been blacklisted as well. But how? Let me explain the problem: - It is a different relay for each account, ie, one for each "from" address. The transport has to be selected on the "from" address, not the destination. Thus, the file "/etc/postfix/transport" can not be used. - The relay servers requires authentication. How and where do I define passwords for each relay server? - Some servers might require pop before smtp... how on earth do I do that with postfix, for sending? I hope I don't forget anything O:-) -- Cheers, Carlos Robinson
Carlos E. R. wrote:
I use a modem dial up connection; that means that my IP is not fixed, the connection is not permanent, and that I don't have a domain name. I have two ISP, and several mail accounts.
Normal, so far? :-)
Ok. I have SuSE 8.2. I use postfix (previously I used sendmail) for sending my email, direct, ie, without using the ISPs relays. It is simpler, because each ISP doesn't look well upon me trying to use one server to send email from the other accounts.
[snipped]
So... the solution should be use my provider relay (three at least), assuming that it hasn't been blacklisted as well. But how? Let me explain the problem:
- It is a different relay for each account, ie, one for each "from" address. The transport has to be selected on the "from" address, not the destination. Thus, the file "/etc/postfix/transport" can not be used.
- The relay servers requires authentication. How and where do I define passwords for each relay server?
- Some servers might require pop before smtp... how on earth do I do that with postfix, for sending?
I hope I don't forget anything O:-)
Nope, but the short answer is that you can't (AFAIK) use Postfix in this way, or at least, I never managed to. I use Mozilla and have 4 separate sending identities and then choose them at message compose time. Mozilla also allows authentication. I use fetchmail/procmail to fetch the emails. HTH -- GPG fingerprint = 3D45 5509 D380 26A4 523E A9D8 A66A 5F38 CA43 BB0E
The 03.09.17 at 14:35, jalal wrote:
I hope I don't forget anything O:-)
Nope, but the short answer is that you can't (AFAIK) use Postfix in this way, or at least, I never managed to.
I thought so.
I use Mozilla and have 4 separate sending identities and then choose them at message compose time. Mozilla also allows authentication.
Ah, yes. I did try that. It forces me to use mozilla, instead of the system mail.
I use fetchmail/procmail to fetch the emails.
I can't make mozilla see new mails fetched by fetchmail: I have to exit mozilla and reenter. -- Cheers, Carlos Robinson
On 09/21/2003 07:49 AM, Carlos E. R. wrote:
The 03.09.17 at 14:35, jalal wrote:
I use fetchmail/procmail to fetch the emails.
I can't make mozilla see new mails fetched by fetchmail: I have to exit mozilla and reenter.
I just run a pop3 server, and set netscape to check locally only automatically, every 15 minutes or so. Works a treat. ;-) -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.
The 03.09.21 at 11:15, Joe Morris (NTM) wrote:
I can't make mozilla see new mails fetched by fetchmail: I have to exit mozilla and reenter.
I just run a pop3 server, and set netscape to check locally only automatically, every 15 minutes or so. Works a treat. ;-)
Of course, that would work. But I have my setup so that I can use at least four mail clients on the same mail folders: Pine, balsa, kmail and mozilla/netscape (as documented on the unofficial suse faq). I can not allow mozilla to fetch mail himself, I do it with fetchmail-postfix-amavis-procmail-spamassassin. -- Cheers, Carlos Robinson
* Carlos E. R.
The 03.09.21 at 11:15, Joe Morris (NTM) wrote:
I can't make mozilla see new mails fetched by fetchmail: I have to exit mozilla and reenter.
I just run a pop3 server, and set netscape to check locally only automatically, every 15 minutes or so. Works a treat. ;-)
Of course, that would work. But I have my setup so that I can use at least four mail clients on the same mail folders: Pine, balsa, kmail and mozilla/netscape (as documented on the unofficial suse faq). I can not allow mozilla to fetch mail himself, I do it with fetchmail-postfix-amavis-procmail-spamassassin.
Sure you can. Set delivery to a local spool file and have netscrape get it's mail from the spoolfile. Have all your mail clients get mail from the spool file. As long as all your clients are accessing the same mail-directory-scheem, it shouldn't make any difference which one retrieves the mail as long as they all retrieve from the same spool file and deliver to the same mail-directory-scheem ..... -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org
The 03.09.21 at 10:57, Patrick Shanahan wrote:
Of course, that would work. But I have my setup so that I can use at least four mail clients on the same mail folders: Pine, balsa, kmail and mozilla/netscape (as documented on the unofficial suse faq). I can not allow mozilla to fetch mail himself, I do it with fetchmail-postfix-amavis-procmail-spamassassin.
Sure you can. Set delivery to a local spool file and have netscrape get it's mail from the spoolfile. Have all your mail clients get mail from the spool file. As long as all your clients are accessing the same mail-directory-scheem, it shouldn't make any difference which one retrieves the mail as long as they all retrieve from the same spool file and deliver to the same mail-directory-scheem .....
I'm getting a bit lost :-) Ok, I'll explain what I'm using first: I use fetchmail to retrieve all the email from my several accounts. Fetchmail passes it to postfix, and postfix passes it to procmail (in the middle it filters them for viruses, just for fun). I have several rules set up in procmail (the first one is the spamassassin first), so that emails are distributed in several folders, according to accounts, or lists, for example. This works perfect for Pine, which is my main mail client and the one I use as basis for the configuration. Then I configure some other programs to use the same folders, some very easily (balsa) some a bit more complicated (mozilla). Some programs, like pine, notice that new mails have entered the folder I'm reading. But mozilla doesn't, because it uses its index file instead. It is no use to switch reading to another folder and back, it doesn't detect that the folder has been modified by procmail. I have to exit mozilla and start it again so that is scans all folders at startup. Of course, I could have mozilla get its mail directly from the ISP - but that would defeat my nice and worked config with fetchmail, procmail, etc. Or I could make it get from a local folder, using imap for example - the problem would be the same. -- Cheers, Carlos Robinson
On Monday 22 September 2003 19:08 pm, Carlos E. R. wrote:
The 03.09.21 at 10:57, Patrick Shanahan wrote:
Of course, that would work. But I have my setup so that I can use at least four mail clients on the same mail folders: Pine, balsa, kmail and mozilla/netscape (as documented on the unofficial suse faq). I can not allow mozilla to fetch mail himself, I do it with fetchmail-postfix-amavis-procmail-spamassassin.
Sure you can. Set delivery to a local spool file and have netscrape get it's mail from the spoolfile. Have all your mail clients get mail from the spool file. As long as all your clients are accessing the same mail-directory-scheem, it shouldn't make any difference which one retrieves the mail as long as they all retrieve from the same spool file and deliver to the same mail-directory-scheem .....
I'm getting a bit lost :-)
Ok, I'll explain what I'm using first:
I use fetchmail to retrieve all the email from my several accounts. Fetchmail passes it to postfix, and postfix passes it to procmail (in the middle it filters them for viruses, just for fun). I have several rules set up in procmail (the first one is the spamassassin first), so that emails are distributed in several folders, according to accounts, or lists, for example.
This works perfect for Pine, which is my main mail client and the one I use as basis for the configuration. Then I configure some other programs to use the same folders, some very easily (balsa) some a bit more complicated (mozilla).
Some programs, like pine, notice that new mails have entered the folder I'm reading. But mozilla doesn't, because it uses its index file instead. It is no use to switch reading to another folder and back, it doesn't detect that the folder has been modified by procmail. I have to exit mozilla and start it again so that is scans all folders at startup.
Of course, I could have mozilla get its mail directly from the ISP - but that would defeat my nice and worked config with fetchmail, procmail, etc. Or I could make it get from a local folder, using imap for example - the problem would be the same.
So put your email into /var/spool/mail folders and then use Netscape to POP3 the mail out of that folder. I do that with Kmail (instead of netscape) and it works just fine. I also use fetchmail (two copies of it for 5 ISP accounts) but I pass the email directly to procmail instead of postfix. Saves some overhead. Procmail splits out the mail into several folders in /var/spool/mail and then Kmail gets it from there. -- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 09/23/03 08:09 + +----------------------------------------------------------------------------+ "People will laugh at you, but let not that prevent you."
The 03.09.23 at 08:12, Bruce Marshall wrote:
So put your email into /var/spool/mail folders and then use Netscape to POP3 the mail out of that folder. I do that with Kmail (instead of netscape) and it works just fine.
Notice that I'm using several programs to see the same mails: Pine for list mail, mozilla for html mails, etc. If I configure Netscape that way, then kmail will not see them, etc. Also, each program would maintain its own separate set of folders, wasting space. No, I want to keep using fetchmail, procmail, etc, just as they are, because they work perfect. I only would like to tell mozilla to simply reread and reindex his folders, that's all. If the only way to do that is restarting mozilla/Netscape, that's far better and simpler than reconfiguring everything else...
I also use fetchmail (two copies of it for 5 ISP accounts) but I pass the email directly to procmail instead of postfix. Saves some overhead.
True. But I have postfix configured to reject certain headers and attaches, before they are fully downloaded, and I can't do that with procmail.
Procmail splits out the mail into several folders in /var/spool/mail and then Kmail gets it from there.
I have it distribute into folders directly in /home/cer/Mail/*, into the different folders. Every mail client read them from there. -- Cheers, Carlos Robinson
On Tuesday 23 September 2003 19:34 pm, Carlos E. R. wrote:
The 03.09.23 at 08:12, Bruce Marshall wrote:
So put your email into /var/spool/mail folders and then use Netscape to POP3 the mail out of that folder. I do that with Kmail (instead of netscape) and it works just fine.
Notice that I'm using several programs to see the same mails: Pine for list mail, mozilla for html mails, etc. If I configure Netscape that way, then kmail will not see them, etc. Also, each program would maintain its own separate set of folders, wasting space.
No, I want to keep using fetchmail, procmail, etc, just as they are, because they work perfect. I only would like to tell mozilla to simply reread and reindex his folders, that's all.
So you to be able to read *any* mail that comes to you with 3 different programs? Then I guess you'll just have to suffer the consequences. -- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 09/24/03 10:11 + +----------------------------------------------------------------------------+ 'There is sex after death--you just can''t feel it.' -- Lily Tomlin
* Bruce Marshall
So you to be able to read *any* mail that comes to you with 3 different programs? Then I guess you'll just have to suffer the consequences.
I believe it's four, Of course, that would work. But I have my setup so that I can use at least four mail clients on the same mail folders: Pine, balsa, kmail and mozilla/netscape (as documented on the unofficial suse faq). I can not allow mozilla to fetch mail himself, I do it with fetchmail-postfix-amavis-procmail-spamassassin. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org
The 03.09.24 at 10:12, Bruce Marshall wrote:
So you to be able to read *any* mail that comes to you with 3 different programs? Then I guess you'll just have to suffer the consequences.
I'm doing it, and it is no big problem, it works. I use the mail program that is better suited for each kind of mail. For example, pine is very fast, so I use it mostly, specially for lists. Some people send me html mail, photos, pdfs, and such, so I use netscape or mozilla to see those. I only have one little problem, and it is that mozilla doesn't notice new mail till I restart it, and it doesn't have a menu option to reread the tree. -- Cheers, Carlos Robinson
The 03.09.21 at 11:15, Joe Morris (NTM) wrote:
I just run a pop3 server, and set netscape to check locally only automatically, every 15 minutes or so. Works a treat. ;-)
I forgot to mention that an IMAP server could be better :-) -- Cheers, Carlos Robinson
Carlos E. R. wrote:
- It is a different relay for each account, ie, one for each "from" address. The transport has to be selected on the "from" address, not the destination. Thus, the file "/etc/postfix/transport" can not be used.
With Suse-Postfix not, in the snapspot, there is a way.
- The relay servers requires authentication. How and where do I define passwords for each relay server?
Passwords for different servers are inside "smtp_sasl_password_maps = file".
- Some servers might require pop before smtp... how on earth do I do that with postfix, for sending?
Maybe with a script: Set this to your default Postfix-Config: postconf -e "defer_transports = smtp" ---- Start script: # Fetch all mail from Server (POP) fetchmail server.tld # Set defer transports to none. postconf -e "defer_transports =" # Flush the queue (SMTP) postqueue -f # Set it back. postconf -e "defer_transports = smtp" ---- End script This in a cron-job. -- Andreas
The 03.09.17 at 19:36, Andreas Winkelmann wrote:
- It is a different relay for each account, ie, one for each "from" address. The transport has to be selected on the "from" address, not the destination. Thus, the file "/etc/postfix/transport" can not be used.
With Suse-Postfix not, in the snapspot, there is a way.
Ah! Well, it is something.
- The relay servers requires authentication. How and where do I define passwords for each relay server?
Passwords for different servers are inside "smtp_sasl_password_maps = file".
Ah, yes; I was reading docs after writing this, and I thought I had seen something. I'll reread.
- Some servers might require pop before smtp... how on earth do I do that with postfix, for sending?
Maybe with a script:
Mmm, a bit complicated... I'll think about it. Could work. Thanks! -- Cheers, Carlos Robinson
participants (6)
-
Andreas Winkelmann
-
Bruce Marshall
-
Carlos E. R.
-
jalal
-
Joe Morris (NTM)
-
Patrick Shanahan