Hi guys.
I'm still looking for the right solution...
As I said before, I was thinking to put in a cronjob the command
postsuper -h ALL, but in that case I'll put in hold also the emails
that are in queue because maybe there was an error during the
delivery.
Suggestions?
Thanks
Michele
This is what I want:
This is a local mailserver, where all the emails generally are queued
and then relayed to differents smtp servers (depending of the sender).
As internal emails I'll have different emails from differents
domain... but I want to be able to say to postfix that one email is
not
Hi Victor.
Thanks for your reply.
My problem is that I want to put all the emails in HOLD, apart the local one.
As I said before, my installation is not exatly a standard one...
I recognize local emails with:
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
where a database
Hi to everyone.
I need to extract from the email in HOLD queue the subject.
So the emails are stored in /var/spool/postfix/hold
I can see that before the Subject there is a special character, that
is changing apparently random.
Then, after the subject, there is apparently always N%Date
Do some of
Hi Victor,
I agree that the cron job solution is not the best one... but at the
moment it is the only one that I'm able to offer...
(Even if with a cron job every 5 seconds(for example), I'll not lose
any emails...)
As Noel Jones said before: The documented way to tell postfix to
accept mail for
Hi,
since I moved from port 465 to port 587, it's look like working fine...
Thanks
Michele
Hi Noel,
thanks for your reply.
I know that unfortunately it's not a standard configuration of
Postfix, but it's the only one that solve all my problem...
Anyway I will not upgrade postfix for at least the next 2 years...
I'll try again to find a way to put emails in HOLD
Hi Wietse,
thanks for the reply.
I had a look at the link that you suggest me, but I didn't find the solution...
The problem is that in 'smtp_sasl_password_maps' I can setup an
authentication(username:password) for every smtp server.
But if I have more than one user with a gmail account, I need
Ok I found the solution:
smtp_sender_dependent_authentication = yes
Now I can match the sender and have the proper authentication...
Thanks a lot
Michele
Guys may somebody confirm that with my option I can offer both SMTP
authentication and encrypted connections (SSL)?
I'm creating a simple GUI to configure an email in this mailserver and
I guess that with that options I don't need to add in the GUI the part
for SMTP authentication and encrypted
Hi,
sorry if I write again, but I've found how to queue directly in HOLD.
Basically the option is:
smtpd_sender_restrictions = static:HOLD
But in this way all the emails will be queued, even the internal one...
There is a way to queue just the emails that will be relayed externally?
Googling a
I'm making a GUI to configure in an easy way my mailserver.
Anyway I had a look at both links and I've maked some changes:
I've added this line to configure the encrypted SMTP session(TLS)
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = noanonymous
#Enabling TLS in
Hi Wietse,
I had a look at the links that you've suggested me.
If I've understand correctly, I don't have to use the
'smtpd_sender_restrictions' option, because I have to match the
receiver and, if it's in transport_maps =
proxy:mysql:/etc/postfix/mysql-virtual_transports.cf, then means that
it's
Hi Wietse,
first of all thaks for your reply.
The problem is exatly what you said before: hold mail only from
non-local clients.
I tried as you said with smtpd_client_restrictions = permit_mynetworks
static:hold (actually was like that: smtpd_recipient_restrictions =
permit_mynetworks
Well, I'm making a kind of GUI because it must be implemented in
another product.
Anyway, coming back to my old question, I think I'm ok with SMTP authentication.
Now I've just to setup how to change the encryption (SSL or TLS) and
then I'm happy :p
Thanks Victor for your answer.
Well in this case with my configuration I don't need to specify in the
GUI which kind of encryption...
I've tried with this configuration with gmail, hotmail, yahoo and
another private server that doesn't need the encryption and it's
always working with the same
Hi to everybody.
I'm not able to smtp relay emails to yahoo (smtp.mail.yahoo.it).
I'm relaying emails to gmail and hotmail without problems... but with
yahoo I've this error:
relay=smtp.mail.yahoo.it[217.12.11.88]:465, delay=40,
delays=19/0.28/20/0, dsn=4.4.2, status=deferred (lost connection
Hi to everybody.
I've setup postfix to queue all the outgoing emails.
Basically I've add in master.cf this line:
hold unix - - n - - smtp
And in main.cf I've wrote:
defer_transports = hold
default_transport = hold
The problem is that the queued emails will be
Hi to everybody.
Thanks for the suggestions.
It's look like I've found what I was looking for...
Basically I've canceled the 'virtual_mailbox_domains', so that there
are no local domains.
All the internal emails are in 'transport_maps =
proxy:mysql:/etc/postfix/mysql-virtual_transports.cf',
Hi Noel,
I'll explain better my problem:
I've this mailserver under a slow dial-up connection.
To fetch email from the main mailserver I use some Perl scripts, and
they are working fine.
I use postfix to queue the emails that needs to be send and then with
the command postqueue -i I'll send the
Hi Noel,
Thanks for the corrections... anyway this solution doen't solve the
problem that I have.
Infact I fetch the email for all my accounts (included gmail and
hotmail accounts) with some Perl POP3 scripts.
I want to use Postfix just to send email(relay it) from a hold queue.
Let me explain
Hello to everybody,
I'm configuring a postfix server connected on internet with a slow
dial-up connection.
Basically I want to hold all emails to be sent (I'll send them
manually when I want), plus I want to relay all the emails to
different smtp servers (depends of the email).
The configuration
/2010 5:41 AM, Michele Carandente wrote:
Hello to everybody,
I'm configuring a postfix server connected on internet with a slow
dial-up connection.
Basically I want to hold all emails to be sent (I'll send them
manually when I want), plus I want to relay all the emails to
different smtp servers
Hi,
I am trying to setup a new postfix server in a location where there is
limited internet connectivity. I want local users to send emails to my
Postfix server which then relays the emails later on when there is a
internet connection (the plan is to put the emails in the hold queue
and then
24 matches
Mail list logo